These sets of chroma QP offset values are then provided to the entropy encoder 1820 to be encoded into the bitstream 1895. In some embodiments, the rate controller 1835 compiles a table of possible quantization group level offsets and provides the compiled table to the entropy encoder 1820.
The entropy encoder module 1820 is a module that performs entropy encoding (e.g., CABAC) on the quantized transform coefficients, parameters, and other information, and packages them into the bitstream 1895. In some embodiments, the entropy encoder module 1820 receives the chroma QP offset values from the rate controller module 1835 and entropy encodes them into the bitstream. In some embodiments, the entropy encoder 1820 encodes the chroma QP offset values into the PPS area of a picture as a table as described in Section I.b above. In some embodiments, the entropy encoder encodes chroma QP offset values into individual quantization groups as described in Section I.a above.