# US 2022/0046259 A1 · Method and apparatus for processing video signal on basis of secondary transform

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

- Number: US 2022/0046259 A1
- Document ID: US20220046259A1
- Status: Published application
- Kind: A1
- Application number: 17/500,556
- Filed: 2021-10-13
- Published: 2022-02-10
- Earliest claimed: 2018-07-02
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Mehdi SALEHIFAR; Seunghwan Kim; Moonmo Koo; Jaehyun Lim
- Web page: https://patentgrep.com/patent/US20220046259A1

## 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/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- 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/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed is a method for decoding a video signal, including: generating a dequantized transform block by performing dequantization for a current block; acquiring an intra prediction mode of the current block; determining a secondary transform set applied to the current block among a plurality of secondary transform sets based on the intra prediction mode; deriving a transform kernel applied to the current block in the determined secondary transform set; and performing secondary transform for a top left specific area of the dequantized transform block by using the derived transform kernel, in which the plurality of secondary transform sets may include at least one mixed secondary transform set.

## Claims

### Claim at position 1

-10. (canceled)

### Claim 11

A method for decoding a video signal, comprising:
acquiring an intra prediction mode of a current block;
obtaining dequantized transform coefficients for the current block;
determining a secondary transform set applied to the current block among a plurality of secondary transform sets based on the intra prediction mode;
acquiring a secondary transform index specifying a transform kernel in the secondary transform set;
applying the transform kernel to the dequantized transform coefficients to generate secondary inverse-transformed coefficients; and
performing primary inverse-transform for the secondary inverse-transformed coefficients to generate residual samples of the current block,
wherein the secondary transform index is binarized in a truncated unary scheme based on a number of available transform kernels in the secondary transform set.

### Claim 12 (depends on 11)

The method of claim 11, wherein each of the plurality of secondary transform sets includes two transform kernels.

### Claim 13 (depends on 11)

The method of claim 11, wherein the plurality of secondary transform sets include at least one mixed secondary transform set.

### Claim 14 (depends on 13)

The method of claim 13, wherein the mixed secondary transform set includes at least one 8×8 transform kernel applied to an 8×8 size area and at least one 4×4 transform kernel applied to a 4×4 size area.

### Claim 15 (depends on 14)

The method of claim 14, wherein when the plurality of secondary transform sets include a plurality of mixed secondary transform sets, the plurality of mixed secondary transform sets include different numbers of transform kernels, respectively.

### Claim 16 (depends on 15)

The method of claim 15, wherein the secondary transform index is binarized in the truncated unary scheme based on a maximum number of available transform kernels in the determined secondary transform set.

### Claim 17

A method for encoding a video signal, comprising:
obtaining residual samples for a current block according to intra prediction;
obtain primary-transformed coefficients for the residual samples;
determining a secondary transform set to be applied to the primary-transformed coefficients among a plurality of secondary transform sets based on an intra prediction mode applied to the current block;
determining a transform kernel in the secondary transform set;
applying the transform kernel to some coefficients of the primary-transformed coefficients; and
generating a secondary transform index specifying the transform kernel in the secondary transform set,
wherein the secondary transform index is binarized in a truncated unary scheme based on a number of available transform kernels in the secondary transform set.

### Claim 18 (depends on 17)

The method of claim 17, wherein each of the plurality of secondary transform sets includes two transform kernels.

### Claim 19 (depends on 17)

The method of claim 17, wherein the plurality of secondary transform sets include at least one mixed secondary transform set.

### Claim 20 (depends on 19)

The method of claim 19, wherein the mixed secondary transform set includes at least one 8×8 transform kernel applied to an 8×8 size area and at least one 4×4 transform kernel applied to a 4×4 size area.

### Claim 21

A non-transitory computer-readable storage medium for storing picture information generated by performing the steps of:
obtaining residual samples for a current block according to intra prediction;
obtain primary-transformed coefficients for the residual samples;
determining a secondary transform set to be applied to the primary-transformed coefficients among a plurality of secondary transform sets based on an intra prediction mode applied to the current block;
determining a transform kernel in the secondary transform set;
applying the transform kernel to some coefficients of the primary-transformed coefficients; and
generating a secondary transform index specifying the transform kernel in the secondary transform set,
wherein the secondary transform index is binarized in a truncated unary scheme based on a number of available transform kernels in the secondary transform set.
