Patent ID: 11956455
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 10:
11. A method comprising:
obtaining a block of a coding unit (CU);
partitioning the CU according to a TU partitioning mode to obtain a residual transform unit (TU), wherein a size of the residual TU is less than a size of the CU;
determining whether the residual TU is the only residual TU of the CU;
obtaining, when the residual TU is the only residual TU of the CU, a transform type of the residual TU based on the TU partitioning mode and a position of the residual TU;
performing a transformation on the residual TU according to the transform type to obtain transform coefficients of the residual TU; and
generating a bitstream comprising the transform coefficients, the TU partitioning mode, the position, and information for indicating whether the residual TU is the only residual TU of the CU and whether the size of the residual TU is less than the size of the CU.