CA2643705C

Methods and systems for refinement coefficient coding in video compression

Abstract

A method for coding refinement coefficients in a signal-to-noise ratio (SNR) scalable enhancement layer of a compressed video sequence is disclosed. A video sequence is received. A prediction of an original video signal in a current frame is constructed from the video sequence. A residual signal is formed by subtracting the prediction of the original video signal from the original video signal in the current frame. A transform is applied to the residual signal. A plurality of transform coefficients is quantized. A refinement coefficient is mapped to a ternary refinement symbol. Refinement symbols are grouped in a certain coding order. The refinement symbol groups are coded using variable length codes.

CA2643705C, drawing sheet 1
Sheet 1 of 4

Term

Projected expiry 26 March 2027.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Projected expiry

28 claims: 6 independent, 22 dependent

  1. 1
    CLAIMS:1. A method for coding refinement coefficients in a signal-to-noise ratio (SNR) scalable enhancement layer of a compressed video sequence comprising: receiving a video sequence;5 constructing a prediction of an original video signal in a current frame from the video sequence;forming a residual signal by subtracting the prediction of the original video signal from the original video signal in the current frame;applying a transform to the residual signal so as to convert the residual 10 signal into a domain in which the residual signal is represented by a plurality of transform coefficients;quantizing the plurality of transform coefficients to generate a plurality of nonzero transform coefficients, wherein each of the nonzero transform coefficients has a value of nonzero and at least some of the nonzero transform coefficients are 15 refinement coefficients, wherein each of the refinement coefficients has the value of nonzero prior to quantizing;mapping each refinement coefficient to a ternary refinement symbol to generate a plurality of refinement symbols, wherein the ternary refinement symbol has three values and each refinement symbol has one of the three values;20 grouping the refinement symbols in a certain coding order to generate a plurality of refinement symbol groups;and coding the refinement symbol groups using variable length codes.
  2. 16
    18. An electronic device that is configured to encode refinement coefficients in a signal-to-noise ratio (SNR) scalable enhancement layer of a compressed video sequence, the electronic device comprising:20 a processor;memory in electronic communication with the processor;instructions stored in the memory, the instructions being executable to: receive a video sequence;CA 02643705 2012-03-14 74769-2149 construct a prediction of an original video signal in a current frame from the video sequence;form a residual frame by subtracting the prediction of the original video signal from the original video signal in the current frame;5 apply a transform to the residual signal so as to convert the residual signal into a domain in which the residual signal is represented by a plurality of transform coefficients;quantize the plurality of transform coefficients to generate a plurality of nonzero transform coefficients, wherein each of the nonzero transform coefficients 10 has a value of nonzero and at least some of the nonzero transform coefficients are refinement coefficients, wherein each of the refinement coefficients has the value of nonzero prior to quantizing;map each refinement coefficient to a ternary refinement symbol to generate a plurality of refinement symbols, wherein the ternary refinement symbol 15 has three values and each refinement symbol has one of the three values;group the refinement symbols in a certain coding order to generate a plurality of refinement symbol groups;and code the refinement symbol groups using variable length codes.
  3. 18
    20 executable to use a variable length coding table adaptively selected for different enhancement layers. 20. The electronic device of claim 18, wherein the electronic device is configured to interleave significant coefficients and refinement coefficients, and wherein the instructions are further executable to:identify a video slice that includes a plurality of blocks;CA 02643705 2012-03-14 74769-2149 scan the plurality of blocks before the grouping of the refinement coefficients;determine an order with which the refinement coefficients will be coded;and store the refinement coefficients in a queue according to the order that was determined.
  4. 19
    21. A computer-readable medium comprising executable instructions for coding refinement coefficients in a signal-to-noise ratio (SNR) scalable enhancement layer of a compressed video sequence, the instructions comprising:receiving a video sequence;constructing a prediction of an original video signal in a current frame from the video sequence;forming a residual signal by subtracting the prediction of the original video signal from the original video signal in the current frame;applying a transform to the residual signal so as to convert the residual signal into a domain in which the residual signal is represented by a plurality of transform coefficients;quantizing the plurality of transform coefficients to generate a plurality of nonzero transform coefficients, wherein each of the nonzero transform coefficients has a value of nonzero and at least some of the nonzero transform coefficients are refinement coefficients, wherein each of the refinement coefficients has the value of nonzero prior to quantizing;mapping each refinement coefficient to a ternary refinement symbol to generate a plurality of refinement symbols, wherein the ternary refinement symbol has three values and each refinement symbol has one of the three values;CA 02643705 2012-03-14 74769-2149 grouping the refinement symbols in a certain coding order to generate a plurality of refinement symbol groups;and coding the refinement symbol groups using variable length codes.
  5. 20
    22. A method for decoding refinement coefficients in an encoded video sequence comprising:receiving an encoded video sequence;decoding refinement symbols of the video sequence using a variable length coding table, wherein the refinement symbols were encoded using a plurality of refinement coefficients, wherein each refinement coefficient is mapped to a ternary refinement symbol to generate the refinement symbols, and wherein the ternary refinement symbol has three values and each refinement symbol has one of the three values;decoding the refinement coefficients using the refinement symbols, wherein the refinement coefficients were grouped in a certain coding order and wherein the refinement coefficients are comprised within a plurality of transform coefficients;dequantizing the plurality of transform coefficients to generate a refinement signal;applying an inverse transform to the refinement signal;and constructing a video sequence using the inverse transform of the refinement signal.
  6. 28
    30. An electronic device that is configured to encode refinement coefficients in a signal-to-noise ratio (SNR) scalable enhancement layer of a compressed video sequence, the electronic device comprising:20 means for receiving a video sequence;means for constructing a prediction of an original video signal in a current frame from the video sequence;CA 02643705 2012-03-14 74769-2149 means for forming a residual frame by subtracting the prediction of the original video signal from the original video signal in the current frame;means for applying a transform to the residual signal so as to convert the residual signal into a domain in which the residual signal is represented by a 5 plurality of transform coefficients;means for quantizing the plurality of transform coefficients to generate a plurality of nonzero transform coefficients, wherein each of the nonzero transform coefficients has a value of nonzero and at least some of the nonzero transform coefficients are refinement coefficients, wherein each of the refinement coefficients 10 has the value of nonzero prior to quantizing;means for mapping each refinement the plurality of transform coefficients to a ternary refinement symbol to generate a plurality of refinement symbols, wherein the ternary refinement symbol has three values and each refinement symbol has one of the three values;15 means for grouping the refinement symbols in a certain coding order to generate a plurality of refinement symbol groups;and means for coding the refinement symbol groups using variable length codes. CA 02643705 2008-08-22 WO 2007/112341 PCT/US2007/064912 100 1/15 Enhancement Layer N 102 Enhancement Layer 1 104 Base Layer 106