CPC H04N 19/70 (2014.11) [H04N 19/18 (2014.11); H04N 19/186 (2014.11); H04N 19/625 (2014.11); H04N 19/96 (2014.11)] | 18 Claims |
1. A method of video decoding, comprising:
receiving, from a bitstream, a first syntax element associated with a coding unit, wherein the first syntax element indicates whether there exists at least one non-zero transform coefficient in the coding unit;
in response to receiving the first syntax element indicating that there exists at least one non-zero transform coefficient in the coding unit, receiving a second syntax element indicating whether the coding unit is coded with a sub-block transform (SBT) mode;
in response to receiving the second syntax element indicating that the coding unit is coded with the SBT mode,
for a first transform unit of a plurality of transform units partitioned from the coding unit, receiving, from the bitstream, a third syntax element associated with a first chroma component of the first transform unit to indicate whether all transform coefficients of the first chroma component are zeros, receiving a fourth syntax element associated with a second chroma component of the first transform unit to indicate whether all transform coefficients of the second chroma component are zeros, and receiving a fifth syntax element associated with luma component of the first transform unit to indicate whether all transform coefficients of the luma component are zeros only when at least one of the third and fourth syntax elements is equal to one, wherein the first transform unit includes non-zero transform coefficients;
decoding the transform coefficients of chroma and luma components of the first transform unit, based on the third, fourth and fifth syntax elements; and
setting transform coefficients of luma and chroma components of rest of the plurality of transform units to zeros,
wherein the third syntax element is equal to 1 and the fourth syntax element is equal to 0 or 1, or the third syntax element is equal to 0 and the fourth syntax element is equal to 1.
|