| CPC H04N 19/105 (2014.11) [H04N 19/13 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] | 14 Claims |

|
1. A method of encoding a motion information predictor index, comprising:
determining, from a plurality of modes, one of a first mode and a second mode as a mode for motion information prediction of a block to be encoded, wherein the first mode is a subblock Merge mode with subblock Affine prediction and the second mode is a Merge mode without subblock Affine prediction;
when the first mode is used, generating a first list of first mode motion information predictor candidates including, when available, one or more spatial Affine motion information predictor candidates based on Affine motion information associated with one or more neighbouring positions of the block to be encoded and, when available, one or more constructed Affine motion information predictor candidates having motion information based on motion vectors associated with neighbouring spatial positions of the block to be encoded, selecting one of the first mode motion information predictor candidates in the first list, and generating a first motion information predictor index for the selected first mode motion information predictor candidate,
when the second mode is used, generating a second list of second mode motion information predictor candidates, the second list including, if available, one or more spatial motion information predictor candidates associated with blocks in a same frame and neighbouring the block to be decoded, selecting one of the second mode motion information predictor candidates in the second list, and generating a second motion information predictor index for the selected second mode motion information predictor candidate; and
when the first mode is used, encoding the first motion information predictor index using CABAC coding, all bits except for a first bit of the first motion information predictor index being coded by bypass coding and the first bit of the first motion information predictor index being coded by the CABAC coding using a context, and
when the second mode is used encoding the second motion information predictor index using CABAC coding, all bits except for a first bit of the second motion information predictor index being coded by bypass coded and the first bit of the motion information predictor index being coded by the CABAC coding using a context.
|