Context modeling for residual coding
AssigneesBeijing Bytedance Network Technology Co., Ltd., Bytedance Inc.
InventorsLi ZHANG, Kai ZHANG, Hongbin LIU, Yue WANG
Life of this patent
Estimating the term…
Abstract
A method of visual processing includes determining, during a conversion between a block of a video and a bitstream representation of the video, whether there is a switch from a first residual coding technique to a second residual coding technique based on a number of context coded bins per unit used in the first residual coding technique. The unit is included in the block, and coefficients of the unit are coded in the bitstream representation in multiple passes. The method also includes performing the conversion based on the determining.
Claims20
A method of processing video data, comprising:
- determining, during a conversion between a current transform block of a video and a bitstream of the video, whether to switch from a first residual coding mode to a second residual coding mode based on a number of context coded bins of the current transform block used in the first residual coding mode, wherein the current transform block is coded using a transform skip mode, in the transform skip mode, a transform process is skipped for a prediction residual and wherein coefficients of the current transform block are coded in the bitstream in multiple passes using the first residual coding mode or the second residual coding mode;
- and
- performing the conversion based on the determining.
An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
- determine, during a conversion between a current transform block of a video and a bitstream of the video, whether to switch from a first residual coding mode to a second residual coding mode based on a number of context coded bins of the current transform block used in the first residual coding mode, wherein the current transform block is coded using a transform skip mode, in the transform skip mode, a transform process is skipped for a prediction residual and wherein coefficients of the current transform block are coded in the bitstream in multiple passes using the first residual coding mode or the second residual coding mode;
- and
- perform the conversion based on the determining.
A non-transitory computer-readable storage medium storing instructions that cause a processor to:
- determine, during a conversion between a current transform block of a video and a bitstream of the video, whether to switch from a first residual coding mode to a second residual coding mode based on a number of context coded bins of the current transform block used in the first residual coding mode, wherein the current transform block is coded using a transform skip mode, in the transform skip mode, a transform process is skipped for a prediction residual and wherein coefficients of the current transform block are coded in the bitstream in multiple passes using the first residual coding mode or the second residual coding mode;
- and
- perform the conversion based on the determining.
A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
- determining, whether to switch from a first residual coding mode to a second residual coding mode based on a number of context coded bins of a current transform block of the video used in the first residual coding mode, wherein the current transform block is coded using a transform skip mode, in the transform skip mode, a transform process is skipped for a prediction residual and wherein coefficients of the current transform block are coded in the bitstream in multiple passes using the first residual coding mode or the second residual coding mode;
- and
- generating the bitstream based on the determining.
Dependencies are inferred from the claim text.