Chroma quantization parameter extension
The quantization parameters (QP) for Chroma are extended up to and more preferably to the same range as Luma QP (e.g., 0 to 51). Previous, values of Chroma QP only extended up to 39. Techniques are provided for determining extended Chroma QP values (e.g., for Cr and Cb) based on the Luma QP and picture level chroma offsets. In one preferred embodiment, slice level offsets are added making the method particularly well-suited for slice level parallel processing. The extension of Chroma QP enhances functionality, flexibility and friendliness of the High Efficiency Video Coding (HEVC) standard for various applications.
1. A decoding apparatus, comprising:
a processor; and
a memory storing computer instructions which, when executed by the processor, cause the decoding apparatus to:
obtain a picture level chroma QP offset and a slice level chroma QP offset from an encoded video;
derive a chroma QP based on a parameter determined by adding the picture level chroma QP offset and the slice level chroma QP offset to a luma QP, the chroma QP having a range equal to a luma QP range of 0 to 51;
perform inverse quantization based on the derived chroma QP.
2. The decoding apparatus of claim 1 , wherein the instructions further cause the decoding apparatus to:
clip the chroma QP, wherein:
when the chroma QP is less than 0, set the derived chroma QP to 0, and
when the chroma QP is greater than 51, set the derived chroma QP to 51.
3. The decoding apparatus of claim 1 ,
wherein the slice level chroma QP offset is included in a slice header syntax in the encoded video, and
wherein the instructions further cause the decoding apparatus to obtain the slice level chroma QP offset from the slice header syntax.
4. The decoding apparatus of claim 1 ,
wherein the picture level chroma QP offset is included as a picture parameter set syntax in the encoded video, and
wherein the instructions are further configured to cause the decoding apparatus to obtain the picture level chroma QP offset from the picture parameter set syntax.
5. The decoding apparatus of claim 1 , wherein the instructions are further configured to cause the decoding apparatus to:
generate transform data based on the inverse quantization; and
execute inverse orthogonal-transformation on the transform data.
6. A decoding method, comprising:
obtaining, by a decoding apparatus, a picture level chroma QP offset and a slice level chroma QP offset from an encoded video;
deriving, by the decoding apparatus, a chroma QP based on a parameter determined by adding the picture level chroma QP offset and the slice level chroma QP offset to a luma QP, the chroma QP having a range equal to a luma QP range of 0 to 51; and
performing, by the decoding apparatus, inverse quantization ( 60 ) based on the chroma QP.
7. The decoding method of claim 6 , comprising:
clipping the chroma QP, wherein:
when the chroma QP is less than 0, set the derived chroma QP to 0, and
when the chroma QP is greater than 51, set the derived chroma QP to 51.
8. The decoding method of claim 6 , further comprising,
obtaining, by the decoding apparatus, the slice level chroma QP offset from a slice header syntax,
wherein the slice level chroma QP offset is included in the slice header syntax of the encoded video.
9. The decoding method of claim 6 , further comprising:
obtaining, by the decoding apparatus, the picture level chroma QP offset from a picture parameter set syntax,
wherein the picture level chroma QP offset is included in the picture parameter set syntax of the encoded video.
10. The decoding method of claim 6 , further comprising:
generating, by the decoding apparatus, transform data based on the inverse quantization; and
executing, by the decoding apparatus, inverse orthogonal-transformation on the transform data.