Patent ID: 11902506
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A processing method applied to video encoding or video decoding, wherein the method comprises:
obtaining size information of a current block, the size information comprising an area of the current block;
determining a context model index ctxInc of a flag of the current block based on the obtained size information of the current block and a size-based constraint, wherein the determining further comprises:
responsive to determining that the flag of the current block is a skip_flag and the area of the current block is less than a threshold th1, determining that a value of the context model index ctxInc used by the flag skip_flag is 3, which indicates that the current block has a different prediction mode than a neighboring block, wherein the flag skip_flag is used to indicate whether a skip mode is used for the current block; and

performing subsequent processing based on the context model index ctxInc of the flag of the current block.