Encoding apparatus and decoding apparatus
AssigneeFujitsu Limited
InventorsAkihiro Yamori, Satoshi Shimada, Akira Nakagawa
Life of this patent
Estimating the term…
Abstract
An encoding apparatus having a direct mode as a prediction mode, when a pixel with opposite parity from a top field to a bottom field, for example, 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 value of the obtained reference vector. The encoding apparatus, when a pixel with opposite parity is referred to for obtaining a first and a second direct vector by temporally scaling the corrected reference vector, performs correction by adding or subtracting a value corresponding to a half pixel to or from values of the obtained direct vectors.
Claims2
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
- mvL0_correct=mvL0+2×(isBottomFieldrefPicCol−isBottomFieldCurr), where mvL0 is the first direct vector, mvL0_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
- mvL1_correct=mvL1+2×(isBottomFieldCol−isBottomFieldCurr), where mvL1 is the second direct vector, and mvL1_correct is the corrected value of the second direct vector.
A decoding apparatus having a direct mode as a prediction mode, the decoding 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
- mvL0_correct=mvL0+2×(isBottomFieldrefPicCol−isBottomFieldCurr), where mvL0 is the first direct vector, mvL0_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
- mvL1_correct=mvL1+2×(isBottomFieldCol−isBottomFieldCurr), where mvL1 is the second direct vector, and mvL1_correct is the corrected value of the second direct vector.
Dependencies are inferred from the claim text.