# US 2019/0379911 A1 · Fast method for implementing discrete sine transform type vii (dst 7)

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

- Number: US 2019/0379911 A1
- Document ID: US20190379911A1
- Status: Published application
- Kind: A1
- Application number: 16/549,463
- Filed: 2019-08-23
- Published: 2019-12-12
- Earliest claimed: 2018-05-07
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Xin Zhao; Xiang Li; Shan Liu
- Web page: https://patentgrep.com/patent/US20190379911A1

## CPC

- H04N 19/60: using transform coding
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- 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/625: using discrete cosine transform [DCT]
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and apparatus for decoding a video sequence using a discrete sine transform (DST) type-VII transform core includes generating a set of tuples of transform core elements associated with an n-point DST-VII transform core. A first sum of a first subset of transform core elements of a first tuple is equal to a second sum of a second subset of remaining transform core elements of the first tuple. The n-point DST-VII transform core is generated based on generating the set of tuples of transform core elements. A transform on a block is performed using the n-point DST-VII transform core.

## Claims

### Claim 1

A method for decoding a video sequence using a discrete sine transform (DST) type-VII transform core, comprising:
identifying a set of tuples of transform core elements associated with an n-point DST-VII transform core;
obtaining an input vector that includes n input values; and
generating an output transform coefficient vector that includes n output values by performing m multiplication operations based on the set of tuples of transform core elements, wherein m is less than n.

### Claim 2 (depends on 1)

The method of claim 1, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, and a third transform core element, and wherein a sum of absolute values of the first transform core element and the second transform core element is equal to an absolute value of the third transform core element.

### Claim 3 (depends on 1)

The method of claim 1, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, a third transform core element, and a fourth transform core element, and wherein a sum of absolute values of the first transform core element and the second transform core element is equal to a sum of absolute values of the third transform core element and the fourth transform core element.

### Claim 4 (depends on 1)

The method of claim 1, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, a third transform core element, and a fourth transform core element, and wherein a sum of absolute values of the first transform core element, the second transform core element, and the third transform core element is equal to an absolute value of the fourth transform core element.

### Claim 5 (depends on 1)

The method of claim 1, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, a third transform core element, a fourth transform core element, and a fifth transform core element, and wherein a sum of absolute values of first transform core element, the second transform core element, and the third transform core element is equal to a sum of the fourth transform core element and the fifth transform core element.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the output transform coefficient vector that includes n output values by performing m multiplication operations based on the set of tuples of transform core elements, wherein m is less than n, comprises:
generating the output transform coefficient vector using a set of pre-defined constants which are associated with powers of two.

### Claim 7 (depends on 1)

The method of claim 1, wherein n is equal to sixty four, and wherein each tuple, of the set of tuples, includes three transform core elements.

### Claim 8 (depends on 1)

The method of claim 1, wherein n is equal to thirty two, and wherein each tuple, of the set of tuples, includes five transform core elements.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating the output transform coefficient vector comprises generating the output transform coefficient vector for a first row; and
where the method further comprises:
generating another output transform coefficient vector for a second row using a set of intermediate results associated with the first row.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
scaling the transform core elements using a predetermined constant.

### Claim 11

A device for decoding a video sequence using a discrete sine transform (DST) type-VII transform core, comprising:
at least one memory configured to store program code;
at least one processor configured to read the program code and operate as instructed by the program code, the program code including:
identifying code configured to cause the at least one processor to identify a set of tuples of transform core elements associated with an n-point DST-VII transform core;
obtaining code configured to cause the at least one processor to obtain an input vector that includes n input values; and
generating code configured to cause the at least one processor to generate an output transform coefficient vector that includes n output values by performing m multiplication operations based on the set of tuples of transform core elements, wherein m is less than n.

### Claim 12 (depends on 11)

The device of claim 11, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, and a third transform core element, and wherein a sum of absolute values of the first transform core element and the second transform core element is equal to an absolute value of the third transform core element.

### Claim 13 (depends on 11)

The device of claim 11, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, a third transform core element, and a fourth transform core element, and wherein a sum of absolute values of the first transform core element and the second transform core element is equal to a sum of absolute values of the third transform core element and the fourth transform core element.

### Claim 14 (depends on 11)

The device of claim 11, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, a third transform core element, and a fourth transform core element, and wherein a sum of absolute values of the first transform core element, the second transform core element, and the third transform core element is equal to an absolute value of the fourth transform core element.

### Claim 15 (depends on 11)

The device of claim 11, wherein a tuple, of the set of tuples, includes a first transform core element, a second transform core element, a third transform core element, a fourth transform core element, and a fifth transform core element, and wherein a sum of absolute values of first transform core element, the second transform core element, and the third transform core element is equal to a sum of the fourth transform core element and the fifth transform core element.

### Claim 16 (depends on 11)

The device of claim 11, wherein the generating code is further configured to cause the at least one processor to generate the output transform coefficient vector using a set of pre-defined constants which are associated with powers of two.

### Claim 17 (depends on 11)

The device of claim 11, wherein n is equal to sixty four, and wherein each tuple, of the set of tuples, includes three transform core elements.

### Claim 18 (depends on 11)

The device of claim 11, wherein n is equal to thirty two, and wherein each tuple, of the set of tuples, includes five transform core elements.

### Claim 19 (depends on 11)

The device of claim 11, further comprising:
scaling code configured to cause the at least one processor to scale the transform core elements using a predetermined constant.

### Claim 20

A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors of a device, cause the one or more processors to:
identify a set of tuples of transform core elements associated with an n-point DST-VII transform core;
obtain an input vector that includes n input values; and
generate an output transform coefficient vector that includes n output values by performing m multiplication operations based on the set of tuples of transform core elements, wherein m is less than n.
