Inherited motion information for decoding a current coding unit in a video coding system
A method of video decoding at a decoder can include receiving a bitstream including encoded data of a picture, decoding a plurality of coding units (CUs) in the picture based on motion information stored in a history-based motion vector prediction (HMVP) table, resetting the HMVP table for every N CTU rows. The method also provides updating the HMVP table with the motion information of the last Q of the plurality of CUs.
1. A method of video decoding at a decoder, comprising:
receiving a bitstream including encoded data of a picture;
decoding a plurality of coding units (CUs) in the picture based on motion information stored in a history-based motion vector prediction (HMVP) table; and
resetting the HMVP table for every N CTU rows in a slice or a tile of the picture, N being an integer greater than 0.
2. The method of claim 1 , further comprising:
initializing the HMVP table at a beginning of a current CTU row without motion information of a CU in a CTU row processed prior to the current CTU row in the picture.
3. The method of claim 1 , wherein the resetting step comprises resetting the HMVP table for every CTU row.
4. The method of claim 3 , wherein the resetting step comprises resetting the HMVP table at the beginning of every CTU row.
5. The method of claim 1 , wherein the resetting step comprises resetting the HMVP table after each CTU row is processed based on the HMVP table or after each CTU row is processed with a coding mode that does not use the HMVP table.
6. The method of claim 1 , wherein the resetting step comprises emptying the HMVP table.
7. The method of claim 6 , wherein emptying the HMVP table comprises setting a number of HMVP candidates in the HMVP table as zero.
8. The method of claim 1 , wherein the resetting step comprises setting HMVP candidates in the HMVP table as unavailable.
9. An apparatus of video decoding, comprising circuitry configured to:
receive a bitstream including encoded data of a picture;
decode a plurality of coding units (CUs) in the picture based on motion information stored in a history-based motion vector prediction (HMVP) table; and
reset the HMVP table for every N CTU rows in a slice or a tile of the picture, N being an integer greater than 0.
10. The apparatus of claim 9 , wherein the circuitry is configured to reset the HMVP table for every CTU row.
11. The apparatus of claim 9 , wherein the circuitry is configured to reset the HMVP table by emptying the HMVP table, wherein the emptying comprising setting a number of HMVP candidates in the HMVP table as zero.