# US 11,310,503 B2 · 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 11,310,503 B2
- Document ID: US11310503B2
- Status: Granted
- Kind: B2
- Application number: 17/175,152
- Filed: 2021-02-12
- Published: 2021-06-10
- Granted: 2022-04-19
- 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/US11310503B2

## 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 a parity flag of a current block based on a width and a height of the current block, wherein the parity flag indicates one among a plurality of predefined lookup tables including a first predefined lookup table and a second predefined lookup table;
when the parity flag is a first value, determining a lookup table of the current block as the first predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
when the parity flag is a second value, determining the lookup table of the current block as the second predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
determining a dequantization scale value of the current block from among a plurality of dequantization scale values included in 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, when the parity flag represents that a ratio of the width and the height of the current block is 1:1, 1:4, or 4:1, the first predefined lookup table is determined as the lookup table of the current block, and
when the parity flag represents that the ratio of the width and the height of the current block is 1:2, 2:1, 1:8, or 8:1, the second predefined lookup table is determined as the lookup table of the current block.

### Claim 3 (depends on 2)

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

### Claim 4

A video encoding method comprising:
determining a parity flag of a current block, based on a width and a height of the current block, wherein the parity flag indicates one among a plurality of predefined lookup tables including a first predefined lookup table and a second predefined lookup table;
when the parity flag is a first value, determining a lookup table of the current block as the first predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
when the parity flag is a second value, determining the lookup table of the current block as the second predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
determining a quantization scale value for the current block from among a plurality of quantization scale values included in the lookup table of the current block; and
performing quantization on the current block by using the quantization scale value.

### Claim 5 (depends on 4)

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

### Claim 6 (depends on 5)

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

### Claim 7

A video decoding apparatus comprising:
a memory; and
at least one processor connected to the memory and configured to
determine a parity flag of a current block, based on a width and a height of the current block, wherein the parity flag indicates one among a plurality of predefined lookup tables including a first predefined lookup table and a second predefined lookup table;
when the parity flag is a first value, determine a lookup table of the current block as the first predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
when the parity flag is a second value, determine the lookup table of the current block as the second predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
determine a dequantization scale value for the current block from among a plurality of dequantization scale values included in the lookup table of the current block; and
perform dequantization on the current block by using the dequantization scale value.

### Claim 8 (depends on 7)

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

### Claim 9 (depends on 8)

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