# US 2021/0289205 A1 · Encoder, decoder, encoding method, and decoding method

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

- Number: US 2021/0289205 A1
- Document ID: US20210289205A1
- Status: Published application
- Kind: A1
- Application number: 17/120,995
- Filed: 2020-12-14
- Published: 2021-09-16
- Earliest claimed: 2019-12-16
- Assignees: Panasonic Intellectual Property Corporation of America
- Applicants: Panasonic Intellectual Property Corporation of America
- Inventors: Hideo SAITOU; Masato OHKAWA; Kiyofumi ABE; Takahiro NISHI; Tadamasa TOMA; Yusuke KATO
- Web page: https://patentgrep.com/patent/US20210289205A1

## CPC

- H04N 19/124: Quantisation
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/136: Incoming video signal characteristics or properties
- 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/18: the unit being a set of transform coefficients
- H04N 19/182: the unit being a pixel
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An encoder includes circuitry and memory coupled to the circuitry. The circuitry, in operation: generates (i) a first quantization matrix for transform coefficients included in a current block to be processed and (ii) a second quantization matrix for transform coefficients included in a low frequency domain among the transform coefficients included in the current block; and quantizes the transform coefficients included in the current block using at least one of the first quantization matrix or the second quantization matrix, in accordance with a size of the current block.

## Claims

### Claim 1

An encoder comprising:
circuitry; and
memory coupled to the circuitry, wherein
the circuitry, in operation:
generates (i) a first quantization matrix for transform coefficients included in a current block to be processed and (ii) a second quantization matrix for transform coefficients included in a low frequency domain among the transform coefficients included in the current block; and
quantizes the transform coefficients included in the current block using at least one of the first quantization matrix or the second quantization matrix, in accordance with a size of the current block.

### Claim 2 (depends on 1)

The encoder according to claim 1, wherein
the circuitry:
quantizes the transform coefficients included in the current block using the first quantization matrix and the second quantization matrix when the size of the current block is at least a first size; and
quantizes the transform coefficients included in the current block using the first quantization matrix when the size of the current block is smaller than the first size.

### Claim 3 (depends on 2)

The encoder according to claim 2, wherein
the first size is 64 pixels×64 pixels.

### Claim 4 (depends on 1)

The encoder according to claim 1, wherein
the circuitry further:
generates a third quantization matrix for a direct current (DC) component of the current block;
quantizes the transform coefficients included in the current block using the third quantization matrix in addition to the first quantization matrix and the second quantization matrix when the size of the current block is at least a first size;
quantizes the transform coefficients included in the current block using the first quantization matrix when the size of the current block is at most a second size smaller than the first size; and
quantizes the transform coefficients included in the current block using the second quantization matrix when the size of the current block is larger than the second size and smaller than the first size.

### Claim 5 (depends on 4)

The encoder according to claim 4, wherein
the first size is 64 pixels×64 pixels,
the second size is 8 pixels×8 pixels, and
the third quantization matrix is a quantization matrix having a size of one coefficient for the DC component.

### Claim 6 (depends on 1)

The encoder according to claim 1, wherein
the circuitry:
generates the first quantization matrix using matrix elements corresponding to the transform coefficients included in the current block; and
generates the second quantization matrix using matrix elements corresponding to transform coefficients in a predetermined range in the low frequency domain.

### Claim 7 (depends on 6)

The encoder according to claim 6, wherein
the circuitry generates a quantization matrix for each of four regions using a corresponding one of four matrix elements, the four regions being obtained by dividing the low frequency domain in the current block into four, the four matrix elements corresponding to the transform coefficients in the predetermined range.

### Claim 8 (depends on 6)

The encoder according to claim 6, wherein
the circuitry (i) generates a quantization matrix for each of three regions of an upper left region, an upper right region, and a lower left region among four regions using a corresponding one of three matrix elements, the four regions being obtained by dividing the low frequency domain in the current block into four, the three matrix elements corresponding to the transform coefficients in the predetermined range, and (ii) generates a quantization matrix for a lower right region among the four regions using matrix elements corresponding to the lower right region among matrix elements included in the first quantization matrix.

### Claim 9

A decoder comprising:
circuitry; and
memory coupled to the circuitry, wherein
the circuitry, in operation:
generates (i) a first quantization matrix for quantized coefficients included in a current block to be processed and (ii) a second quantization matrix for quantized coefficients included in a low frequency domain among the quantized coefficients included in the current block; and
inverse quantizes the quantized coefficients included in the current block using at least one of the first quantization matrix or the second quantization matrix, in accordance with a size of the current block.

### Claim 10 (depends on 9)

The decoder according to claim 9, wherein
the circuitry:
inverse quantizes the quantized coefficients included in the current block using the first quantization matrix and the second quantization matrix when the size of the current block is at least a first size; and
inverse quantizes the quantized coefficients included in the current block using the first quantization matrix when the size of the current block is smaller than the first size.

### Claim 11 (depends on 10)

The decoder according to claim 10, wherein
the first size is 64 pixels×64 pixels.

### Claim 12 (depends on 9)

The decoder according to claim 9, wherein
the circuitry further:
generates a third quantization matrix for a direct current (DC) component of the current block;
inverse quantizes the quantized coefficients included in the current block using the third quantization matrix in addition to the first quantization matrix and the second quantization matrix when the size of the current block is at least a first size;
inverse quantizes the quantized coefficients included in the current block using the first quantization matrix when the size of the current block is at most a second size smaller than the first size; and
inverse quantizes the quantized coefficients included in the current block using the second quantization matrix when the size of the current block is larger than the second size and smaller than the first size.

### Claim 13 (depends on 12)

The decoder according to claim 12, wherein
the first size is 64 pixels×64 pixels,
the second size is 8 pixels×8 pixels, and
the third quantization matrix is a quantization matrix having a size of one coefficient for the DC component.

### Claim 14 (depends on 9)

The decoder according to claim 9, wherein
the circuitry:
generates the first quantization matrix using matrix elements corresponding to the quantized coefficients included in the current block; and
generates the second quantization matrix using matrix elements corresponding to quantized coefficients in a predetermined range in the low frequency domain.

### Claim 15 (depends on 14)

The decoder according to claim 14, wherein
the circuitry generates a quantization matrix for each of four regions using a corresponding one of four matrix elements, the four regions being obtained by dividing the low frequency domain in the current block into four, the four matrix elements corresponding to the quantized coefficients in the predetermined range.

### Claim 16 (depends on 14)

The decoder according to claim 14, wherein
the circuitry (i) generates a quantization matrix for each of three regions of an upper left region, an upper right region, and a lower left region among four regions using a corresponding one of three matrix elements, the four regions being obtained by dividing the low frequency domain in the current block into four, the three matrix elements corresponding to the quantized coefficients in the predetermined range, and (ii) generates a quantization matrix for a lower right region among the four regions using matrix elements corresponding to the lower right region among matrix elements included in the first quantization matrix.

### Claim 17

An encoding method comprising:
generating (i) a first quantization matrix for transform coefficients included in a current block to be processed and (ii) a second quantization matrix for transform coefficients included in a low frequency domain among the transform coefficients included in the current block; and
quantizing the transform coefficients included in the current block using at least one of the first quantization matrix or the second quantization matrix, in accordance with a size of the current block.

### Claim 18

A decoding method comprising:
generating (i) a first quantization matrix for quantized coefficients included in a current block to be processed and (ii) a second quantization matrix for quantized coefficients included in a low frequency domain among the quantized coefficients included in the current block; and
inverse quantizing the quantized coefficients included in the current block using at least one of the first quantization matrix or the second quantization matrix, in accordance with a size of the current block.
