| CPC H04N 19/126 (2014.11) [H04N 19/124 (2014.11); H04N 19/132 (2014.11); H04N 19/172 (2014.11); H04N 19/174 (2014.11); H04N 19/184 (2014.11); H04N 19/186 (2014.11); H04N 19/44 (2014.11)] | 3 Claims |

|
1. A method comprising:
receiving a bitstream comprising a sequence parameter set (SPS);
parsing the bitstream to obtain a luminance quantization parameter (QP) and information of a chroma QP mapping table which associates a QP index (QPi) to a chrominance QP (QPc), wherein the chroma QP mapping table is signaled in the SPS;
obtaining a QPi based at least in part on the obtained luminance QP;
obtaining the chroma QP mapping table based on the obtained information of the chroma QP mapping table;
obtaining a first QPc based on the obtained chroma QP mapping table and the obtained QPi; and
obtaining a second QPc based on the first QPc, wherein
qPChroma=Clip3(−QpBdOffset,63,QpY);
qPCb=ChromaQpTable[0][qPChroma];
qPCr=ChromaOpTable[1][qPChroma]; or
qPCbCr=ChromaQpTable[2][qPChroma];
wherein the QpY represents the luminance QPY;
wherein the ChromaOpTable represents the chroma QP mapping table;
wherein the qPChroma represents the obtained QPi;
wherein the qPCb, qPCr or qPCbCr represents the first QPc;
wherein the QpBdOffset represents a bit depth offset calculated based on a bit depth of samples of luma and chroma arrays using the following:
QpBdOffset=6*bit_depth_minus8,
wherein the bit_depth_minus8 is in a range of 0 to 8, inclusive.
|