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

Claim 5:
6. A decoder, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is configured to store a computer program;
the processor is configured to execute the computer program in the memory to perform operations comprising:
determining a checking order for each of spatial candidate blocks of a current image block, wherein the checking order for the spatial candidate block on top of the current image block is prior to the checking order for the spatial candidate block on the left of the current image block;
acquiring available spatial candidate motion information based on the checking order; and
constructing a motion information candidate list corresponding to the current image block based on the spatial candidate motion information;
wherein determining the checking order for each of the spatial candidate blocks of the current image block comprises:
determining a prediction mode for the current image block;
determining the checking order for each of the spatial candidate blocks of the current image block based on the prediction mode;
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 4 spatial candidate blocks, wherein the 4 spatial candidate blocks comprise a spatial candidate block B1, a spatial candidate block A1, a spatial candidate block B0 and a spatial candidate block A0, top two spatial candidate blocks in the 4 spatial candidate blocks which are traversed first are the spatial candidate block B1 and the spatial candidate block A1, and the checking order for the spatial candidate block B1 is prior to that for the spatial candidate block A1;
wherein the spatial candidate block A1 is a lowermost spatial neighboring block on the left of the current image block, the spatial candidate block B1 is a rightmost spatial neighboring block on top of the current image block, the spatial candidate block B0 is a spatial neighboring block closest to a top-right corner of the current image block, the spatial candidate block A0 is a spatial neighboring block closest to a bottom-left corner of the current image block.