# US 2022/0295068 A1 · Method and device for efficiently applying transform skip mode to data block

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

- Number: US 2022/0295068 A1
- Document ID: US20220295068A1
- Status: Published application
- Kind: A1
- Application number: 17/438,626
- Filed: 2020-03-13
- Published: 2022-09-15
- Earliest claimed: 2019-03-13
- Assignees: Hyundai Motor Company; Kia Motors Corporation; Ewha University-Industry Collaboration Foundation
- Applicants: Hyundai Motor Company; Kia Motors Corporation; Ewha University - Industry Collaboration Foundation
- Inventors: Je Won Kang; Sang Hyo Park; Seung Wook Park; Wha Pyeong Lim
- Web page: https://patentgrep.com/patent/US20220295068A1

## CPC

- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- 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/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/61: in combination with predictive coding
- H04N 19/625: using discrete cosine transform [DCT]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed are a method and an apparatus for efficiently applying a transform skip mode to a transform block. According to an embodiment of the present invention, a video decoding apparatus determines, based on transform skip information associated with a current block, the transform skip information being decoded from a bitstream, whether a subblock for which transform is skipped and one or more subblocks to which transform is applied are included in the current block. When determining that the current block includes the subblock for which the transform is skipped and the one or more subblocks to which the transform is applied are included in the current block, the video decoding apparatus decodes a first residual subblock using a decoding procedure not involving inverse transform for the subblock for which the transform is skipped, and decodes one or more second residual subblocks using a decoding procedure involving the inverse transform for the one or more subblocks to which the transform is applied. The video decoding apparatus adds the first residual subblock and the one or more second residual subblocks to a prediction block to reconstruct the current block. Representative drawing: FIGS. 5A-5D

## Claims

### Claim 1

A method of decoding video data, comprising:
decoding transform skip information associated with a current block from a bitstream;
determining, based on the transform skip information, whether a subblock for which transform is skipped and one or more subblocks to which transform is applied are included in the current block;
when it is determined that the current block includes the subblock for which the transform is skipped and the one or more subblocks to which the transform is applied are included in the current block, decoding a first residual subblock using a decoding procedure not involving inverse transform for the subblock for which the transform is skipped, and decoding one or more second residual subblocks using a decoding procedure involving the inverse transform for the one or more subblocks to which the transform is applied; and
adding the first residual subblock and the one or more second residual subblocks to a prediction block to reconstruct the current block.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
when it is determined that the current block does not include the one or more subblocks to which the transform is applied, decoding an associated residual block using the decoding procedure not involving the inverse transform for the current block; and
adding the associated residual block to the prediction block to reconstruct the current block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the decoding of the one or more second residual subblocks comprises:
decoding, from the bitstream, an index indicating transform kernels applied in horizontal and vertical directions for each of the one or more subblocks to which the transform is applied; and
performing the inverse transform on each of the one or more subblocks to which the transform is applied, using the transform kernels indicated by the index.

### Claim 4 (depends on 1)

The method of claim 1, wherein the decoding of the transform skip information comprises:
decoding a first syntax element indicating whether a transform skip mode is used for encoding of the current block; and
when the first syntax element indicates that the transform skip mode is used for encoding of the current block, decoding a second syntax element indicating a transform skip type selected for the current block.

### Claim 5 (depends on 4)

The method of claim 4, wherein the transform skip type includes a non-split type in which transform is skipped for all residual values of the current block and at least one split type in which transform is skipped for only residual values of a specific subblock in the current block.

### Claim 6 (depends on 4)

The method of claim 4, wherein the decoding of the transform skip information further comprises:
determining, before the decoding of the first syntax element, maximum size information about a block to which the transform skip mode is applicable based on one or more high-level syntax elements related to the current block;
determining whether the transform skip mode is applicable to the current block based on the maximum size information and a width and height of the current block; and
decoding the first syntax element when it is determined that the transform skip mode is applicable to the current block.

### Claim 7 (depends on 6)

The method of claim 6, wherein the maximum size information includes a maximum width and a maximum height of the block allowing application of the transform skip mode.

### Claim 8 (depends on 6)

The method of claim 6, wherein, based on the current block being a block of a chroma component,
the determining of the maximum size information about the block to which the transform skip mode is applicable comprises:
determining, from the one or more high-level syntax elements, maximum size information about a luma block to which the transform skip mode is applicable; and
deriving, from the maximum size information about the luma block, maximum size information about a chroma block to which the transform skip mode is applicable based on a chroma sampling format of the video data.

### Claim 9 (depends on 6)

The method of claim 6, wherein, based on the current block being a block of a chroma component,
the determining of the maximum size information about the block to which the transform skip mode is applicable comprises:
determining the maximum size information about the chroma block to which the transform skip mode is applicable directly from the one or more high-level syntax elements.

### Claim 10

An apparatus for decoding video data, comprising:
a means for decoding transform skip information associated with a current block from a bitstream;
a means for determining, based on the transform skip information, whether a subblock for which transform is skipped and one or more subblocks to which transform is applied are included in the current block;
a means for performing, when it is determined that the current block includes the subblock for which the transform is skipped and the one or more subblocks to which the transform is applied are included in the current block, decoding a first residual subblock using a decoding procedure not involving inverse transform the subblock for which the transform is skipped, and decoding one or more second residual subblocks using a decoding procedure involving the inverse transform for the one or more subblocks to which the transform is applied; and
a means for adding the first residual subblock and the one or more second residual subblocks to a prediction block to reconstruct the current block.

### Claim 11 (depends on 10)

The apparatus of claim 10, further comprising:
a means for decoding, when it is determined that the current block does not include the one or more subblocks to which the transform is applied, an associated residual block using the decoding procedure not involving the inverse transform for the current block; and
a means for adding the associated residual block to the prediction block to reconstruct the current block.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the means for decoding the one or more second residual subblocks is configured to:
decode, from the bitstream, an index indicating transform kernels applied in horizontal and vertical directions for each of the one or more subblocks to which the transform is applied; and
perform the inverse transform on the each of one or more subblocks to which the transform is applied, using the transform kernels indicated by the indexes.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the means for decoding the transform_skip information is configured to:
decode a first syntax element indicating whether a transform skip mode is used for encoding of the current block; and
decode, when the first syntax element indicates that the transform skip mode is used for encoding of the current block, a second syntax element indicating a transform skip type selected for the current block.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the transform skip type includes a non-split type in which transform is skipped for all residual values of the current block is skipped and at least one split type in which transform is skipped for only residual values of a specific subblock in the current block.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein the means for decoding the transform_skip information is configured to:
determine, before the decoding of the first syntax element, maximum size information about a block to which the transform skip mode is applicable based on one or more high-level syntax elements related to the current block;
determine whether the transform skip mode is applicable to the current block based on the maximum size information and a width and height of the current block; and
decode the first syntax element when it is determined that the transform skip mode is applicable to the current block.
