# US 2021/0084343 A1 · Transform unit design 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 2021/0084343 A1
- Document ID: US20210084343A1
- Status: Published application
- Kind: A1
- Application number: 17/024,422
- Filed: 2020-09-17
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Adarsh Krishnan Ramasubramonian; Geert Van der Auwera; Vadim Seregin; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20210084343A1

## CPC

- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An example device includes a memory and one or more processors. The one or more processors are configured to determine whether a first coding tree unit (CTU) is coded using single tree and based on the first CTU being coded using single tree, determine a first transform unit (TU) based on a first transform block (TB) of luma samples and a first two corresponding TBs of chroma samples. The one or more processors are also configured to determine whether a second CTU is coded using dual tree and based on the second CTU being coded using dual tree, determine a second TU based on either (i) a second TB of luma samples or (ii) a second two TBs of chroma samples. The first TU includes syntax structures used to transform first TB samples and the second TU includes syntax structures used to transform second TB samples.

## Claims

### Claim 1

A method of coding video data, the method comprising:
determining, by one or more processors, whether a first coding tree unit (CTU) is coded using single tree;
determining, by one or more processors and based on the first CTU being coded using single tree, a first transform unit (TU) based on a first set of transform block (TB) samples comprising a first TB of luma samples and a first two corresponding TBs of chroma samples;
coding a coding unit (CU) of the first CTU based on the first TU;
determining, by the one or more processors, whether a second CTU is coded using dual tree;
determining, by one or more processors and based on the second CTU being coded using dual tree, a second TU based on a second set of TB samples comprising either (i) a second TB of luma samples or (ii) a second two TBs of chroma samples; and
coding a CU of the second CTU based on the second TU,
wherein the first TU comprises syntax structures used to transform the first set of TB samples and the second TU comprises syntax structures used to transform the second set of TB samples.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
initializing, by one or more processors and based on the second CTU being coded using dual tree, chroma coded block flag (CBF) values to zero at a beginning of a luma tree.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining, by the one or more processors, whether a coded block flag (CBF) is present; and
inferring, by the one or more processors and based on the CBF not being present, the CBF to be zero.

### Claim 4 (depends on 3)

The method of claim 3, wherein the CBF comprises a chroma CBF.

### Claim 5 (depends on 3)

The method of claim 3, wherein the CBF comprises a luma CBF.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining, by the one or more processors, whether chroma coded block flags (CBFs) have been parsed; and
parsing, by the one or more processors and based on the chroma CBFs having been parsed and values of the chroma CBFs, chroma residual syntax elements.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining, by the one or more processors, whether the second set of TB samples comprise the second two TBs of chroma samples; and
refraining, by the one or more processors and based on the second set of TB samples comprising the second two TBs of chroma samples, from coding a luma residual.

### Claim 8 (depends on 1)

The method of claim 1, wherein coding comprises encoding.

### Claim 9 (depends on 1)

The method of claim 1, wherein coding comprises decoding.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining, by one or more processors, whether a third CTU is coded using single tree;
determining, by one or more processors, whether the third CTU is coded using intra-sub partitions
determining, by one or more processors and based on the third CTU being coded using single tree and intra-sub partitions, a third TU based on a third set of TB samples comprising a third TB of luma samples and a fourth TU based on a fourth set of TB samples comprising a fourth TB of luma samples and a fourth two corresponding TBs of chroma samples;
coding a CU of the third CTU based on the third TU and the fourth TU.

### Claim 11

A device for coding video data, the device comprising:
a memory configured to store the video data; and
one or more processors implemented in circuitry and communicatively coupled to the memory, the one or more processors being configured to:
determine whether a first coding tree unit (CTU) is coded using single tree;
determine, based on the first CTU being coded using single tree, a first transform unit (TU) based on a first set of transform block (TB) samples comprising a first TB of luma samples and a first two corresponding TBs of chroma samples;
code a coding unit (CU) of the first CTU based on the first TU;
determine whether a second CTU is coded using dual tree;
determine, based on the second CTU being coded using dual tree, a second TU based on a second set of TB samples comprising either (i) a second TB of luma samples or (ii) a second two TBs of chroma samples; and
code a CU of the second CTU based on the second TU,
wherein the first TU comprises syntax structures used to transform the first set of TB samples and the second TU comprises syntax structures used to transform the second set of TB samples.

### Claim 12 (depends on 11)

The device of claim 11, wherein the one or more processors are further configured to:
initialize, based on the second CTU being coded using dual tree, chroma coded block flag (CBF) values to zero at a beginning of a luma tree.

### Claim 13 (depends on 11)

The device of claim 11, wherein the one or more processors are further configured to:
determine whether a coded block flag (CBF) is present; and
infer, based on the CBF not being present, the CBF to be zero.

### Claim 14 (depends on 13)

The device of claim 13, wherein the CBF comprises a chroma CBF.

### Claim 15 (depends on 13)

The device of claim 13, wherein the CBF comprises a luma CBF.

### Claim 16 (depends on 11)

The device of claim 11, wherein the one or more processors are further configured to:
determine whether chroma coded block flags CBFs have been parsed; and
parse, based on the chroma CBFs having been parsed and values of the chroma CBFs, chroma residual syntax elements.

### Claim 17 (depends on 11)

The device of claim 11, wherein the one or more processors are further configured to:
determine whether the second TB samples comprise the second set of two TBs of chroma samples; and
refrain, based on the second TB samples comprising the second set of two TBs of chroma samples, from coding a luma residual.

### Claim 18 (depends on 11)

The device of claim 11, wherein the device comprises a video encoder.

### Claim 19 (depends on 11)

The device of claim 11, wherein the device comprises a video decoder.

### Claim 20 (depends on 11)

The device of claim 11, wherein the one or more processors are further configured to:
determine whether a third CTU is coded using single tree;
determine whether the third CTU is coded using intra-sub partitions
determine, based on the third CTU being coded using single tree and intra-sub partitions, a third TU based on a third set of TB samples comprising a third TB of luma samples and a fourth TU based on a fourth set of TB samples comprising a fourth TB of luma samples and a fourth two corresponding TBs of chroma samples; and
code a CU of the third CTU based on the third TU and the fourth TU.

### Claim 21

A non-transitory computer-readable storage medium having instructions stored thereon which, when executed by one or more processors, cause the one or more processors to:
determine whether a first coding tree unit (CTU) is coded using single tree;
determine, based on the first CTU being coded using single tree, a first transform unit (TU) based on a first set of transform block (TB) samples comprising a first TB of luma samples and a first two corresponding TBs of chroma samples;
code a coding unit (CU) of the first CTU based on the first TU;
determine whether a second CTU is coded using dual tree;
determine, based on the second CTU being coded using dual tree, a second TU based on a second set of TB samples comprising either (i) a second TB of luma samples or (ii) a second two TBs of chroma samples; and
code a CU of the second CTU based on the second TU,
wherein the first TU comprises syntax structures used to transform the first set of TB samples and the second TU comprises syntax structures used to transform the second set of TB samples.

### Claim 22 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein the instructions further cause the one or more processors to:
initialize, based on the second CTU being coded using dual tree, chroma coded block flag (CBF) values to zero at a beginning of a luma tree.

### Claim 23 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein the instructions further cause the one or more processors to:
determine whether a coded block flag (CBF) is present;
infer, based on the CBF not being present, the CBF to be zero.

### Claim 24 (depends on 23)

The non-transitory computer-readable storage medium of claim 23, wherein the CBF comprises a chroma CBF.

### Claim 25 (depends on 23)

The non-transitory computer-readable storage medium of claim 23, wherein the CBF comprises a luma CBF.

### Claim 26 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein the instructions further cause the one or more processors to:
determine whether chroma coded block flags (CBFs) have been parsed; and
parse, based on the chroma CBFs having been parsed and values of the chroma CBFs, chroma residual syntax elements.

### Claim 27 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein the instructions further cause the one or more processors to:
determine whether the second set of TB samples comprise the second two TBs of chroma samples; and
refrain, based on the second set of TB samples comprising the second two TBs of chroma samples, from coding a luma residual.

### Claim 28 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein code comprises encode.

### Claim 29 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein code comprises decode.

### Claim 30 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein the instructions further cause the one or more processors to:
determine whether a third CTU is coded using single tree;
determine whether the third CTU is coded using intra-sub partitions
determine, based on the third CTU being coded using single tree and intra-sub partitions, a third TU based on a third set of TB samples comprising a third TB of luma samples and a fourth TU based on a fourth set of TB samples comprising a fourth TB of luma samples and a fourth two corresponding TBs of chroma samples; and
code a CU of the third CTU based on the third TU and the fourth TU.

### Claim 31

A device for coding video data, the device comprising:
means for determining whether a first coding tree unit (CTU) is coded using single tree;
means for determining, based on the first CTU being coded using single tree, a first transform unit (TU) based on a first set of transform block (TB) samples comprising a first TB of luma samples and a first two corresponding TBs of chroma samples;
means for coding a coding unit (CU) of the first CTU based on the first TU;
means for determining whether a second CTU is coded using dual tree;
means for determining, based on the second CTU being coded using dual tree, a second TU based on a second set of TB samples comprising either (i) a second TB of luma samples or (ii) a second two TBs of chroma samples; and
means for coding a CU of the second CTU based on the second TU,
wherein the first TU comprises syntax structures used to transform the first set of TB samples and the second TU comprises syntax structures used to transform the second set of TB samples.
