×

Lossless video coding with sub-frame level optimal quantization values

  • US 9,407,915 B2
  • Filed: 01/15/2013
  • Issued: 08/02/2016
  • Est. Priority Date: 10/08/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for encoding a video stream including a plurality of frames, the method comprising:

  • selecting a block of a plurality of blocks of the frame;

    identifying, using a processor, an optimal quantization value, comprising;

    performing a quantization optimization loop for a plurality of candidate quantization values using the block including;

    identifying a candidate quantization value;

    predicting the block to form a residual block;

    partially encoding the residual block to form a partially encoded residual block;

    quantizing the partially encoded residual block to form a quantized block using the candidate quantization value;

    partially decoding the quantized block to form a decoded residual block;

    subtracting the decoded residual block from the residual block to form a difference block; and

    summing the bits included in the quantized block and the difference block to form an estimated number of bits; and

    identifying the candidate quantization value that results in the smallest estimated number of bits as the optimal quantization value,wherein the optimal quantization value is a quantization value for the block that minimizes a number of bits required to encode a residual block of the block and a difference block of the block, the residual block being a difference between the block and a prediction block for the block, and the difference block being a block including errors resulting from encoding the residual block;

    encoding the block using the optimal quantization value to form an encoded residual block and an encoded difference block by;

    quantizing and subsequently entropy coding the residual block to form the encoded residual block; and

    entropy coding the difference block without quantizing the difference block to form the encoded difference block; and

    including the encoded residual block, the encoded difference block and the optimal quantization value in an encoded video bitstream.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×