Spatially varying transform with adaptive transform type
AssigneeHuawei Technologies Co., Ltd.
InventorsYin Zhao, Haitao Yang, Jianle Chen
Life of this patent
Estimating the term…
Abstract
A video decoding method includes determining a usage of an SVT-vertical (V) or an SVT-horizontal (H) for a residual block; determining a transform block position of a transform block of the residual block; determining a transform type of the transform block, wherein the transform type indicates a horizontal transform and a vertical transform for the transform block, wherein at least one of the horizontal transform or the vertical transform is a discrete sine transform (DST)-7; and reconstructing the residual block based on the transform type, the transform block position, and transform coefficients of the transform block.
Claims20
A video decoding method comprising:
- determining, according to a first flag in a bitstream, that a spatially varying transform (SVT) has been used for a residual block;
- determining, according to a second flag in the bitstream, an SVT type for the residual block, wherein the SVT type is either an SVT-vertical (V) type or an SVT-horizontal (H) type, wherein the SVT-V type indicates that a first width of a transform block of the residual block is a quarter of a second width of the residual block and that a first height of the transform block is the same as a second height of the residual block, and wherein the SVT-H type indicates that the first width is the same as the second width and that the first height is a quarter of the second height;
- determining, according to a syntax element in the bitstream, a transform block position of the transform block;
- determining a transform type of the transform block according to the SVT type and the transform block position;
- parsing transform coefficients of the transform block according to a transform block size;
- and
- reconstructing the residual block based on the transform type, the transform block size, the transform block position, and the transform coefficients.
A method comprising:
- obtaining a value of a first flag, wherein the first flag indicates a spatially varying transform (SVT) is used for a residual block;
- obtaining a value of a second flag, wherein the second flag indicates an SVT type for the residual block, wherein the SVT type is either an SVT-vertical (V) type or an SVT-horizontal (H) type, wherein the SVT-V type indicates that a first width of a transform block of the residual block is a quarter of a second width of the residual block and a first height of the transform block is the same as a second height of the residual block, and wherein the SVT-H type indicates that the first width is the same as the second width and the first height is a quarter of the second height;
- obtaining a syntax element for indicating a transform block position of the transform block, wherein a transform type of the transform block corresponds to the transform block position and the value of the second flag;
- obtaining transform coefficients of the transform block;
- including the value of the first flag, the value of the second flag, the syntax element, and the transform coefficients in a bitstream;
- and
- sending the bitstream.
A video decoding apparatus comprising:
- a non-transitory computer-readable storage medium configured to store instructions;
- and
- a processor coupled to the non-transitory computer-readable storage medium and configured to execute the instructions to cause the video decoding apparatus to be configured to:
- determine, according to a first flag in a bitstream, that a spatially varying transform (SVT) has been used for a residual block;
- determine, according to a second flag parsed from the bitstream, an SVT type for the residual block, wherein the SVT type is either an SVT-vertical (V) type or an SVT-horizontal (H) type, wherein the SVT-V type indicates that a first width of a transform block of the residual block is a quarter of a second width of the residual block and a first height of the transform block is the same as a second height of the residual block, and wherein the SVT-H type indicates that the first width is the same as the second width and the first height is a quarter of the second height;
- determine, according to a syntax element in the bitstream, a transform block position of the transform block;
- determine a transform type of the transform block according to the SVT type and the transform block position;
- parse transform coefficients of the transform block according to a transform block size;
- and
- reconstruct the residual block based on the transform type, the transform block size, the transform block position, and the transform coefficients.
An apparatus comprising:
- a non-transitory computer-readable storage medium configured to store instructions;
- and
- a processor coupled to the non-transitory computer-readable storage medium and configured to execute the instructions to cause the apparatus to be configured to:
- obtain a value of a first flag, wherein the first flag indicates a spatially varying transform (SVT) is used for a residual block;
- obtain a value of a second flag that indicates an SVT type for the residual block, wherein the SVT type is either an SVT-vertical (V) type or an SVT-horizontal (H) type, wherein the SVT-V type indicates that a first width of a transform block of the residual block is a quarter of a second width of the residual block and a first height of the transform block is the same as a second height of the residual block, and wherein the SVT-H type indicates that the first width is the same as the second width and the first height is a quarter of the second height;
- obtain a syntax element for indicating a transform block position of the transform block, wherein a transform type of the transform block corresponds to the transform block position and the value of the second flag;
- obtain transform coefficients of the transform block;
- include the value of the first flag, the value of the second flag, the syntax element, and the transform coefficients in a bitstream;
- and
- send the bitstream.
Dependencies are inferred from the claim text.