# US 2019/0320174 A1 · Harmonization of transform-based quantization and dynamic range adjustment scale derivation in video coding

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

- Number: US 2019/0320174 A1
- Document ID: US20190320174A1
- Status: Published application
- Kind: A1
- Application number: 16/380,520
- Filed: 2019-04-10
- Published: 2019-10-17
- Earliest claimed: 2018-04-12
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Adarsh Krishnan Ramasubramonian; Dmytro Rusanovskyy; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20190320174A1

## CPC

- H04N 19/124: Quantisation
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/92: based on global image properties
- H04N 19/136: Incoming video signal characteristics or properties
- 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/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/198: {including smoothing of a sequence of encoding parameters, e.g. by averaging, by choice of the maximum, minimum or median value}
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20208: High dynamic range [HDR] image processing
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Techniques for decoding video data include determining a picture quantization parameter (QP) value of the picture of video data, determining an intermediate chroma QP offset value for a chroma QP value based on the picture QP value and a first function based on video characteristics of the picture of video data, determining the chroma QP value with a second function of the intermediate chroma QP offset value, and decoding the picture of video data using the chroma QP value.

## Claims

### Claim 1

A method of decoding a picture of video data, the method comprising:
determining a picture quantization parameter (QP) value of the picture of video data;
determining an intermediate chroma QP offset value for a chroma QP value using the picture QP value and a first function based on video characteristics of the picture of video data;
determining the chroma QP value with a second function of the intermediate chroma QP offset value; and
decoding the picture of video data using the chroma QP value to produce a decoded picture.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first function is implemented as a lookup table from a plurality of lookup tables, wherein the picture QP value is an input to the lookup table, and wherein the lookup table is based on video characteristics of the picture of video data.

### Claim 3 (depends on 2)

The method of claim 2, wherein the video characteristics of the picture of video data includes one or more of a color component, a color gamut, or a color space.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
determining the picture QP value based on a base QP value and a hierarchical QP offset value,
wherein determining the intermediate chroma QP offset value for the chroma QP value comprises determining the intermediate chroma QP offset value for the chroma QP value based on the picture QP value and the lookup table.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining the chroma QP value as the second function of the intermediate chroma QP offset value comprises:
determining the chroma QP value based on the picture QP value, the intermediate chroma QP offset value, and a fixed chroma QP offset value.

### Claim 6 (depends on 4)

The method of claim 4, wherein determining the intermediate chroma QP offset value comprises:
determining a first intermediate chroma QP offset value for the chroma QP value based on the base QP value and the lookup table; and
determining a second intermediate chroma QP offset value for the chroma QP value based on the picture QP value and the lookup table.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining the chroma QP value as the second function of the intermediate chroma QP offset value comprises:
determining the chroma QP value based on the picture QP value, the first intermediate chroma QP offset value, the second intermediate chroma QP offset value, and a fixed chroma QP offset value

### Claim 8 (depends on 2)

The method of claim 2, further comprising:
determining the lookup table from the plurality of lookup tables based on one or more of a chroma color component or a color gamut of the picture.

### Claim 9 (depends on 2)

The method of claim 2, further comprising:
determining the lookup table from the plurality of lookup tables based on a syntax element received in an encoded video bitstream.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining a luma scale value for dynamic range adjustment;
determining a chroma scale value for dynamic range adjustment as a third function a base QP value, a fixed chroma QP offset value, the luma scale value, and a linearized version of the intermediate chroma QP offset value; and
performing a dynamic range adjustment on the decoded picture using the luma scale value and the chroma scale value.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
determining a luma scale value for dynamic range adjustment;
determining a chroma scale value for dynamic range adjustment as a third function a base QP value, a fixed chroma QP offset value, the luma scale value, a color gamut of the picture, and a linearized version of the intermediate chroma QP offset value; and
performing a dynamic range adjustment on the decoded picture using the luma scale value and the chroma scale value.

### Claim 12 (depends on 1)

The method of claim 1, wherein determining the intermediate chroma QP offset value comprises determining the intermediate chroma QP offset value for the chroma QP value based on a base QP value, and one or more of a QP value from a picture parameter set, and a QP value from a slice header.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
outputting the decoded picture for display.

### Claim 14

An apparatus configured to decode video data, the apparatus comprising:
a memory configured to store a picture of video data; and
one or more processors in communication with the memory, the one or more processors configured to:
determine a picture quantization parameter (QP) value of the picture of video data;
determine an intermediate chroma QP offset value for a chroma QP value using the picture QP value and a first function based on video characteristics of the picture of video data;
determine the chroma QP value with a second function of the intermediate chroma QP offset value; and
decode the picture of video data using the chroma QP value to produce a decoded picture.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the first function is implemented as a lookup table from a plurality of lookup tables, wherein the picture QP value is an input to the lookup table, and wherein the lookup table is based on video characteristics of the picture of video data.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the video characteristics of the picture of video data includes one or more of a color component, a color gamut, or a color space.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the one or more processors are further configured to
determine the picture QP value based on a base QP value and a hierarchical QP offset value,
wherein to determine the intermediate chroma QP offset value for the chroma QP value, the one or more processors are further configured to determine the intermediate chroma QP offset value for the chroma QP value based on the picture QP value and the lookup table.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein to determine the chroma QP value as the second function of the intermediate chroma QP offset value, the one or more processors are further configured to:
determine the chroma QP value based on the picture QP value, the intermediate chroma QP offset value, and a fixed chroma QP offset value.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein to determine the intermediate chroma QP offset value, the one or more processors are further configured to:
determine a first intermediate chroma QP offset value for the chroma QP value based on the base QP value and the lookup table; and
determine a second intermediate chroma QP offset value for the chroma QP value based on the picture QP value and the lookup table.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein to determine the chroma QP value as the second function of the intermediate chroma QP offset value, the one or more processors are further configured to:
determine the chroma QP value based on the picture QP value, the first intermediate chroma QP offset value, the second intermediate chroma QP offset value, and a fixed chroma QP offset value.

### Claim 21 (depends on 15)

The apparatus of claim 15, wherein the one or more processors are further configured to:
determine the lookup table from the plurality of lookup tables based on one or more of a chroma color component or a color gamut of the picture.

### Claim 22 (depends on 15)

The apparatus of claim 15, wherein the one or more processors are further configured to:
determine the lookup table from the plurality of lookup tables based on a syntax element received in an encoded video bitstream.

### Claim 23 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are further configured to:
determine a luma scale value for dynamic range adjustment;
determine a chroma scale value for dynamic range adjustment as a third function a base QP value, a fixed chroma QP offset value, the luma scale value, and a linearized version of the intermediate chroma QP offset value; and
perform a dynamic range adjustment on the decoded picture using the luma scale value and the chroma scale value.

### Claim 24 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are further configured to:
determine a luma scale value for dynamic range adjustment;
determine a chroma scale value for dynamic range adjustment as a third function a base QP value, a fixed chroma QP offset value, the luma scale value, a color gamut of the picture, and a linearized version of the intermediate chroma QP offset value; and
perform a dynamic range adjustment on the decoded picture using the luma scale value and the chroma scale value.

### Claim 25 (depends on 14)

The apparatus of claim 14, wherein to determine the intermediate chroma QP offset value, the one or more processors are further configured to determine the intermediate chroma QP offset value for the chroma QP value based on a base QP value, and one or more of a QP value from a picture parameter set, and a QP value from a slice header.

### Claim 26 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are further configured to:
output the decoded picture for display.

### Claim 27

An apparatus configured to decode video data, the apparatus comprising:
means for determining a picture quantization parameter (QP) value of the picture of video data;
means for determining an intermediate chroma QP offset value for a chroma QP value using the picture QP value and a first function based on video characteristics of the picture of video data;
means for determining the chroma QP value with a second function of the intermediate chroma QP offset value; and
means for decoding the picture of video data using the chroma QP value to produce a decoded picture.

### Claim 28 (depends on 27)

The apparatus of claim 27, wherein the first function is implemented as a lookup table from a plurality of lookup tables, wherein the picture QP value is an input to the lookup table, and wherein the lookup table is based on video characteristics of the picture of video data.

### Claim 29

A computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device configured to decode video data to:
determine a picture quantization parameter (QP) value of the picture of video data;
determine an intermediate chroma QP offset value for a chroma QP value using the picture QP value and a first function based on video characteristics of the picture of video data;
determine the chroma QP value with a second function of the intermediate chroma QP offset value; and
decode the picture of video data using the chroma QP value to produce a decoded picture.

### Claim 30 (depends on 29)

The computer-readable storage medium of claim 29, wherein the first function is implemented as a lookup table from a plurality of lookup tables, wherein the picture QP value is an input to the lookup table, and wherein the lookup table is based on video characteristics of the picture of video data.
