# US 12,192,503 B2 · Method and device for processing video signal using multiple transform kernels

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

- Number: US 12,192,503 B2
- Document ID: US12192503B2
- Status: Granted
- Kind: B2
- Application number: 18/058,756
- Filed: 2022-11-24
- Published: 2023-03-30
- Granted: 2025-01-07
- Earliest claimed: 2019-01-12
- Assignees: Humax Co., Ltd.
- Applicants: Humax Co., Ltd.
- Inventors: Jaehong Jung; Juhyung Son; Dongcheol Kim; Geonjung Ko; Jinsam Kwak
- Web page: https://patentgrep.com/patent/US12192503B2

## 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/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- 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/60: using transform coding
- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for processing a video signal comprises the steps of: obtaining, from the video signal, an intra sub-partitions (ISP) mode flag indicating whether the ISP mode is applied to a current block; when the ISP mode is applied to the current block, obtaining, from the video signal, an ISP partitioning flag indicating a partitioning direction of the current block; partitioning the current block into a plurality of transform blocks on the basis of the partitioning direction; generating residual blocks of the transform blocks by performing an inverse transformation on each of the transform blocks; and restoring the current block on the basis of the residual blocks.

## Claims

### Claim 1

A non-transitory computer-readable medium storing a bitstream, the bitstream being decoded by a decoding method, the decoding method comprising:
obtaining an intra sub-partitions (ISP) mode flag indicating whether or not an ISP mode is applied to a current block;
if the ISP mode is applied to the current block, obtaining an ISP partitioning flag indicating a partitioning direction of the current block;
partitioning the current block into a plurality of transform blocks on the basis of the partitioning direction;
determining a horizontal transform kernel applied to a current transform block among the plurality of transform blocks,
wherein the horizontal transform kernel is applied to a horizontal direction of the current transform block;
determining a vertical transform kernel applied to the current transform block,
wherein the vertical transform kernel is applied to a vertical direction of the current transform block;
generating a residual block of the current transform block by performing inverse transform on the current transform block based on the horizontal transform kernel and the vertical transform kernel; and
reconstructing the current block on the basis of the residual block,
wherein when a width of the current transform block is less than a first threshold or greater than a second threshold, the horizontal transform kernel is determined to be a first transform kernel,
wherein when the width of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the horizontal transform kernel is determined to be a second transform kernel,
wherein when a height of the current transform block is less than the first threshold or greater than the second threshold, the vertical transform kernel is determined to be the first transform kernel,
wherein when the height of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the vertical transform kernel is determined to be the second transform kernel.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium storing the bitstream of claim 1,
wherein the first transform kernel is a transform kernel based on a discrete cosine transform type-2 (DCT-2), and the second transform kernel is a transform kernel based on a discrete sine transform type-7 (DST-7).

### Claim 3 (depends on 1)

The non-transitory computer-readable medium storing the bitstream of claim 1,
wherein the first threshold is determined on the basis of a minimum transform block size of a luma component.

### Claim 4 (depends on 1)

The non-transitory computer-readable medium storing the bitstream of claim 1,
wherein the second threshold is determined on the basis of a maximum size of the second transform kernel used in the ISP mode.

### Claim 5 (depends on 1)

The non-transitory computer-readable medium storing the bitstream of claim 1,
wherein the first threshold is defined as 4, and the second threshold is defined as 16.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium storing the bitstream of claim 1,
wherein the horizontal transform kernel is determined regardless of the height of the current transform block, and
wherein the vertical transform kernel is determined regardless of the width of the current transform block.

### Claim 7 (depends on 1)

The non-transitory computer-readable medium storing the bitstream of claim 1,
wherein the horizontal transform kernel is determined regardless of an intra prediction mode of the current block,
wherein the vertical transform kernel is determined regardless of the intra prediction mode of the current block.

### Claim 8

A video signal decoding device comprising a processor,
wherein the processor is configured to:
obtain an intra sub-partitions (ISP) mode flag indicating whether or not an ISP mode is applied to a current block,
if the ISP mode is applied to the current block, obtain an ISP partitioning flag indicating a partitioning direction of the current block,
partition the current block into a plurality of transform blocks on the basis of the partitioning direction,
determine a horizontal transform kernel applied to a current transform block among the plurality of transform blocks,
wherein the horizontal transform kernel is applied to a horizontal direction of the current transform block,
determine a vertical transform kernel applied to the current transform block,
wherein the vertical transform kernel is applied to a vertical direction of the current transform block,
generate a residual block of the current transform block by performing inverse transform based on the horizontal transform kernel and the vertical transform kernel on the current transform block; and
reconstruct the current block on the basis of the residual block,
wherein when a width of the current transform block is less than a first threshold or greater than a second threshold, the horizontal transform kernel is determined to be a first transform kernel,
wherein when the width of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the horizontal transform kernel is determined to be a second transform kernel,
wherein when a height of the current transform block is less than the first threshold or greater than the second threshold, the vertical transform kernel is determined to be the first transform kernel,
wherein when the height of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the vertical transform kernel is determined to be the second transform kernel.

### Claim 9 (depends on 8)

The video signal decoding device of claim 8,
wherein the first transform kernel is a transform kernel based on a discrete cosine transform type-2 (DCT-2), and the second transform kernel is a transform kernel based on a discrete sine transform type-7 (DST-7).

### Claim 10 (depends on 8)

The video signal decoding device of claim 8
wherein the first threshold is determined on the basis of a minimum transform block size of a luma component.

### Claim 11 (depends on 8)

The video signal decoding device of claim 8,
wherein the first threshold is defined as 4, and the second threshold is defined as 16.

### Claim 12 (depends on 8)

The video signal decoding device of claim 8,
wherein the horizontal transform kernel is determined regardless of the height of the current transform block, and
wherein the vertical transform kernel is determined regardless of the width of the current transform block.

### Claim 13 (depends on 8)

The video signal decoding device of claim 8,
wherein the horizontal transform kernel is determined regardless of an intra prediction mode of the current block,
wherein the vertical transform kernel is determined regardless of the intra prediction mode of the current block.

### Claim 14

A video signal encoding device comprising a processor,
wherein the processor is configured to
obtain a bitstream to be decoded by a decoder using a decoding method,
wherein the decoding method comprising:
obtaining an intra sub-partitions (ISP) mode flag indicating whether or not an ISP mode is applied to a current block;
if the ISP mode is applied to the current block, obtaining an ISP partitioning flag indicating a partitioning direction of the current block;
partitioning the current block into a plurality of transform blocks on the basis of the partitioning direction;
determining a horizontal transform kernel applied to a current transform block among the plurality of transform blocks,
wherein the horizontal transform kernel is applied to a horizontal direction of the current transform block;
determining a vertical transform kernel applied to the current transform block,
wherein the vertical transform kernel is applied to a vertical direction of the current transform block;
generating a residual block of the current transform block by performing inverse transform on the current transform block based on the horizontal transform kernel and the vertical transform kernel; and
reconstructing the current block on the basis of the residual block,
wherein when a width of the current transform block is less than a first threshold or greater than a second threshold, the horizontal transform kernel is determined to be a first transform kernel,
wherein when the width of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the horizontal transform kernel is determined to be a second transform kernel,
wherein when a height of the current transform block is less than the first threshold or greater than the second threshold, the vertical transform kernel is determined to be the first transform kernel,
wherein when the height of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the vertical transform kernel is determined to be the second transform kernel.

### Claim 15

The video signal encoding device of claim of 14,
wherein the first transform kernel is a transform kernel based on a discrete cosine transform type-2 (DCT-2), and the second transform kernel is a transform kernel based on a discrete sine transform type-7 (DST-7).

### Claim 16

The video signal encoding device of claim of 14,
wherein the first threshold is determined on the basis of a minimum transform block size of a luma component.

### Claim 17

The video signal encoding device of claim of 14,
wherein the first threshold is defined as 4, and the second threshold is defined as 16.

### Claim 18

The video signal encoding device of claim of 14,
wherein the horizontal transform kernel is determined regardless of the height of the current transform block, and
wherein the vertical transform kernel is determined regardless of the width of the current transform block.

### Claim 19

The video signal encoding device of claim of 14,
wherein the horizontal transform kernel is determined regardless of an intra prediction mode of the current block,
wherein the vertical transform kernel is determined regardless of the intra prediction mode of the current block.

### Claim 20

A video signal processing method, the method comprising:
obtaining an intra sub-partitions (ISP) mode flag indicating whether or not an ISP mode is applied to a current block;
if the ISP mode is applied to the current block, obtaining an ISP partitioning flag indicating a partitioning direction of the current block;
partitioning the current block into a plurality of transform blocks on the basis of the partitioning direction;
determining a horizontal transform kernel applied to a current transform block among the plurality of transform blocks,
wherein the horizontal transform kernel is applied to a horizontal direction of the current transform block;
determining a vertical transform kernel applied to the current transform block,
wherein the vertical transform kernel is applied to a vertical direction of the current transform block;
generating a residual block of the current transform block by performing inverse transform based on the horizontal transform kernel and the vertical transform kernel on the current transform block; and
reconstructing the current block on the basis of the residual block,
wherein when a width of the current transform block is less than a first threshold or greater than a second threshold, the horizontal transform kernel is determined to be a first transform kernel,
wherein when the width of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the horizontal transform kernel is determined to be a second transform kernel,
wherein when a height of the current transform block is less than the first threshold or greater than the second threshold, the vertical transform kernel is determined to be the first transform kernel,
wherein when the height of the current transform block is greater than or equal to the first threshold and less than or equal to the second threshold, the vertical transform kernel is determined to be the second transform kernel.
