| CPC H04N 19/46 (2014.11) [H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/513 (2014.11)] | 6 Claims |

|
1. A non-transitory machine-readable medium of an electronic device storing one or more computer-executable instructions for decoding a bitstream, the one or more computer-executable instructions, when executed by at least one processing unit of the electronic device, causing the electronic device to:
receive the bitstream;
determine an affine enabled flag corresponding to one or more image frames from the bitstream;
determine a maximum index corresponding to the one or more image frames from the bitstream when the affine enabled flag is true, wherein:
an index value of the maximum index is in an index range of 0 to N-K, N being a first integer and K being a second integer less than N, and
the index value of the maximum index is in the index range of 0 to N−1 when K is 1;
determine that a maximum number of zero or more subblock-based merging motion vector prediction (MVP) candidates is in a number range of 1 to N and generated by subtracting the index value of the maximum index from N when the affine enabled flag is true and K is 1; and
reconstruct the one or more image frames based on the maximum number of zero or more subblock-based merging MVP candidates.
|