# US 2022/0030277 A1 · Method and device for processing video signal by using transform having low complexity

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

- Number: US 2022/0030277 A1
- Document ID: US20220030277A1
- Status: Published application
- Kind: A1
- Application number: 17/311,525
- Filed: 2019-12-06
- Published: 2022-01-27
- Earliest claimed: 2018-12-06
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Moonmo KOO; Jaehyun LIM; Seunghwan KIM
- Web page: https://patentgrep.com/patent/US20220030277A1

## CPC

- H04N 19/625: using discrete cosine transform [DCT]
- G06F 17/147: {Discrete orthonormal transforms, e.g. discrete cosine transform, discrete sine transform, and variations therefrom, e.g. modified discrete cosine transform, integer transforms approximating the discrete cosine transform (G06F17/145 takes precedence)}
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An embodiment of the present specification provides a method and device for processing video data. A method for processing a video signal according to an embodiment of the present specification may comprise the steps of: acquiring a transform index related to one of a plurality of transform combinations including combinations of one or more transform kernels for transforming of a current block of the video signal; deriving a transform combination including a vertical transform and a horizontal transform related to the transform index; and applying each of the vertical transform and horizontal transform of the transform combination to the current block, wherein the transform kernels include DST-7 or DST-8, the DST-7 or DST-8 is designed on the basis of a discrete Fourier transform (DFT) to which a scale value in the form of a power of 2 related to a bit length of a transform coefficient has been applied, and the transform kernels are designed using the DFT to which the scale value has been applied, so as to enable reduction of a calculation complexity for transform.

## Claims

### Claim 1

A method for processing a video signal by using a transform having a low complexity, the method comprising:
acquiring a transform index related to one of a plurality of transform combinations including combinations of one or more transform kernels for transforming of a current block of the video signal;
deriving a transform combination including a horizontal transform and a vertical transform related to the transform index; and
applying each of the vertical transform and the horizontal transform to the current block,
wherein the transform kernels include Discrete Sine Transform Type-7 (DST-7) or Discrete Cosine Transform Type-8 (DCT-8), and
wherein the DST-7 or DCT-8 is designed based on a discrete Fourier transform (DFT) to which a scale value in a form of a power of 2 related to a bit length of a transform coefficient is applied.

### Claim 2 (depends on 1)

The method of claim 1, wherein the applying of each of the vertical transform and the horizontal transform of the transform combination to the current block includes generating a preprocessed vector generated through a first permutation of an input vector including coefficients of the current block arranged in a row or column direction,
applying a first stage DFT applied to some coefficients of the preprocessed vector to the preprocessed vector at a plurality of times,
applying a second stage DFT, applied to some coefficients of an intermediate vector to which the first stage DFT is applied, to the intermediate vector to which the first stage DFT is applied at a plurality of times, and
generating a postprocessed vector through a second permutation for a vector to which the second stage DFT is applied.

### Claim 3 (depends on 2)

The method of claim 2, wherein
the first stage DFT or the second stage DFT includes a first type DFT outputting, from first input data having a first length, first output data having the first length and a second DFT outputting, from second input data having a second length different from the first length, second output data having the second length.

### Claim 4 (depends on 1)

The method of claim 1, wherein a coefficient of the DFT to which the scale value is applied is approximated by a shift operation based on the scale value.

### Claim 5 (depends on 1)

The method of claim 1, wherein when a width of the current block is N, the DST-7 or DCT-8 is derived based on a 2N+1 point DFT.

### Claim 6 (depends on 5)

The method of claim 5, wherein when the width of the current block is 16, the DST-7 or DCT-8 is derived based on a 33 point DFT, and
the 33-point DFT includes a 3-point 2D DFT as a first stage DFT and a 11-point 2D DFT as a second stage DFT.

### Claim 7 (depends on 5)

The method of claim 5, wherein when a size of the current block is 32×32, the DST-7 or DCT-8 is derived based on a 65-point DFT, and
the 65-point DFT includes a 5-point 2D DFT as a first stage DFT and a 13-point 2D DFT as a second stage DFT.

### Claim 8

A device for processing a video signal by using a transform having a low complexity, the device comprising:
a memory storing the video signal; and
a processor connected to the memory,
wherein the processor is configured to
acquire a transform index related to one of a plurality of transform combinations including combinations of one or more transform kernels for transforming of a current block of the video signal,
derive a transform combination including a horizontal transform and a vertical transform related to the transform index, and
apply each of the vertical transform and the horizontal transform of the transform combination to the current block,
wherein the transform kernels include Discrete Sine Transform Type-7 (DST-7) or Discrete Cosine Transform Type-8 (DCT-8), and
wherein the DST-7 or DCT-8 is designed based on a discrete Fourier transform (DFT) to which a scale value in a form of a power of 2 related to a bit length of a transform coefficient is applied.

### Claim 9 (depends on 8)

The device of claim 8, wherein the processor is configured to generate a preprocessed vector generated through a first permutation of an input vector including coefficients of the current block arranged in a row or column direction,
apply a first stage DFT applied to some coefficients of the preprocessed vector to the preprocessed vector at a plurality of times,
apply a second stage DFT, applied to some coefficients of an intermediate vector to which the first stage SFT is applied, to the intermediate vector to which the first stage DFT is applied at a plurality of times, and
generate the postprocessed vector through a second permutation for a transform vector to which the second stage DFT is applied.

### Claim 10 (depends on 9)

The device of claim 9, wherein the first stage DFT or the second stage DFT includes a first type DFT outputting, from first input data having a first length, first output data having the first length and a second DFT outputting, from second input data having a second length different from the first length, second output data having the second length.

### Claim 11 (depends on 8)

The device of claim 8, wherein a coefficient of the DFT to which the scale value is applied is approximated by a shift operation based on the scale value.

### Claim 12 (depends on 8)

The device of claim 8, wherein when a width of the current block is N, the DST-7 or DCT-8 is derived based on a 2N+1 point DFT.

### Claim 13 (depends on 12)

The device of claim 12, wherein when the width of the current block is 16, the DST-7 or DCT-8 is derived based on a 33 point DFT, and
the 33-point DFT includes a 3-point 2D DFT as a first stage DFT and a 11-point 2D DFT as a second stage DFT.

### Claim 14 (depends on 12)

The device of claim 12, wherein when the width of the current block is 32, the DST-7 or DCT-8 is derived based on a 65-point DFT, and
the 65-point DFT includes a 5-point 2D DFT as a first stage DFT and a 13-point 2D DFT as a second stage DFT.

### Claim 15

A non-transitory computer-readable storage medium storing a computer-executable component configured to be executed in one or more processors of a computing device, wherein the computer-executable component is configured to
acquire a transform index related to one of a plurality of transform combinations including combinations of one or more transform kernels for transforming of a current block of the video signal,
derive a transform combination including a horizontal transform and a vertical transform related to the transform index, and
apply each of the vertical transform and the horizontal transform of the transform combination to the current block,
wherein the transform kernels include Discrete Sine Transform Type-7 (DST-7) or Discrete Cosine Transform Type-8 (DCT-8), and
wherein the DST-7 or DCT-8 is designed based on a discrete Fourier transform (DFT) to which a scale value in a form of a power of 2 related to a bit length of a transform coefficient is applied.
