CPC H04N 19/122 (2014.11) [H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11); H04N 19/61 (2014.11)] | 20 Claims |
1. A video decoding method, comprising:
parsing a bitstream to obtain a split mode to at least two transform units (TUs) in a current coding unit (CU), wherein the split mode is used to split a coverage area of the current CU into the at least two TUs, there is no overlapping area between the at least two TUs, each of the at least two TUs has a serial number, and serial numbers of the at least two TUs are in a one-to-one correspondence with positions of the at least two TUs in the current CU;
obtaining a transform coefficient of a luminance transform block of the current TU in the at least two TUs;
obtaining a transform type of the luminance transform block of the current TU based on the split mode and the serial number of the current TU, wherein the transform type comprises a horizontal transform type and a vertical transform type;
performing an inverse transform processing on the transform coefficient of the luminance transform block of the current TU based on the transform type of the luminance transform block of the current TU, to obtain a reconstructed residual of the luminance transform block of the current TU; and
obtaining a reconstructed block of the current CU based on the reconstructed residual of the luminance transform block of the current TU.
|