CPC H04N 19/513 (2014.11) [H04N 19/139 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 1 Claim |
1. A non-transitory computer readable medium storing a bitstream, wherein
a prediction mode for a current block to be decoded is an affine mode,
the bitstream comprises an encoded signal and syntax information according to which a decoder performs:
deriving a base motion vector which is a motion vector to be used in a prediction process for the current block, and is a motion vector at a control point in the current block, the control point being an affine-mode control point;
deriving a first motion vector different from the base motion vector;
deriving a motion vector difference based on a difference between the base motion vector and the first motion vector;
determining whether the motion vector difference is greater than a threshold;
modifying a second motion vector when the motion vector difference is determined to be greater than the threshold, and not modifying the second motion vector when the motion vector difference is determined not to be greater than the threshold, the second motion vector being different from the base motion vector and the first motion vector; and
decoding the current block using the second motion vector modified or the second motion vector not modified, and
the threshold is different between a case where the prediction process is uni-directionally performed on the current block and a case where the prediction process is bi-directionally performed on the current block.
|