# US 2025/0168409 A1 · Methods and system of subblock transform for video coding

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

- Number: US 2025/0168409 A1
- Document ID: US20250168409A1
- Status: Published application
- Kind: A1
- Application number: 19/029,522
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2019-06-13
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Xiaoyu Xiu; Yi-Wen Chen; Xianglin Wang; Shuiming Ye; Tsung-Chuan Ma; Hong-Jheng Jhu
- Web page: https://patentgrep.com/patent/US20250168409A1

## CPC

- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- 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/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/186: the unit being a colour or a chrominance component
- H04N 19/625: using discrete cosine transform [DCT]
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A computing device performs a method of decoding video data by receiving, from a bitstream, a first syntax element associated with an SBT coding unit that indicates that there exists at least one non-zero transform coefficient in the SBT coding unit; determining a first transform unit that includes non-zero transform coefficients; receiving a second syntax element associated with a first chroma component of the first transform unit, a third syntax element associated with a second chroma component, and a fourth syntax element associated with luma component of the first transform unit; decoding the transform coefficients of chroma and luma components of the first transform unit, based on the second, third and fourth syntax elements; and setting transform coefficients of luma and chroma components of rest of the plurality of transform units to zeros.

## Claims

### Claim 1

A method of video encoding, comprising:
determining a first syntax element associated with a current coding unit, wherein the first syntax element indicates whether there exists at least one non-zero transform coefficient in the current coding unit;
in response to determining the first syntax element indicating that there exists at least one non-zero transform coefficient in the current coding unit, determining a second syntax element indicating whether the current coding unit is coded with a sub-block transform (SBT) mode;
in response to determining the second syntax element indicating that the current coding unit is coded with the SBT mode,
for a first transform unit of a plurality of transform units partitioned from the current coding unit, determining a third syntax element associated with a first chroma component of the first transform unit to indicate whether all transform coefficients of the first chroma component are zeros, determining a fourth syntax element associated with a second chroma component of the first transform unit to indicate whether all transform coefficients of the second chroma component are zeros, and when at least one of the third and fourth syntax elements is equal to one, determining a fifth syntax element associated with a luma component of the first transform unit to indicate whether all transform coefficients of the luma component are zeros, wherein the first transform unit includes non-zero transform coefficients; and
encoding at least one of the first syntax element, the second syntax element, the third syntax element, the fourth syntax element and the fifth syntax element into a video bitstream.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first transform unit is an only one of the plurality of transform units that includes non-zero transform coefficients.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
setting the fifth syntax element to one when both the third and fourth syntax elements are zeros.

### Claim 4 (depends on 1)

The method of claim 1, wherein the current coding unit is partitioned into a ternary tree partition scheme that divides the current coding unit into three transform units, and wherein the transform coefficients of two of the three transform units are set to zeros.

### Claim 5 (depends on 1)

A computing device, comprising:
one or more processors;
memory coupled to the one or more processors; and
a plurality of programs stored in the memory that, when executed by the one or more processors, cause the computing device to perform operations of the method of claim 1.

### Claim 6 (depends on 5)

The computing device of claim 5, wherein the first transform unit is an only one of the plurality of transform units that includes non-zero transform coefficients.

### Claim 7 (depends on 5)

The computing device of claim 5, wherein the operations further comprise:
setting the fifth syntax element to one when both the third and fourth syntax elements are zeros.

### Claim 8 (depends on 5)

The computing device of claim 5, wherein the current coding unit is partitioned into a ternary tree partition scheme that divides the current coding unit into three transform units, and wherein the transform coefficients of two of the three transform units are set to zeros.

### Claim 9

A method of video decoding, comprising:
receiving, from a bitstream, a first syntax element associated with a coding unit, wherein the first syntax element indicates whether there exists at least one non-zero transform coefficient in the coding unit;
in response to receiving the first syntax element indicating that there exists at least one non-zero transform coefficient in the coding unit, receiving a second syntax element indicating whether the coding unit is coded with a sub-block transform (SBT) mode;
in response to receiving the second syntax element indicating that the coding unit is coded with the SBT mode,
for a first transform unit of a plurality of transform units partitioned from the coding unit, receiving, from the bitstream, a third syntax element associated with a first chroma component of the first transform unit to indicate whether all transform coefficients of the first chroma component are zeros, receiving a fourth syntax element associated with a second chroma component of the first transform unit to indicate whether all transform coefficients of the second chroma component are zeros, and receiving a fifth syntax element associated with a luma component of the first transform unit to indicate whether all transform coefficients of the luma component are zeros only when at least one of the third and fourth syntax elements is equal to one, wherein the third syntax element and the fourth syntax element are received before the fifth syntax element, and the first transform unit includes non-zero transform coefficients;
decoding the transform coefficients of chroma and luma components of the first transform unit, based on the third, fourth and fifth syntax elements; and
setting transform coefficients of luma and chroma components of rest of the plurality of transform units to zeros.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first transform unit is an only one of the plurality of transform units that includes non-zero transform coefficients.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
setting the fifth syntax element to one when both the third and fourth syntax elements are zeros.

### Claim 12 (depends on 9)

The method of claim 9, wherein the coding unit is partitioned into a ternary tree partition scheme that divides a coding unit into three transform units, and wherein the transform coefficients of two of the three transform units are set to zeros.

### Claim 13 (depends on 9)

A computing device, comprising:
one or more processors;
memory coupled to the one or more processors; and
a plurality of programs stored in the memory that, when executed by the one or more processors, cause the computing device to perform operations of the method of claim 9.

### Claim 14 (depends on 13)

The computing device of claim 13, wherein the first transform unit is the only one of the plurality of transform units that includes non-zero transform coefficients.

### Claim 15 (depends on 13)

The computing device of claim 13, wherein the operations further comprise:
setting the fifth syntax element to one when both the third and fourth syntax elements are zeros.

### Claim 16 (depends on 13)

The computing device of claim 13, wherein the coding unit is partitioned into a ternary tree partition scheme that divides a coding unit into three transform units, and wherein the transform coefficients of two of the three transform units are set to zeros.

### Claim 17

A method for storing a bitstream, comprising:
performing an encoding method to generate a bitstream; and
storing the bitstream on a non-transitory computer readable storage medium,
wherein the encoding method comprises:
dividing a video frame into a plurality of coding units;
determining a first syntax element associated with a current coding unit of the plurality of coding units, wherein the first syntax element indicates whether there exists at least one non-zero transform coefficient in the current coding unit;
in response to the first syntax element indicating that there exists at least one non-zero transform coefficient in the current coding unit, determining a second syntax element indicating whether the current coding unit is coded with a sub-block transform (SBT) mode;
in response to the second syntax element indicating that the current coding unit is coded with the SBT mode,
for a first transform unit of a plurality of transform units partitioned from the current coding unit,
determining a third syntax element associated with a first chroma component of the first transform unit to indicate whether all transform coefficients of the first chroma component are zeros, determining a fourth syntax element associated with a second chroma component of the first transform unit to indicate whether all transform coefficients of the second chroma component are zeros, and determining a fifth syntax element associated with a luma component of the first transform unit to indicate whether all transform coefficients of the luma component are zeros when at least one of the third and fourth syntax elements is equal to one, wherein the first transform unit includes non-zero transform coefficients; and
encoding at least one of the first syntax element, the second syntax element, the third syntax element, the fourth syntax element and the fifth syntax element into a video bitstream.

### Claim 18 (depends on 17)

The method of claim 17, wherein the first transform unit is an only one of the plurality of transform units that includes non-zero transform coefficients.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
setting the fifth syntax element to one when both the third and fourth syntax elements are zeros.

### Claim 20 (depends on 17)

The method of claim 17, wherein the current coding unit is partitioned into a ternary tree partition scheme that divides the current coding unit into three transform units, and
wherein the transform coefficients of two of the three transform units are set to zeros.
