Systems and methods for coding video data using adaptive component scaling
A method of encoding and decoding video data is described. According to an aspect of an invention, luma and chroma components may have separate quadtree plus binary tree (QTBT) structures and a scaling parameter for a chroma coding block is determined based on one or more properties of a luma component.
1. A method of decoding video data, the method comprising:
parsing a sequence parameter set level flag and a slice level flag indicating chroma scaling which is applied to a current chroma coding block;
mapping a top-left sample of the current chroma coding block to a corresponding sample location of a luma component sample based on a luma and chroma component spatial resolution relation;
determining an average luma value for reconstructed luma sample values;
determining a chroma scaling parameter according to a look-up table, wherein the look-up table provides the chroma scaling parameter by using the average luma value and
wherein values of the look-up table are included in a bitstream; and
scaling residual data corresponding to a chroma component of the current chroma coding block by using the determined chroma scaling parameter.