Video encoder, video decoder, and corresponding methods
AssigneeHuawei Technologies Co., Ltd.
InventorsHuanbang Chen, Yin Zhao, Haitao Yang, Lian Zhang
Life of this patent
Estimating the term…
Abstract
This application discloses a processing method applied to video encoding or video decoding. The method includes: obtaining size information of a 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; and performing subsequent processing based on the context model index ctxInc of the flag of the current block. The method can be used to improve coding efficiency.
Claims18
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.
A processing apparatus used in video encoding or video decoding, comprising:
- a memory;
- and
- a processor coupled to the memory and configured to:
- obtain size information of a current block, the size information comprising an area of the current block;
- determine 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 processor is configured to:
- 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, determine 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
- perform subsequent processing based on the context model index ctxInc of the flag of the current block.
A non-transitory computer-readable storage medium storing computer instructions, that when executed by one or more processors, cause the one or more processors to perform operations of:
- 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.
Dependencies are inferred from the claim text.