CPC H04N 19/70 (2014.11) [H04N 19/12 (2014.11); H04N 19/132 (2014.11); H04N 19/136 (2014.11); H04N 19/174 (2014.11); H04N 19/186 (2014.11); H04N 19/30 (2014.11); H04N 19/60 (2014.11)] | 18 Claims |
1. A method of video decoding, comprising:
obtaining, from a bitstream, a first syntax element in one slice header associated with a slice, wherein the first syntax element indicates whether luma mapping with chroma scaling (LMCS) is applied to coding units in the slice;
obtaining, from the bitstream, a second syntax element for one coding unit in the slice, wherein the second syntax element indicates whether the coding unit has been coded using adaptive color-space transform (ACT);
in accordance with a determination that the second syntax element has a non-zero value, applying inverse ACT to convert luma and chroma residuals of the coding unit from one transformed color space to an original color space of video data; and
after applying the inverse ACT to convert luma and chroma residuals of the coding unit, in accordance with a determination that the first syntax element has a non-zero value, deriving intermediate luma samples based on the luma residuals of the coding unit in the original color space, performing inverse luma mapping using the intermediate luma samples and performing inverse scaling using the chroma residuals of the coding unit in the original color space.
|