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

Claim 15:
16. The non-transitory computer-readable storage medium of claim 15, wherein the determining a context model index ctxInc of a flag of the current block further comprises:
if the flag of the current block is inter_dir and the area of the current block is less than the threshold th1, determining that the value of the context model index ctxInc used by the flag inter_dir is 2, wherein the obtained size information of the current block comprises the area of the current block, wherein the flag inter_dir is used to indicate a prediction reference mode used for the current block; or
if the flag of the current block is direct_flag, and if the area of the current block is less than the threshold th1, or a width of the current block is greater than a threshold th2, or a height of the current block is greater than the threshold th2, determining that the value of the context model index ctxInc used by the flag direct_flag is 1, wherein the obtained size information of the current block comprises the area of the current block, or a width of the current block, or a height of the current block, wherein the flag direct_flag is used to indicate whether a direct mode is used for the current block.