| CPC H04N 19/159 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/52 (2014.11); H04N 19/56 (2014.11); H04N 19/593 (2014.11); H04N 19/96 (2014.11)] | 21 Claims |

|
1. A method of processing video data, comprising:
constructing, for a first conversion between a first video block of a video and a bitstream of the video, a first motion candidate list in a first prediction mode, wherein in the first prediction mode, prediction samples are derived from blocks of sample values of a same slice as determined by block vectors, and wherein a maximum number of motion candidates in the first motion candidate list is equal to M1, and Ml is greater than or equal to 1; and
constructing, for a second conversion between a second video block of the video and the bitstream, a second motion candidate list in an inter merge prediction mode, wherein a maximum number of motion candidates in the second motion candidate list is equal to M2, and M2 is greater than or equal to 1,
wherein at most L1 candidates in a first history-based motion vector predictor (HMVP) candidate table are inserted into the first motion candidate list, and wherein candidates in the first HMVP candidate table are arranged based on a sequence of addition of the candidates into the first HMVP candidate table, and L1 is greater than or equal to 0,
wherein at most L2 candidates in a second HMVP candidate table are inserted into the second motion candidate list, and wherein candidates in the second HMVP candidate table are arranged based on a sequence of addition of the candidates into the second HMVP candidate table, and L2 is greater than or equal to 0,
wherein in a case that M1 is equal to M2, L1 is not equal to L2, and
wherein whether the first prediction mode is enabled for the first video block of the video is determined based on a rule, and the rule specifies that the first prediction mode is not enabled in response to a width of the first video block being greater than a first predetermined value or a height of the first video block being greater than a second predetermined value.
|