# US 2020/0288172 A1 · Method and apparatus of video coding

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

- Number: US 2020/0288172 A1
- Document ID: US20200288172A1
- Status: Published application
- Kind: A1
- Application number: 16/881,905
- Filed: 2020-05-22
- Published: 2020-09-10
- Earliest claimed: 2016-04-06
- Assignees: Media Tek Singapore Pte. Ltd.
- Applicants: Media Tek Singapore Pte. Ltd.
- Inventors: Han Huang; Kai Zhang
- Web page: https://patentgrep.com/patent/US20200288172A1

## CPC

- H04N 19/60: using transform coding
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/172: the region being a picture, frame or field
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Aspects of the disclosure include a video encoding device that includes a processing circuit configured to receive a first block corresponding to a first color space component and a second block corresponding to a second color space component. The processing circuit is configured to determine transform settings for processing a first transformed block and a second transformed block corresponding to the first and second blocks, respectively. The processing circuit is configured to generate a first syntax element set to be signaled in association with the first color space component, and to generate a second syntax element set to be signaled in association with the second color space component, where the first syntax element set indicates a first transform setting for processing the first transformed block, and the second syntax element set indicates a second transform setting for processing the second transformed block.

## Claims

### Claim 1

A video encoding method, comprising:
performing a prediction process on a current block of a current frame to generate prediction data of the current block, wherein the current block corresponds to a first color space component of a color space, a second color space component of the color space, and a third color space component of the color space;
generating residual data of the current block based on the prediction data;
applying a core transform process to the residual data associated with at least one of the first color space component, the second color space component, and the third color space component to generated intermediate transformed data of the current block;
when a secondary transform process is to be applied to the intermediate transformed data of the current block:
determining a first transform setting of the secondary transform process to be applied to the intermediate transformed data associated with the first color space component;
determining a second transform setting of the secondary transform process to be applied to the intermediate transformed data associated with the second color space component and the third color space component;
generating transformed data of the current block by applying the secondary transform process to the intermediate transformed data based on the first transform setting and the second transform setting; and
performing a quantization process on the transformed data of the current block; and
incorporating information of the first transform setting and information of the second transform setting into a bitstream.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first transform setting corresponds to a selected first transform matrix for the secondary transform process to be applied to the intermediate transformed data associated with the first color space component.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the second transform setting corresponds to a selected second transform matrix for the secondary transform process to be applied to the intermediate transformed data associated with the second color space component and the third color space component.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the first color space component corresponds to a luma component, the second color space component corresponds to a first chroma component, and the third color space component corresponds to a second chroma component.

### Claim 5

A video decoding method, comprising:
receiving encoded video data associated with a current block of a current frame, wherein the current block corresponds to a first color space component of a color space, a second color space component of the color space, and a third color space component of the color space;
deriving quantized data of the current block based on the encoded video data;
performing an inverse quantization process on the quantized data to derive transformed data of the current block;
deriving a first transform setting of an inverse secondary transform process for the transformed data associated with the first color space component from the encoded video data;
deriving a second transform setting of the inverse secondary transform process for the transformed data associated with the second color space component and the third color component from the encoded video data;
deriving an intermediate transformed data of the current block by:
performing the inverse secondary transform process to the transformed data associated with the first color space component based on the first transform setting; and
performing the inverse secondary transform process to the transformed data associated with the second color space component and the third color space component based on the second transform setting;
performing an inverse core transform process on the intermediate transformed data associated with at least one of the first color space component, the second color space component, and the third color space component to generated residual data of the current block;
decoding the current block based on the residual data and prediction data generated by a prediction process of the current block.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the first transform setting corresponds to a selected first transform matrix for the inverse secondary transform process to be applied to the transformed data associated with the first color space component.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the second transform setting corresponds to a selected second transform matrix for the inverse secondary transform process to be applied to the transformed data associated with the second color space component and the third color space component.

### Claim 8 (depends on 5)

The method according to claim 5, wherein the first color space component corresponds to a luma component, the second color space component corresponds to a first chroma component, and the third color space component corresponds to a second chroma component.

### Claim 9

A video decoding device, comprising:
a processing circuit configured to:
receive encoded video data associated with a current block of a current frame, wherein the current block corresponds to a first color space component of a color space, a second color space component of the color space, and a third color space component of the color space;
derive quantized data of the current block based on the encoded video data;
perform an inverse quantization process on the quantized data to derive transformed data of the current block;
derive a first transform setting of an inverse secondary transform process for the transformed data associated with the first color space component from the encoded video data;
derive a second transform setting of the inverse secondary transform process for the transformed data associated with the second color space component and the third color component from the encoded video data;
derive an intermediate transformed data of the current block by:
performing the inverse secondary transform process to the transformed data associated with the first color space component based on the first transform setting; and
performing the inverse secondary transform process to the transformed data associated with the second color space component and the third color space component based on the second transform setting;
perform an inverse core transform process on the intermediate transformed data associated with at least one of the first color space component, the second color space component, and the third color space component to generated residual data of the current block;
decode the current block based on the residual data and prediction data generated by a prediction process of the current block.

### Claim 10 (depends on 9)

The device according to claim 9, wherein the first transform setting corresponds to a selected first transform matrix for the inverse secondary transform process to be applied to the transformed data associated with the first color space component.

### Claim 11 (depends on 9)

The device according to claim 9, wherein the second transform setting corresponds to a selected second transform matrix for the inverse secondary transform process to be applied to the transformed data associated with the second color space component and the third color space component.

### Claim 12 (depends on 9)

The device according to claim 9, wherein the first color space component corresponds to a luma component, the second color space component corresponds to a first chroma component, and the third color space component corresponds to a second chroma component.
