Adaptive multiple quantization
AssigneeMicrosoft Technology Licensing, LLC
InventorsThomas W. Holcomb, Chih-Lung Lin, Pohsiang Hsu, Sridhar Srinivasan
Life of this patent
Estimating the term…
Abstract
With adaptive multiple quantization, a video or other digital media codec can adaptively select among multiple quantizers to apply to transform coefficients. The switch in quantizers can be signaled at the sequence level or frame level of the bitstream syntax, or can be implicitly specified in the syntax.
Claims21
-20. (canceled)
In a computer system that implements a video decoder, a method comprising:
- receiving encoded data in a bitstream for at least part of a video sequence;
- and
- decoding the encoded data, including:
- decoding fields of a sequence header for the video sequence, the fields of the sequence header including a quantizer field, the quantizer field indicating which of four options applies for a quantizer to use for a frame, wherein the four options are (1) the quantizer to use for the frame is implicitly specified at frame level, (2) the quantizer to use for the frame is explicitly specified at frame level, (3) the quantizer to use for the frame is a first quantizer for all frames, and (4) the quantizer to use for the frame is a second quantizer for all frames, the first quantizer and the second quantizer having different deadzones;
- and
- for each of multiple frames of the video sequence, decoding the frame, including:
- determining the quantizer to use for the frame and a picture quantizer scale for the frame, including:
- if the quantizer field indicates the quantizer to use for the frame is implicitly specified at frame level, using a quantizer index to determine the picture quantizer scale for the frame and to determine the quantizer to use for the frame;
- if the quantizer field indicates the quantizer to use for the frame is explicitly specified at frame level, using the quantizer index to determine the picture quantizer scale for the frame and using a picture quantizer type to determine the quantizer to use for the frame;
- and
- if the quantizer field indicates the quantizer to use for the frame is the first quantizer for all frames or indicates the quantizer to use for the frame is the second quantizer for all frames, using the quantizer index to determine the picture quantizer scale for the frame;
- and
- inverse quantizing at least some quantized transform coefficients for the frame using the quantizer and the picture quantizer scale determined for the frame.
One or more computer-readable memory or storage devices having stored thereon computer-executable instructions for causing one or more processing units, when programmed thereby, to perform operations comprising:
- receiving encoded data in a bitstream for at least part of a video sequence;
- and
- decoding the encoded data, including:
- decoding fields of a sequence header for the video sequence, the fields of the sequence header including a quantizer field, the quantizer field indicating which of four options applies for a quantizer to use for a frame, wherein the four options are (1) the quantizer to use for the frame is implicitly specified at frame level, (2) the quantizer to use for the frame is explicitly specified at frame level, (3) the quantizer to use for the frame is a first quantizer for all frames, and (4) the quantizer to use for the frame is a second quantizer for all frames, the first quantizer and the second quantizer having different deadzones;
- and
- for each of multiple frames of the video sequence, decoding the frame, including:
- determining the quantizer to use for the frame and a picture quantizer scale for the frame, including:
- if the quantizer field indicates the quantizer to use for the frame is implicitly specified at frame level, using a quantizer index to determine the picture quantizer scale for the frame and to determine the quantizer to use for the frame;
- if the quantizer field indicates the quantizer to use for the frame is explicitly specified at frame level, using the quantizer index to determine the picture quantizer scale for the frame and using a picture quantizer type to determine the quantizer to use for the frame;
- and
- if the quantizer field indicates the quantizer to use for the frame is the first quantizer for all frames or indicates the quantizer to use for the frame is the second quantizer for all frames, using the quantizer index to determine the picture quantizer scale for the frame;
- and
- inverse quantizing at least some quantized transform coefficients for the frame using the quantizer and the picture quantizer scale determined for the frame.
A computer system comprising memory and one or more processing units, wherein the computer system implements a video decoder configured to perform operations comprising:
- receiving encoded data in a bitstream for at least part of a video sequence;
- and
- decoding the encoded data, including:
- decoding fields of a sequence header for the video sequence, the fields of the sequence header including a quantizer field, the quantizer field indicating which of four options applies for a quantizer to use for a frame, wherein the four options are (1) the quantizer to use for the frame is implicitly specified at frame level, (2) the quantizer to use for the frame is explicitly specified at frame level, (3) the quantizer to use for the frame is a first quantizer for all frames, and (4) the quantizer to use for the frame is a second quantizer for all frames, the first quantizer and the second quantizer having different deadzones;
- and
- for each of multiple frames of the video sequence, decoding the frame, including:
- determining the quantizer to use for the frame and a picture quantizer scale for the frame, including:
- if the quantizer field indicates the quantizer to use for the frame is implicitly specified at frame level, using a quantizer index to determine the picture quantizer scale for the frame and to determine the quantizer to use for the frame;
- if the quantizer field indicates the quantizer to use for the frame is explicitly specified at frame level, using the quantizer index to determine the picture quantizer scale for the frame and using a picture quantizer type to determine the quantizer to use for the frame;
- and
- if the quantizer field indicates the quantizer to use for the frame is the first quantizer for all frames or indicates the quantizer to use for the frame is the second quantizer for all frames, using the quantizer index to determine the picture quantizer scale for the frame;
- and
- inverse quantizing at least some quantized transform coefficients for the frame using the quantizer and the picture quantizer scale determined for the frame.
Dependencies are inferred from the claim text.