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

Claim 12:
13. A non-transitory computer readable medium configured to store a computer program product comprising computer executable instructions that, when executed by one or more processors of a coding device, cause the one or more processors to perform the steps of:
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.