CPC H04N 19/513 (2014.11) [H04N 19/13 (2014.11); H04N 19/44 (2014.11); H04N 19/70 (2014.11)] | 11 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;
generating, when the first mode is used, a first list of first mode motion information predictor candidates, selecting one of the first mode motion information predictor candidates in the first list, generating a first motion information predictor index for the selected first mode motion information predictor candidate, and 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 CABAC coding using a first context variable;
generating, when the second mode is used, a second list of second mode motion information predictor candidates without an Affine motion information predictor candidate, selecting one of the second mode motion information predictor candidates in the second list, generating a second motion information predictor index for the selected second mode motion information predictor candidate, and 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 coding and the first bit of the second motion information predictor index being coded by CABAC coding using a second context variable separate from the first context variable.
|