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

Claim 15:
16. A video encoder comprising:
one or more memories configured to store programming instructions; and
at least one processor coupled to the one or more memories and configured to execute the programming instructions to cause the video encoder to:
obtain a block of a coding unit (CU);
partition 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;
determine whether the residual TU is the only residual TU of the CU;
obtain, 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;
perform a transformation on the residual TU according to the transform type to obtain transform coefficients of the residual TU; and
generate 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.