| CPC H04N 19/58 (2014.11) [H04N 19/52 (2014.11); H04N 19/521 (2014.11); H04N 19/577 (2014.11); H04N 19/96 (2014.11)] | 20 Claims |

|
1. A method of video processing, comprising:
resetting, for a conversion between a video unit of a video and a bitstream of the video, a history-based motion vector prediction (HMVP) table of size N by adding K HMVP motion candidates to the HMVP table,
wherein the K HMVP motion candidates have default values,
wherein N and K are positive integers, and
wherein K≤N; and
performing the conversion between the video unit and the bitstream using the HMVP table resulting from the resetting,
wherein, for a plurality of P slices or a plurality of P pictures, at least one of the K HMVP motion candidates comprises a motion vector set to (Mv(0,0), i),
wherein i is a reference picture index which is in a range between 0 and a number of reference pictures in list 0 minus 1, inclusive,
wherein the video unit is a P slice from the plurality of P slices or the video unit is a P picture from the plurality of P pictures, and
wherein a counter of available HMVP motion candidates in the HMVP table is excluded from the bitstream of the video in response to K being equal to N.
|