# US 2021/0176469 A1 · Video decoding method and apparatus, and video encoding method and apparatus

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

- Number: US 2021/0176469 A1
- Document ID: US20210176469A1
- Status: Published application
- Kind: A1
- Application number: 17/175,152
- Filed: 2021-02-12
- Published: 2021-06-10
- Earliest claimed: 2018-08-31
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Narae Choi; Minwoo Park
- Web page: https://patentgrep.com/patent/US20210176469A1

## CPC

- 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
- G06F 1/03: working, at least partly, by table look-up (G06F1/025 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are a video decoding method and apparatus including: in a video encoding and decoding process, determining parity information of a current block based on a width and a height of the current block; determining a lookup table of the current block from among a plurality of predefined lookup tables based on the parity information; determining a dequantization scale value of the current block based on the lookup table of the current block; and performing dequantization on the current block by using the dequantization scale value.

## Claims

### Claim 1

A video decoding method comprising:
determining parity information of a current block based on a width and a height of the current block;
determining a lookup table of the current block from among a plurality of predefined lookup tables, based on the parity information;
determining a dequantization scale value of the current block, based on the lookup table of the current block; and
performing dequantization on the current block by using the dequantization scale value.

### Claim 2 (depends on 1)

The video decoding method of claim 1, wherein the dequantization scale value is selected from among dequantization scale values included in the lookup table, based on a quantization parameter of the current block.

### Claim 3 (depends on 1)

The video decoding method of claim 1, wherein the parity information is determined based on a ratio of the width and the height of the current block.

### Claim 4 (depends on 3)

The video decoding method of claim 3, wherein, when the parity information represents that the ratio of the width and the height of the current block is 1:1, 1:4, or 4:1, a first lookup table is determined as the lookup table of the current block, and
when the parity information represents that the ratio of the width and the height of the current block is 1:2, 2:1, 1:8, or 8:1, a second lookup table is determined as the lookup table of the current block.

### Claim 5 (depends on 4)

The video decoding method of claim 4, wherein a dequantization scale value included in the second lookup table is determined based on a dequantization scale value included in the first lookup table.

### Claim 6

A video encoding method comprising:
determining parity information of a current block, based on a width and a height of the current block;
determining a lookup table of the current block from among a plurality of predefined lookup tables, based on the parity information;
determining a quantization scale value for the current block, based on the lookup table of the current block; and
performing quantization on the current block by using the quantization scale value.

### Claim 7 (depends on 6)

The video encoding method of claim 6, wherein the quantization scale value is selected from among quantization scale values included in the lookup table, based on a quantization parameter of the current block.

### Claim 8 (depends on 6)

The video encoding method of claim 6, wherein the parity information is determined based on a ratio of the width and the height of the current block.

### Claim 9 (depends on 8)

The video encoding method of claim 8, wherein, when the parity information represents that the ratio of the width and the height of the current block is 1:1, 1:4, or 4:1, a first lookup table is determined as the lookup table of the current block, and
when the parity information represents that the ratio of the width and the height of the current block is 1:2, 2:1, 1:8, or 8:1, a second lookup table is determined as the lookup table of the current block.

### Claim 10 (depends on 9)

The video encoding method of claim 9, wherein a quantization scale value included in the second lookup table is determined based on a quantization scale value included in the first lookup table.

### Claim 11

A video decoding apparatus comprising:
a memory; and
at least one processor connected to the memory and configured to
determine parity information of a current block, based on a width and a height of the current block;
determine a lookup table of the current block from among a plurality of predefined lookup tables, based on the parity information;
determine a dequantization scale value for the current block, based on the lookup table of the current block; and
perform dequantization on the current block by using the dequantization scale value.

### Claim 12 (depends on 11)

The video decoding apparatus of claim 11, wherein the dequantization scale value is selected from among dequantization scale values included in the lookup table, based on a quantization parameter of the current block.

### Claim 13 (depends on 11)

The video decoding apparatus of claim 11, wherein the parity information is determined based on a ratio of the width and the height of the current block.

### Claim 14 (depends on 13)

The video decoding apparatus of claim 13, wherein, when the parity information represents that the ratio of the width and the height of the current block is 1:1, 1:4, or 4:1, a first lookup table is determined as the lookup table of the current block, and
when the parity information represents that the ratio of the width and the height of the current block is 1:2, 2:1, 1:8, or 8:1, a second lookup table is determined as the lookup table of the current block.

### Claim 15 (depends on 14)

The video decoding apparatus of claim 14, wherein a dequantization scale value included in the second lookup table is determined based on a dequantization scale value included in the first lookup table.
