| CPC H04N 19/105 (2014.11) [G06T 9/40 (2013.01); H04N 19/127 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 18 Claims |

|
1. A video picture prediction method for encoding, comprising:
obtaining a first indicator;
if a value of the first indicator is equal to a first value,
obtaining a second indicator, wherein, the second indicator is used to indicate a maximum length of a first candidate motion vector list according to following formula: MaxNumSubblockMergeCand=K−K_minus_max_num_subblock_merge_cand, wherein MaxNumSubblockMergeCand represents the maximum length of the first candidate motion vector list, K_minus_max_num_subblock_merge_cand represents the second indicator, and K is a preset non-negative integer, wherein the first candidate motion vector list is constructed for a block to be processed when a subblock merge prediction mode is used for the block; and encoding the first indicator and second indicator in a bitstream;
if the value of the first indicator is equal to a second value,
obtaining a third indicator, wherein, the third indicator is used to indicate the maximum length of the first candidate motion vector list, the second value is different from the first value; and encoding the first indicator and third indicator in the bitstream.
|