# US 2023/0055524 A1 · Adaptive quantization for enhancement layer video coding

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0055524 A1
- Document ID: US20230055524A1
- Status: Published application
- Kind: A1
- Application number: 17/981,132
- Filed: 2022-11-04
- Published: 2023-02-23
- Earliest claimed: 2008-06-03
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Shankar Regunathan; Shijun Sun; Chengjie Tu; Chih-Lung Lin
- Web page: https://patentgrep.com/patent/US20230055524A1

## CPC

- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/124: Quantisation
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/187: the unit being a scalable video layer
- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N 19/197: {including determination of the initial value of an encoding parameter (H04N19/56 takes precedence)}
- H04N 19/34: Scalability techniques involving progressive bit-plane based encoding of the enhancement layer, e.g. fine granular scalability [FGS]
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Techniques and tools for encoding enhancement layer video with quantization that varies spatially and/or between color channels are presented, along with corresponding decoding techniques and tools. For example, an encoding tool determines whether quantization varies spatially over a picture, and the tool also determines whether quantization varies between color channels in the picture. The tool signals quantization parameters for macroblocks in the picture in an encoded bit stream. In some implementations, to signal the quantization parameters, the tool predicts the quantization parameters, and the quantization parameters are signaled with reference to the predicted quantization parameters. A decoding tool receives the encoded bit stream, predicts the quantization parameters, and uses the signaled information to determine the quantization parameters for the macroblocks of the enhancement layer video. The decoding tool performs inverse quantization that can vary spatially and/or between color channels.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

In a computer system that implements a video encoder, a method comprising:
encoding video for a picture organized in multiple channels, thereby producing encoded data for the video for the picture, the multiple channels including a luma channel and two chroma channels, wherein the encoding the video for the picture includes varying quantization spatially and between the multiple channels of the video for the picture, and wherein the encoding the video for the picture further includes, for a current unit of the picture:
determining a unit-level quantization parameter (“QP”) of a spatially neighboring unit, including:
determining whether an actual QP of the spatially neighboring unit is available;
if the actual QP of the spatially neighboring unit is available, assigning the actual QP of the spatially neighboring unit to be the unit-level QP of the spatially neighboring unit; and
otherwise, the actual QP of the spatially neighboring unit not being available, substituting another QP as the unit-level QP of the spatially neighboring unit;
determining a predicted QP based at least in part on the unit-level QP of the spatially neighboring unit; and
encoding a unit-level QP for a given chroma channel among the two chroma channels for the current unit based at least in part on the predicted QP and an index for the given chroma channel for the current unit; and
outputting, as part of a bitstream, the encoded data for the video for the picture, the encoded data for the video for the picture including QP information that indicates multiple QPs that at least in part parameterize the varied quantization of the video for the picture, the QP information further indicating the index for the given chroma channel for the current unit.

### Claim 22 (depends on 21)

The method of claim 21, wherein units of the picture are blocks, and wherein the encoding the video for the picture further includes quantizing transform coefficients of the units of the picture.

### Claim 23 (depends on 21)

The method of claim 21, wherein the QP information further comprises picture-level information that indicates one or more picture-level QPs for the video for the picture or respective channels of the video for the picture.

### Claim 24 (depends on 23)

The method of claim 23, wherein the picture-level information includes one or more values signaling that inverse quantization varies between the multiple channels of the video for the picture.

### Claim 25 (depends on 23)

The method of claim 23, wherein the picture-level information includes one or more values signaling that inverse quantization varies spatially between units of the video for the picture.

### Claim 26 (depends on 21)

The method of claim 21, wherein the spatially neighboring unit is a left unit that is to the left of the current unit, and wherein the determining the predicted QP uses one or more prediction rules based upon the unit-level QP for the left unit.

### Claim 27 (depends on 21)

The method of claim 21, wherein the spatially neighboring unit is an above unit that is above the current unit, and wherein the determining the predicted QP uses one or more prediction rules based upon the unit-level QP for the above unit.

### Claim 28

One or more computer-readable media having stored thereon computer-executable instructions for causing one or more processing units, when programmed thereby, to perform operations, wherein the one or more computer-readable media are selected from the group consisting of volatile memory, non-volatile memory, magnetic disk, CD-ROM, and DVD, the operations comprising:
receiving, as part of a bitstream, encoded data for video for a picture organized in multiple channels, the multiple channels including a luma channel and two chroma channels, the encoded data including quantization parameter (“QP”) information that indicates multiple QPs that at least in part parameterize inverse quantization of the video for the picture, the QP information further indicating an index for a given chroma channel among the two chroma channels for a current unit of the picture; and
decoding the video for the picture, including varying inverse quantization spatially and between the multiple channels of the video for the picture, wherein the decoding the video for the picture includes, for the current unit:
determining a unit-level QP of a spatially neighboring unit, including:
determining whether an actual QP of the spatially neighboring unit is available;
if the actual QP of the spatially neighboring unit is available, assigning the actual QP of the spatially neighboring unit to be the unit-level QP of the spatially neighboring unit; and
otherwise, the actual QP of the spatially neighboring unit not being available, substituting another QP as the unit-level QP of the spatially neighboring unit;
determining a predicted QP based at least in part on the unit-level QP of the spatially neighboring unit; and
determining a unit-level QP for the given chroma channel for the current unit based at least in part on the predicted QP and the index for the given chroma channel for the current unit.

### Claim 29 (depends on 28)

The one or more computer-readable media of claim 28, wherein units of the picture are blocks, and wherein the decoding the video for the picture further includes performing the inverse quantization on quantized transform coefficients of the units of the picture.

### Claim 30 (depends on 28)

The one or more computer-readable media of claim 28, wherein the QP information further comprises picture-level information that indicates one or more picture-level QPs for the video for the picture or respective channels of the video for the picture.

### Claim 31 (depends on 30)

The one or more computer-readable media of claim 30, wherein the picture-level information includes one or more values signaling that inverse quantization varies between the multiple channels of the video for the picture.

### Claim 32 (depends on 30)

The one or more computer-readable media of claim 30, wherein the picture-level information includes one or more values signaling that inverse quantization varies spatially between units of the video for the picture.

### Claim 33 (depends on 28)

The one or more computer-readable media of claim 28, wherein the spatially neighboring unit is a left unit that is to the left of the current unit, and wherein the determining the predicted QP uses one or more prediction rules based upon the unit-level QP for the left unit.

### Claim 34 (depends on 28)

The one or more computer-readable media of claim 28, wherein the spatially neighboring unit is an above unit that is above the current unit, and wherein the determining the predicted QP uses one or more prediction rules based upon the unit-level QP for the above unit.

### Claim 35 (depends on 28)

The one or more computer-readable media of claim 28, wherein the encoded data further includes table information, and wherein the decoding the video for the picture further includes:
filling lookup tables for the two chroma channels based at least in part on the table information.

### Claim 36 (depends on 35)

The one or more computer-readable media of claim 35, wherein the determining the unit-level QP for the given chroma channel for the current unit includes using the index for the given chroma channel for the current unit in a lookup operation in one of the lookup tables.

### Claim 37

One or more computer-readable media having stored thereon encoded data in a bitstream for video for a picture organized in multiple channels, the multiple channels including a luma channel and two chroma channels, the encoded data including quantization parameter (“QP”) information that indicates multiple QPs that at least in part parameterize inverse quantization of the video for the picture, the QP information further indicating an index for a given chroma channel among the two chroma channels for a current unit of the picture, wherein the one or more computer-readable media are selected from the group consisting of volatile memory, non-volatile memory, magnetic disk, CD-ROM, and DVD, and wherein the encoded data is produced by encoding the video for the picture by operations that include varying quantization spatially and between the multiple channels of the video for the picture, the operations further including, for the current unit:
determining a unit-level QP of a spatially neighboring unit, including:
determining whether an actual QP of the spatially neighboring unit is available;
if the actual QP of the spatially neighboring unit is available, assigning the actual QP of the spatially neighboring unit to be the unit-level QP of the spatially neighboring unit; and
otherwise, the actual QP of the spatially neighboring unit not being available, substituting another QP as the unit-level QP of the spatially neighboring unit;
determining a predicted QP based at least in part on the unit-level QP of the spatially neighboring unit; and
encoding the unit-level QP for the given chroma channel for the current unit based at least in part on the predicted QP and the index for the given chroma channel for the current unit.

### Claim 38 (depends on 37)

The one or more computer-readable media of claim 37, wherein the QP information further comprises picture-level information that indicates one or more picture-level QPs for the video for the picture or respective channels of the video for the picture.

### Claim 39 (depends on 38)

The one or more computer-readable media of claim 38, wherein the picture-level information includes one or more values signaling that inverse quantization varies between the multiple channels of the video for the picture.

### Claim 40 (depends on 38)

The one or more computer-readable media of claim 38, wherein the picture-level information includes one or more values signaling that inverse quantization varies spatially between units of the video for the picture.
