Switching between dct coefficient coding modes
AssigneeNokia Corporation
InventorsAntti Olli Hallapuro, Jani Lainema, Kemal Ugur
Life of this patent
Estimating the term…
Abstract
A system and method is provided for improving efficiency when entropy coding a block of quantized transform coefficients in video coding. Quantized coefficients are coded in two separate coding modes, namely, a run mode to a level mode coding mode. “Rules” for switching between these two modes are provided, and various embodiments are realized by allowing an entropy coder to adaptively decide when to switch between the two coding modes based on context information, the rules and/or by explicitly signaling the position of switching (e.g., whether or not it should switch coding modes).
Claims22
A method, comprising:
- encoding position and value of a last non-zero coefficient of a block;
- coding at least one coefficient in accordance with a first coding mode when an amplitude of the at least one coefficient is less than or equal to a threshold;
- and
- determining a cumulative sum of amplitudes of previously coded non-zero coefficients that are greater than the threshold;
- and
- wherein when the cumulative sum is less than a cumulative threshold value, and the position of the latest non-zero coefficient is less than a location threshold:
- coding a subsequent coefficient in accordance with the first coding mode;
- otherwise, coding a subsequent coefficient in accordance with a second coding mode.
An apparatus, comprising a processor configured to:
- encode position and value of a last non-zero coefficient of a block;
- code at least one coefficient in accordance with a first coding mode when an amplitude of the at least one coefficient is less than or equal to a threshold;
- and
- determine a cumulative sum of amplitudes of previously coded non-zero coefficients that are greater than the threshold;
- and
- wherein when the cumulative sum is less than a cumulative threshold value, and the position of the latest non-zero coefficient is less than a location threshold:
- code a subsequent coefficient in accordance with the first coding mode;
- otherwise, code a subsequent coefficient in accordance with a second coding mode.
A method, comprising:
- decoding position and value of a last non-zero coefficient of a block in a coded bitstream;
- decoding at least one quantized transform coefficient from the coded bitstream in accordance with at least one of a first coding mode and a second coding mode, wherein the decoding results in one of a:
- a quantized coefficient group coded in accordance with the first coding mode, wherein a cumulative sum of amplitudes of previously coded non-zero coefficients that are greater than a threshold is less than a cumulative threshold value, and a position of a latest non-zero coefficient is less than a location threshold;
- and
- a quantized coefficient coded in accordance with the second coding mode, wherein one of the cumulative sum of amplitudes of previously coded non-zero coefficients that are greater than the threshold is one of equal to and greater than the cumulative threshold value, and the position of the latest non-zero coefficient is one of equal to and greater than the location threshold.
An apparatus, comprising:
- a processor configured to:
- decode position and value of a last non-zero coefficient of a block in a coded bitstream;
- decode at least one quantized transform coefficient from the coded bitstream in accordance with at least one of a first coding mode and a second coding mode, wherein the decoding results in one of a:
- a quantized coefficient group coded in accordance with the first coding mode, wherein a cumulative sum of amplitudes of previously coded non-zero coefficients that are greater than a threshold is less than a cumulative threshold value, and a position of a latest non-zero coefficient is less than a location threshold;
- and
- a quantized coefficient coded in accordance with the second coding mode, wherein one of the cumulative sum of amplitudes of previously coded non-zero coefficients that are greater than the threshold is one of equal to and greater than the cumulative threshold value, and the position of the latest non-zero coefficient is one of equal to and greater than the location threshold;
- and
- output a block of quantized coefficients including at least one of the quantized coefficient group and the quantized coefficient.
Dependencies are inferred from the claim text.