# US 2020/0404275 A1 · Methods and Apparatuses of Video Encoding or Decoding with Adaptive Quantization of Video Data

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

- Number: US 2020/0404275 A1
- Document ID: US20200404275A1
- Status: Published application
- Kind: A1
- Application number: 16/966,265
- Filed: 2018-12-12
- Published: 2020-12-24
- Earliest claimed: 2018-02-01
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Shih-Ta HSIANG
- Web page: https://patentgrep.com/patent/US20200404275A1

## CPC

- H04N 19/124: Quantisation
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/60: using transform coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Video encoding or decoding methods and apparatuses for processing video data with color components comprise receiving video data, performing inter prediction and intra prediction, determining a luma Quantization Parameter (QP), deriving a chroma QP bias, calculating a chroma QP from the chroma QP bias and the luma QP, performing transform or inverse transform, and performing quantization or inverse quantization for the luma component utilizing the luma QP and for the chroma component utilizing the chroma QP. The chroma QP bias is derived from an intermediate QP index, and the intermediate QP index is computed by clipping a sum of the luma QP and a chroma QP offset parameter to a specified range. The bits allocated to code the luma and chroma components may be adaptively controlled by restricting the chroma QP bias.

## Claims

### Claim 1

A method of encoding or decoding video data in a video coding system, comprising:
receiving the video data having a luminance (luma) component and at least one chrominance (chroma) component;
performing inter prediction and/or intra prediction for reducing temporal and/or spatial redundancies within the received video data;
determining a luma Quantization Parameter (QP) for the luma component;
deriving a chroma QP bias from an intermediate QP index, wherein the intermediate QP index is computed by clipping a sum of the luma QP and a chroma QP offset parameter to a specified range;
calculating a chroma QP by subtracting the chroma QP bias from the luma QP or by subtracting the chroma QP bias from the intermediate QP index;
performing a transform processing during encoding of the received video data and/or performing an inverse transform processing during reconstruction of encoding or decoding of the received video data; and
performing a quantization processing during encoding of the received video data and/or performing an inverse quantization processing during reconstruction of encoding or decoding of the received video data for the luma component utilizing the luma QP and for the chroma component utilizing the chroma QP.

### Claim 2 (depends on 1)

The method of claim 1, wherein the video data having two chroma components, chroma Cb and chroma Cr, and the method further comprising deriving one chroma QP bias for the chroma Cb component and another chroma QP bias for the chroma Cr component, and information for deriving the two chroma QP biases is signaled in one or a combination of a Picture Parameter Set (PPS), slice header, and each coding unit for the chroma Cb and chroma Cr components.

### Claim 3 (depends on 1)

The method of claim 1, wherein the chroma QP bias is derived by a function FgpBs (qPi) and a parameter set, the function FgpBs (qPi) outputs an integral value according to the intermediate QP index, and the integral value is scaled according to the parameter set, wherein each value in the parameter set is implicitly pre-defined or explicitly derived from information signaled in a video bitstream.

### Claim 4 (depends on 3)

The method of claim 3, wherein a value of the chroma QP bias is restricted by two QP boundary values (qpBs1, qpBs2) specified in the parameter set, the chroma QP bias is equal to the scaled integral value when the intermediate QP index is within an index range (t1, t2) specified in the parameter set, and the chroma QP bias is equal to one of the QP boundary value when the intermediate QP index is outside the index range specified in the parameter set.

### Claim 5 (depends on 1)

The method of claim 1, wherein the chroma QP bias is derived from a difference between the intermediate QP index and the output of a specified function Fqpc (qPi) or a difference between the luma QP and the output of the specified function Fqpc (qPi), wherein the chroma QP is derived by subtracting the chroma QP bias from the luma QP when the chroma QP bias is derived from the difference between the luma QP and the output of the specified function Fqpc (qPi), and the chroma QP is derived by subtracting the chroma QP bias from the intermediate QP index when the chroma QP bias is derived from the difference between the intermediate QP index and the output of the specified function Fqpc (qPi).

### Claim 6 (depends on 5)

The method of claim 5, wherein the specified function Fqpc (qPi) outputs a value by searching a mapping table according to the intermediate QP index.

### Claim 7 (depends on 1)

The method of claim 1, further comprising determining if the chroma QP bias is greater than a maximum chroma QP bias value, and clipping the chroma QP bias to the maximum chroma QP bias value if the chroma QP bias is greater than the maximum chroma QP bias value.

### Claim 8 (depends on 7)

The method of claim 7, wherein the maximum chroma QP bias value is explicitly signaled in a high-level syntax set.

### Claim 9 (depends on 8)

The method of claim 8, wherein the maximum chroma QP bias value is further signaled in coding units or in units of quantization groups.

### Claim 10 (depends on 7)

The method of claim 7, further comprising determining if the chroma QP bias is smaller than a minimum chroma QP bias value, and clipping the chroma QP bias to the minimum chroma QP bias value if the chroma QP bias is smaller than the minimum chroma QP bias value.

### Claim 11 (depends on 10)

The method of claim 10, wherein the minimum chroma QP bias value is explicitly signaled or implicitly inferred.

### Claim 12 (depends on 10)

The method of claim 10, wherein the minimum chroma QP bias value is set to zero and the maximum chroma QP bias value is adaptively derived.

### Claim 13 (depends on 12)

The method of claim 12, wherein the maximum chroma QP bias value is signaled in a video bitstream when the video coding system is an encoder, and the maximum chroma QP bias is derived from information signaled in a video bitstream when the video coding system is a decoder.

### Claim 14 (depends on 1)

The method of claim 1, wherein deriving the chroma QP further comprises determining a minimum value between a maximum chroma QP bias value and the chroma QP bias, and subtracting the minimum value between the maximum chroma QP bias value and the chroma QP bias from the luma QP or intermediate QP index.

### Claim 15 (depends on 1)

The method of claim 1, further comprising scaling the chroma QP bias and the chroma QP is derived by subtracting the scaled chroma QP bias from the luma QP or from the intermediate QP index.

### Claim 16 (depends on 15)

The method of claim 15, wherein a scaling factor or a parameter set of integral parameters is signaled in a video bitstream for scaling the chroma QP bias.

### Claim 17

An apparatus for performing video coding, comprising: a computer processor configured for receiving video data; and programming executable on the computer processor for video coding by performing steps comprising:
receiving the video data having a luminance (luma) component and at least one chrominance (chroma) component;
performing inter prediction and/or intra prediction for reducing temporal and/or spatial redundancies within the received video data;
determining a luma Quantization Parameter (QP) for the luma component;
deriving a chroma QP bias from an intermediate QP index, wherein the intermediate QP index is computed by clipping a sum of the luma QP and a chroma QP offset parameter to a specified range;
calculating a chroma QP by subtracting the chroma QP bias from the luma QP or by subtracting the chroma QP bias from the intermediate QP index;
performing a transform processing during encoding of the received video data and/or performing an inverse transform processing during reconstruction of encoding or decoding of the received video data; and
performing a quantization processing during encoding of the received video data and/or performing an inverse quantization processing during reconstruction of encoding or decoding of the received video data for the luma component utilizing the luma QP and for the chroma component utilizing the chroma QP.

### Claim 18

A non-transitory computer readable medium storing program instruction causing a processing circuit of an apparatus to perform video coding method, and the method comprising:
receiving the video data having a luminance (luma) component and at least one chrominance (chroma) component;
performing inter prediction and/or intra prediction for reducing temporal and/or spatial redundancies within the received video data;
determining a luma Quantization Parameter (QP) for the luma component;
deriving a chroma QP bias from an intermediate QP index, wherein the intermediate QP index is computed by clipping a sum of the luma QP and a chroma QP offset parameter to a specified range;
calculating a chroma QP by subtracting the chroma QP bias from the luma QP or by subtracting the chroma QP bias from the intermediate QP index;
performing a transform processing during encoding of the received video data and/or performing an inverse transform processing during reconstruction of encoding or decoding of the received video data; and
performing a quantization processing during encoding of the received video data and/or performing an inverse quantization processing during reconstruction of encoding or decoding of the received video data for the luma component utilizing the luma QP and for the chroma component utilizing the chroma QP.
