Patent EP-3937497-A1 (EP)
Inventor: PARK JOON YOUNG
IPC: H04N19/61
Filed: 2012-03-21
Abstract: A video decoding apparatus (200) comprises an entropy decoding module (210) and a prediction module (230). The entropy decoding module (210) is configured to obtain video information including a motion vector predictor index, a reference picture index and information on a motion vector difference of a current block. The prediction module (230) is configured to derive a first motion vector predictor candidate of the current block from a first neighboring block group based on a first check order, to derive a second motion vector predictor candidate of the current block from a second neighboring block group based on a second check order, to select a motion vector predictor of the current block among the first motion vector predictor candidate and the second motion vector predictor candidate based on the motion vector predictor index, to derive the motion vector difference of the current block based on the information on the motion vector difference, to derive a motion vector of the current block based on the motion vector predictor and the motion vector difference, and to generate a predicted block of the current block based on the motion vector of the current block and the reference picture index. The first neighboring block group includes a left neighboring block (A<sub>m</sub>) and a bottom left neighboring block (A<sub>m+1</sub>), and the second neighboring block group includes an upper right neighboring block (B<sub>n+1</sub>), an upper neighboring block (B<sub>n</sub>) and an upper left neighboring block (B<sub>-1</sub>). The first check order is determined in order of the bottom left neighboring block (A<sub>m+1</sub>), the left neighboring block (A<sub>m</sub>) . The first motion vector predictor candidate is derived based on a motion vector of the left neighboring block (A<sub>m</sub>) or the bottom left neighboring block (Am<sub>+1</sub>) which satisfies a first condition or a second condition. The second check order is determined in order of the upper right neighboring block (B<sub>n+1</sub>), the upper neighboring block (B<sub>n</sub>), and the upper left neighboring block (B<sub>-1</sub>). The second motion vector predictor candidate is derived based on a motion vector of the upper right neighboring block (B<sub>n+1</sub>), the upper neighboring block (B<sub>n</sub>), or the upper left neighboring block (B<sub>-1</sub>) which satisfies the first condition or the second condition. The first condition is whether a block has a reference picture identical to a reference picture of the current block and a reference picture list identical to a reference picture list of the current block. The second condition is whether a block has a reference picture identical to the reference picture of the current block and a reference picture list different from the reference picture list of the current block. For the left neighboring block (A<sub>m</sub>), the bottom left neighboring block (A<sub>m+1</sub>) , the upper right neighboring block (B<sub>n+1</sub>), the upper neighboring block (B<sub>n</sub>) and the upper left neighboring block (B<sub>-1</sub>), the first condition is checked prior to the second condition. When the bottom left neighboring block (A<sub>m+1</sub>) does not satisfy both the first condition and the second condition, it is checked whether the left neighboring block (A<sub>m</sub>) satisfies the first condition or the second condition before checking a third condition that a block has a reference picture different from the reference picture of the current block and a reference picture list identical to the reference picture list of the current block, or a fourth condition that a block has a reference picture different from the reference picture of the current block and a reference picture list different from the reference picture list of the current block for the bottom left neighboring block (A<sub>m+1</sub>).