CPC H04N 19/60 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/70 (2014.11); H04N 19/137 (2014.11)] | 12 Claims |
1. An image decoding method comprising:
receiving a bitstream comprising residual information;
deriving transform coefficients for a current block of an image based on the residual information, comprising:
determining a maximum value for a number of context-coded bins for context syntax elements for the current block;
decoding the context syntax elements for the current block comprised in the residual information based on the maximum value; and
deriving transform coefficients for the current block based on the decoded context syntax elements;
deriving residual samples for the current block based on the transform coefficients; and
generating a reconstructed image based on the residual samples for the current block,
wherein, when a total number of context-coded bins for context syntax elements of transform coefficient 0 to transform coefficient n of the current block reaches the maximum value, a bypass syntax element for transform coefficient n+1 comprised in the residual information is decoded, and
wherein the bypass syntax element comprises abs_remainder for a remaining absolute value of a transform coefficient level coded at a predetermined scanning position.
|