# US 12,192,526 B2 · Method and apparatus for configuring transform for video compression

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

- Number: US 12,192,526 B2
- Document ID: US12192526B2
- Status: Granted
- Kind: B2
- Application number: 18/380,044
- Filed: 2023-10-13
- Published: 2024-02-15
- Granted: 2025-01-07
- Earliest claimed: 2017-08-04
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Moonmo Koo
- Web page: https://patentgrep.com/patent/US12192526B2

## CPC

- H04N 19/625: using discrete cosine transform [DCT]
- 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/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/18: the unit being a set of transform coefficients
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/61: in combination with predictive coding
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure relates to a method for decoding a video signal based on adaptive multiple transforms (AMT). The method includes: obtaining an AMT index from the video signal, where the AMT index indicates any one of a plurality of transform combinations in a transform configuration group, and the transform configuration group includes discrete sine transform type 7 (DST7) and discrete cosine transform type 8 (DCT8); deriving a transform combination corresponding to the AMT index, where the transform combination includes a horizontal transform and a vertical transform, and at least one of the DST-7 or the DCT-8; performing an inverse transform on a current block on the basis of the transform combination; and restoring the video signal by using the inversely transformed current block. The AMT represents a transform scheme that is performed based on a transform combination adaptively selected from a plurality of transform combinations.

## Claims

### Claim 1

A decoding apparatus for image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
determine a prediction mode as an inter prediction mode to be used for a block;
determine one transform configuration group of a plurality of transform configuration groups to be used for the block of the inter prediction mode, wherein each of the plurality of transform configuration groups includes a plurality of transform combinations;
obtain a transform index, wherein the transform index (i) indicates one of a plurality of transform combinations of the determined one transform configuration group of the plurality of transform configuration groups, (ii) is a single transform index corresponding to a first index value for a horizontal transform and a second index value for a vertical transform, and (iii) is comprised of values of 0, 1, 2, 3, 4, and wherein the first index value and the second index value are determined based on the transform index and the one transform configuration group;
derive a transform combination corresponding to the transform index, wherein the transform combination is configured with a horizontal transform and a vertical transform and includes one of (DST (Discrete Sine Transform)-7, DST-7), (DST-7, DCT (Discrete Cosine Transform)-8), (DCT-8, DST-7) and (DCT-8, DCT-8);
perform an inverse transform on a transform unit based on the transform combination; and
reconstruct the video signal based on the transform unit.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the transform combination is selected based on at least one of the prediction mode, a size or a shape of the transform unit.

### Claim 3 (depends on 1)

The apparatus of claim 1, the at least one processor further configured to:
check whether a number of non-zero transform coefficient is greater than a threshold,
wherein the transform index is obtained based on the number of non-zero transform coefficient is greater than the threshold.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein performing the inverse transform comprises applying an inverse transform of the DST-7 or an inverse transform of the DCT-8 to each row after applying the inverse transform of the DST-7 or the inverse transform of the DCT-8 to each column.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the transform index is defined in at least one level of a sequence, a picture, a slice, a block, a coding unit, the transform unit or a prediction unit.

### Claim 6

An encoding apparatus for image encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
determine a prediction mode as an inter prediction mode to be used for a block;
derive a transform combination being applied to a transform unit, wherein the transform combination is configured with a horizontal transform and a vertical transform and includes one of (DST-7, DST-7), (DST-7, DCT-8), (DCT-8, DST-7) and (DCT-8, DCT-8);
perform a transform on the transform unit based on the transform combination;
determine one transform configuration group of a plurality of transform configuration groups to be used for the block of the inter prediction mode, wherein each of the plurality of transform configuration groups includes a plurality of transform combinations;
generate a transform index corresponding to the transform combination,
wherein the transform index (i) indicates one of a plurality of transform combinations of the determined one transform configuration group of the plurality of transform configuration groups, (ii) is a single transform index corresponding to a first index value for a horizontal transform and a second index value for a vertical transform, and (iii) is comprised of values of 1, 2, 3, 4, and
wherein the first index value and the second index value are determined based on the transform index and the one transform configuration group.

### Claim 7

An apparatus for transmitting data for an image, the apparatus comprising:
at least one processor configured to obtain a bitstream generated by an image encoding method; and
a transmitter configured to transmit the bitstream,
wherein the image encoding method comprises:
determining a prediction mode as an inter prediction mode to be used for a block;
deriving a transform combination being applied to a transform unit, wherein the transform combination is configured with a horizontal transform and a vertical transform and includes one of (DST-7, DST-7), (DST-7, DCT-8), (DCT-8, DST-7) and (DCT-8, DCT-8);
performing a transform on the transform unit based on the transform combination;
determining one transform configuration group of a plurality of transform configuration groups to be used for the block of the inter prediction mode, wherein each of the plurality of transform configuration groups includes a plurality of transform combinations;
generating a transform index corresponding to the transform combination,
wherein the transform index (i) indicates one of a plurality of transform combinations of the one transform configuration group of the plurality of transform configuration groups, (ii) is a single transform index corresponding to a first index value for a horizontal transform and a second index value for a vertical transform, and (iii) is comprised of values of 0, 1, 2, 3, 4, and
wherein the first index value and the second index value are determined based on the transform index and the one transform configuration group.
