Patent ID: 11863714
Assignee: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 1:
2. The method of claim 1, wherein determining the checking order for each of the spatial candidate blocks of the current image block based on the prediction mode comprises:
when the prediction mode is a merge mode, the checking order comprises a traversal order for 5 spatial candidate blocks;
wherein the 5 spatial candidate blocks comprise a spatial candidate block B1, a spatial candidate block A1, a spatial candidate block B0, a spatial candidate block A0, and a spare spatial candidate block B2, wherein top two spatial candidate blocks in the 5 spatial candidate blocks which are traversed first are a spatial candidate block B1 and a spatial candidate block A1, and the checking order for the spatial candidate block B1 is prior to that for the spatial candidate block A1, the traversal order for the spatial candidate block B1, the spatial candidate block A1, the spatial candidate block B0, and the spatial candidate block A0 is prior to that for the spare spatial candidate block B2, the spare spatial candidate block B2 is checked when spatial motion information of at least one of previous four spatial candidate blocks in the checking order is not available; the spare spatial candidate block B2 is a spatial neighboring block closest to a top-left corner of the current image block.