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

Claim 0:
1. A coding device comprising one or more memories and one or more processors, the one or more memories comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform:
parsing a bitstream to obtain a prediction block and a transformed residual block corresponding to the prediction block;
parsing a flag from the bitstream to determine a type of spatial varying transform (SVT) used for the transformed residual block, wherein the type of the SVT is a SVT vertical (SVT-V) type or a SVT horizontal (SVT-H) type;
applying an inverse of the SVT to the transformed residual block to produce a reconstructed residual block, wherein the inverse of the SVT is based on a position of a block of the SVT relative to the transformed residual block, wherein the inverse of the SVT includes inverse discrete sine transform version seven (DST-7) when the position of the SVT covers a bottom-right corner of the transformed residual block, and wherein the inverse of the SVT includes inverse discrete cosine transform version eight (DCT-8) when the position of the SVT covers a top-left corner of the transformed residual block; and
combining the reconstructed residual block with the prediction block to reconstruct an image block.