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

Claim 5:
6. A video decoder comprising:
a receiver configured to receive a bitstream comprising prediction information of a coding unit (CU), information for indicating whether the CU has only one residual transform unit (TU) and whether a size of the residual TU is less than a size of the CU, a TU partitioning mode, and a position of the residual TU, wherein the TU partitioning mode indicates how to partition the CU to obtain the residual TU; and
at least one processor coupled to the receiver and configured to:
parse the prediction information of the CU from the bitstream;
determine whether the CU has only one residual TU and whether the size of the residual TU is less than the size of the CU;
obtain, when the CU has only one residual TU and when the size of the residual TU is less than the size of the CU, the TU partitioning mode and the position of the residual TU;
obtain a transform type of the residual TU based on the TU partitioning mode and the position of the residual TU;
obtain transform coefficients of the residual TU;
obtain a residual block of the CU based on the transform coefficients and the transform type;
obtain a prediction block of the CU based on the prediction information; and
obtain a video block based on the residual block and the prediction block.