CPC H04N 19/12 (2014.11) [H04N 19/124 (2014.11); H04N 19/132 (2014.11); H04N 19/18 (2014.11); H04N 19/186 (2014.11); H04N 19/30 (2014.11); H04N 19/60 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |
1. A method of video decoding, comprising:
obtaining, from a bitstream, a plurality of syntax elements associated with a coding unit, wherein the syntax elements include a first coded block flag (CBF) for residual samples of a first chroma component of the coding unit, a second CBF for residual samples of a second chroma component of the coding unit, and a third syntax element indicating whether adaptive color transform (ACT) is applied to the coding unit or not;
determining whether to perform chroma residual scaling to residual samples of at least one of the first and second chroma components according to at least one of the first CBF, the second CBF, and the third syntax element; and
in accordance with a determination to perform the chroma residual scaling to the residual samples of the at least one of the first and second chroma components,
scaling the residual samples of the at least one of the first and second chroma components based on a corresponding scaling parameter; and
reconstructing chroma samples of the coding unit using chroma residual samples after scaling.
|