Patent attributes
The present disclosure discloses a video decoding method, including: parsing a received bitstream to obtain prediction information of a CU; obtaining a target transform mode of a residual TU; parsing the received bitstream to obtain transform coefficients of the residual TU; applying an inverse quantization to the transform coefficients of the residual TU to obtain dequantized coefficients; applying, based on the target transform mode, an inverse transform to the dequantized coefficients to obtain a residual block of the residual TU; obtaining a prediction block of the CU based on the prediction information; and obtaining a video block based on the residual block and the prediction block; and outputting a video sequence, the video sequence including a video frame that includes the video block.