1. An encoding apparatus having a direct mode as a prediction mode, the encoding apparatus comprising: a reference vector correcting unit that, when a pixel with opposite parity is referred to for obtaining a reference vector in the direct mode, performs correction by adding or subtracting a value corresponding to a half pixel to or from a vertical component of a value of the obtained reference vector; and a direct vector correcting unit that, when a pixel with opposite parity is referred to for obtaining a first and a second direct vector by temporally scaling the reference vector corrected by the reference vector correcting unit, performs correction by adding or subtracting a value corresponding to a half pixel to or from the vertical component of the value of the obtained first direct vector, wherein the reference vector correcting unit performs correction on the reference vector by using mvCol_correct=mvCol+2×(isBottomFieldrefPicCol−isBottomFieldCol), where mvCol is the reference vector, mvCol_correct is the corrected value of the reference vector, isBottomFieldrefPicCol is parity of a reference picture in first direct vector direction, and isBottomFieldCol is parity of a reference picture in second direct vector direction, and the direct vector correcting unit performs correction on the first direct vector by using mvL 0 _correct=mvL 0 +2×(isBottomFieldrefPicCol−isBottomFieldCurr), where mvL 0 is the first direct vector, mvL 0 _correct is the corrected value of the first direct vector, and isBottomFieldCurr is parity of a current picture, and the direct vector correcting unit performs correction on the second direct vector by using mvL 1 _correct=mvL 1 +2×(isBottomFieldCol−isBottomFieldCurr), where mvL 1 is the second direct vector, and mvL 1 _correct is the corrected value of the second direct vector.