# US 2023/0276052 A1 · Video decoding method using simplified residual data coding in video coding system, and apparatus therefor

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

- Number: US 2023/0276052 A1
- Document ID: US20230276052A1
- Status: Published application
- Kind: A1
- Application number: 18/142,804
- Filed: 2023-05-03
- Published: 2023-08-31
- Earliest claimed: 2019-08-31
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jungah CHOI; Jin HEO; Sunmi YOO; Jaehyun LIM; Jangwon CHOI; Seunghwan KIM
- Web page: https://patentgrep.com/patent/US20230276052A1

## CPC

- H04N 19/122: Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- 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/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for performing video decoding by a decoding device according to the present document comprises the steps of: acquiring residual information of a current block; deriving residual samples of the current block on the basis of the residual information; and generating a reconstructed picture on the basis of the residual samples.

## Claims

### Claim at position 1

1-15. (canceled)

### Claim 16

An image decoding method, performed by a decoding apparatus, the method comprising:
obtaining a transform skip flag for a current block;
based on a value of the transform skip flag being 1, obtaining residual information of the current block;
deriving residual samples of the current block based on the residual information; and
generating a reconstructed picture based on the residual samples,
wherein the obtaining the residual information comprises:
obtaining syntax elements for a first transform coefficient to an n-th transform coefficient of the current block; and
obtaining syntax elements for an n+1th transform coefficient to a last transform coefficient of the current block,
wherein a number of context-coded syntax elements for the first transform coefficient to the n-th transform coefficient is equal to a maximum number of context-coded bins of the current block,
wherein the syntax elements for the first transform coefficient to the n-th transform coefficient are syntax elements according to a first residual data coding structure of Transform Skip Residual Coding (TSRC),
wherein the syntax elements for the n+1th transform coefficient to the last transform coefficient are syntax elements according to a second residual data coding structure of the TSRC,
wherein the syntax elements according to the first residual data coding structure include a significant coefficient flag, a sign flag, a first coefficient level flag, and a parity level flag for a transform coefficient, and
wherein the syntax elements according to the second residual data coding structure include coefficient level information and the sign flag for the transform coefficient.

### Claim 17

An image encoding method, performed by an encoding apparatus, the method comprising:
deriving residual samples for a current block;
generating residual information of Transform Skip Residual Coding (TSRC) for the residual samples;
generating a transform skip flag representing whether transform is applied to the current block; and
encoding image information including the transform skip flag and the residual information,
wherein the generating the residual information comprises:
deriving transform coefficients for the current block based on the residual samples;
generating syntax elements for a first transform coefficient to an n-th transform coefficient of the current block; and
generating syntax elements for an n+1th transform coefficient to a last transform coefficient of the current block,
wherein a number of context-coded syntax elements for the first transform coefficient to the n-th transform coefficient is equal to a maximum number of context coded bins of the current block,
wherein the syntax elements for the first transform coefficient to the n-th transform coefficient are syntax elements according to a first residual data coding structure of the TSRC,
wherein the syntax elements for the n+1th transform coefficient to the last transform coefficient are syntax elements according to a second residual data coding structure of the TSRC,
wherein the syntax elements according to the first residual data coding structure include a significant coefficient flag, a sign flag, a first coefficient level flag, and a parity level flag for a transform coefficient, and
wherein the syntax elements according to the second residual data coding structure include coefficient level information and the sign flag for a transform coefficient.

### Claim 18 (depends on 17)

A non-transitory computer-readable storage medium storing a bitstream generated by the image encoding method of the claim 17.

### Claim 19

A transmission method of data for an image, the method comprising:
obtaining a bitstream for the image, wherein the bitstream is generated based on deriving residual samples for a current block, generating residual information of Transform Skip Residual Coding (TSRC) for the residual samples, generating a transform skip flag representing whether transform is applied to the current block, and encoding image information including the transform skip flag and the residual information; and
transmitting the data comprising the bitstream,
wherein the generating the residual information comprises:
deriving transform coefficients for the current block based on the residual samples;
generating syntax elements for a first transform coefficient to an n-th transform coefficient of the current block; and
generating syntax elements for an n+1th transform coefficient to a last transform coefficient of the current block,
wherein a number of context-coded syntax elements for the first transform coefficient to the n-th transform coefficient is equal to a maximum number of context coded bins of the current block,
wherein the syntax elements for the first transform coefficient to the n-th transform coefficient are syntax elements according to a first residual data coding structure of the TSRC,
wherein the syntax elements for the n+1th transform coefficient to the last transform coefficient are syntax elements according to a second residual data coding structure of the TSRC,
wherein the syntax elements according to the first residual data coding structure include a significant coefficient flag, a sign flag, a first coefficient level flag, and a parity level flag for a transform coefficient, and
wherein the syntax elements according to the second residual data coding structure include coefficient level information and the sign flag for a transform coefficient.
