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 slice level flag indicating chroma scaling is applied to a current chroma coding block, wherein the current chroma coding block has a width and a height that are not required to be equal;
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;
scaling residual data corresponding to a chroma component of the current chroma coding block by using the determined chroma scaling parameter.
2. The method of claim 1 , wherein the look-up table provides ten scaling parameter values for ten respective ranges of average luma values.
3. A device for decoding video data, the device comprising one or more processors configured to:
parse a slice level flag indicating chroma scaling is applied to a current chroma coding block, wherein the current chroma coding block has a width and a height that are not required to be equal;
determine an average luma value for reconstructed luma sample values;
determine 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;
scale residual data corresponding to a chroma component of the current chroma coding block by using the determined chroma scaling parameter.
4. The device of claim 3 , wherein the look-up table provides ten scaling parameter values for ten respective ranges of average luma values.