# US 2019/0356915 A1 · Method and apparatus for encoding/decoding video signal using secondary transform

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

- Number: US 2019/0356915 A1
- Document ID: US20190356915A1
- Status: Published application
- Kind: A1
- Application number: 16/475,825
- Filed: 2017-12-27
- Published: 2019-11-21
- Earliest claimed: 2017-01-03
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Hyeongmoon JANG; Seunghwan KIM; Junghak NAM; Jaehyun LIM
- Web page: https://patentgrep.com/patent/US20190356915A1

## 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/122: Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
- H04N 19/124: Quantisation
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- 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

Disclosed are a method and an apparatus for encoding/decoding a video signal. Specifically, a method for decoding a video signal may include: generating a quantized transform block by performing entropy decoding for the video signal; generating a dequantized transform block by performing dequantization for the quantized transform block; determining whether to apply secondary inverse transform based on information related to a non-zero coefficient in the dequantized transform block; and performing the secondary inverse transform for the dequantized transform block by using a secondary inverse transform kernel applied to the dequantized transform block.

## Claims

### Claim 1

A method for decoding a video signal, the method comprising:
generating a quantized transform block by performing entropy decoding for the video signal;
generating a dequantized transform block by performing dequantization for the quantized transform block;
determining whether to apply secondary inverse transform based on information related to a non-zero coefficient in the dequantized transform block; and
performing the secondary inverse transform for the dequantized transform block by using a secondary inverse transform kernel applied to the dequantized transform block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining of whether to apply the second inverse transform comprises checking whether one or more non-zero coefficients exist in a top-left specific region of the dequantized transform block, and
wherein if one or more non-zero coefficients exist in the specific region, the secondary inverse transform is applied to the dequantized transform block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the determining of whether to apply the second inverse transform comprises checking the number of non-zero coefficients in the top-left specific region of the dequantized transform block, and
wherein if the number of non-zero coefficients in the specific region exceeds a specific threshold, the secondary inverse transform is applied to the dequantized transform block.

### Claim 4 (depends on 1)

The method of claim 1, wherein the determining of whether to apply the second inverse transform comprises:
partitioning the dequantized transform block into subblocks having a specific size, and
determining whether to apply the second inverse transform in units of the subblock.

### Claim 5 (depends on 4)

The method of claim 4, wherein the determining of whether to apply the second inverse transform in units of the subblock comprises checking whether one or more non-zero coefficients exist in a current subblock, and
wherein if one or more non-zero coefficients exist in the current subblock, the secondary inverse transform is applied to the current subblock.

### Claim 6 (depends on 4)

The method of claim 4, wherein the determining of whether to apply the second inverse transform in units of the subblock comprises checking a number of non-zero coefficients in the current subblock, and
wherein if the number of non-zero coefficients in the current subblock exceeds a specific threshold, the secondary inverse transform is applied to the current subblock.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining a size of the secondary inverse transform kernel applied to the dequantized transform block based on information related to the non-zero coefficient in the dequantized transform block.

### Claim 8 (depends on 7)

The method for decoding a video signal of claim 7, wherein the size of the secondary inverse transform kernel is determined as a size of a smallest secondary inverse transform kernel among secondary inverse transform kernels including the non-zero coefficients which exist in a region having a specific size at a top-left specific size of the dequantized transform block.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
if the size of the dequantized transform block is larger than a block having a predetermined minimum size, extracting a syntax indicating the size of the secondary inverse transform kernel from the video signal; and
determining the size of the secondary inverse transform kernel applied to the dequantized transform block based on the syntax.

### Claim 10 (depends on 9)

The method for decoding a video signal of claim 9, wherein the syntax indicating the size of the secondary inverse transform kernel is transmitted in units of a sequence, a picture, a slice, a coding block, or a transform block.

### Claim 11

An apparatus for decoding a video signal, the apparatus comprising:
an entropy decoding unit generating a quantized transform block by performing entropy decoding for the video signal;
a dequantization unit generating a dequantized transform block by performing dequantization for the quantized transform block;
a secondary inverse transform determination unit determining whether to apply secondary inverse transform based on information related to a non-zero coefficient in the dequantized transform block; and
a secondary inverse transform unit performing the secondary inverse transform for the dequantized transform block by using a secondary inverse transform kernel applied to the dequantized transform block.
