# US 2021/0289221 A1 · Systems and methods for scaling transform coefficient level values

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

- Number: US 2021/0289221 A1
- Document ID: US20210289221A1
- Status: Published application
- Kind: A1
- Application number: 16/478,934
- Filed: 2017-12-27
- Published: 2021-09-16
- Earliest claimed: 2017-01-31
- Assignees: Sharp Kabushiki Kaisha; FG Innovation Company Limited
- Applicants: Sharp Kabushiki Kaisha; FG Innovation Company Limited
- Inventors: Kiran Mukesh MISRA; Jie ZHAO; Christopher Andrew SEGALL
- Web page: https://patentgrep.com/patent/US20210289221A1

## CPC

- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/48: using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data (motion estimation in a transform domain H04N19/547; processing of decoded motion vectors H04N19/513)
- H04N 19/124: Quantisation
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for coding video data is disclosed. The method comprising: receiving a rectangular array of coefficient level values having a width and a height; and for each coefficient level value included in the rectangular array, generating a corresponding transform coefficient value, wherein generating a corresponding transform coefficient value includes scaling a coefficient level value based on a quantization parameter and the width and the height of the rectangular array.

## Claims

### Claim at position 1

1-9. (canceled)

### Claim 10

A method of deriving a transform coefficient value, the method including:
deriving a shift value by using (i) a first value specifying a bit depth of a color component and (ii) a second value calculated by dividing a sum of a base-2 logarithm of a transform block width and a base-2 logarithm of a transform block height by two,
deriving an intermediate value by adding an bit depth offset value to a level value scaled by a scaling factor, and
deriving the transform coefficient value by right shifting the intermediate value by the shift value.

### Claim 11 (depends on 10)

The device of claim 10, wherein the bit depth offset value is derived by left shifting the shift value by one bit.

### Claim 12 (depends on 10)

The device of claim 10, wherein the shift value is derived by subtracting five from a third value.

### Claim 13 (depends on 10)

The device of claim 10, wherein the scaling factor is derived by using a fourth value divided a quantization parameter by 6.

### Claim 14 (depends on 10)

The device of claim 10, wherein the level value is derived by using the sum of the base-2 logarithm of the transform block width and the base-2 logarithm of the transform block height.

### Claim 15 (depends on 10)

The method of claim 10, wherein the transform block width and a transform block height are not equal.

### Claim 16

A decoder for decoding coded data, the decoder comprising:
an inverse quantization circuitry that derives a transform coefficient value by right shifting an intermediate value by a shift value; and
an inverse transformation processing circuitry that derives an array of residual values by using the transform coefficient value,
wherein
the shift value is derived by using (i) a first value specifying a bit depth of a color component and (ii) a second value calculated by dividing a sum of a base-2 logarithm of a transform block width and a base-2 logarithm of a transform block height by two, and
the intermediate value is derived by adding an bit depth offset value to a level value scaled by a scaling factor.

### Claim 17

An encoder for encoding video data, the encoder comprising:
an transform coefficient generate circuitry that derives a transform coefficient value by right shifting an intermediate value by a shift value; and
an transformation processing circuitry that derives an array of residual values by using the transform coefficient value,
wherein
the shift value is derived by using (i) a first value specifying a bit depth of a color component and (ii) a second value calculated by dividing a sum of a base-2 logarithm of a transform block width and a base-2 logarithm of a transform block height by two, and
the intermediate value is derived by adding an bit depth offset value to a level value scaled by a scaling factor.
