Systems and methods for varying quantization parameters
A video coding device may be configured to perform video coding according to one or more of the techniques described herein.
1. A method of decoding video data, the method comprising:
receiving level values corresponding to a chroma coding block, wherein the chroma coding block is a block resulting from a partitioning for a chroma coding tree block, wherein the chroma coding tree block and a corresponding luma coding tree block form a coding tree unit, wherein the corresponding luma coding tree is partitioned into luma coding blocks and the luma coding blocks are organized into quantization groups such that a plurality of luma quantization parameters are determined for the luma coding tree block, wherein the chroma coding block is misaligned with the luma coding tree block;
determining which of the plurality of luma quantization parameters is mapped to the chroma coding block;
deriving a predictive chroma quantization parameter for the chroma coding block by using a value derived from the luma quantization parameter as an index in a look-up table;
determining a quantization parameter for the chroma coding block by adding a delta quantization parameter associated with the chroma coding block to the predictive chroma quantization parameter; and
generating transform coefficient values based on the determined quantization parameter for the chroma coding block.
2. A non-transitory computer-readable storage medium comprising instructions stored thereon that, when executed, cause one or more processors of a device for decoding video data to perform any and all combinations of the steps of claim 1 .