CPC H04N 19/52 (2014.11) [H04N 19/176 (2014.11); H04N 19/56 (2014.11)] | 3 Claims |
1. A motion vector derivation apparatus to derive a motion vector for each of multiple subblocks, the motion vector derivation apparatus comprising:
a matching prediction processing circuit that derives a first prediction block by using a first reference picture and a second prediction block by using a second reference picture, wherein
the matching prediction processing circuit:
derives a sum of an absolute difference between the first prediction block and the second prediction block, wherein the first prediction block and the second prediction block are modified by using a shift value derived by using a bit depth value, and
compares (i) the sum of the absolute difference to (ii) a threshold, which is derived based on a width of a subblock and a height of the subblock, wherein
if the sum of the absolute difference is smaller than the threshold, the matching prediction processing circuit terminates a process of deriving an initial motion vector,
otherwise, the matching prediction processing circuit derives the initial motion vector by using the sum of the absolute difference and derives the motion vector of the subblock by using the initial motion vector.
|