Binarization of dQP using separate absolute value and sign (SAVS) in CABAC
Video coding systems or apparatus utilizing context-based adaptive binary arithmetic coding (CABAC) during encoding and/or decoding, are configured according to the invention with an enhanced binarization of non-zero Delta-QP (dQP). During binarization the value of dQP and the sign are separately encoded using unary coding and then combined into a binary string which also contains the dQP non-zero flag. This invention capitalizes on the statistical symmetry of positive and negative values of dQP and results in saving bits and thus a higher coding efficiency.
1. A video decoding apparatus, comprising:
at least one processor configured to:
obtain an absolute value of a differential quantization parameter and a sign value of the differential quantization parameter from a bit stream, wherein the differential quantization parameter is encoded such that the absolute value and the sign value are separated;
decode the absolute value of the differential quantization parameter and the sign value of the differential quantization parameter in an order from the absolute value to the sign value, wherein the differential quantization parameter is a difference between a quantization parameter of a current coding unit and a predicted quantization parameter of the current coding unit;
set the differential quantization parameter based on the decoded absolute value of the differential quantization parameter and the decoded sign value of the differential quantization parameter; and
inversely quantize quantized data, wherein the quantized data is based on decode of the bit stream using the quantization parameter of the current coding unit.
2. The video decoding apparatus according to claim 1 , wherein the quantization parameter of the current coding unit is obtained by addition of the set differential quantization parameter and the predicted quantization parameter.
3. The video decoding apparatus according to claim 1 , wherein the at least one processor is further configured to execute a binary arithmetic decoding process on the absolute value of the differential quantization parameter and the sign value of the differential quantization parameter.
4. The video decoding apparatus according to claim 3 , wherein
the differential quantization parameter is set for each coding unit of a plurality of coding units, and
each of the plurality of coding units is obtained by division of a largest coding unit.
5. The video decoding apparatus according to claim 1 , wherein the at least one processor is further configured to decode each of the absolute value of the differential quantization parameter, a positive sign of the differential quantization parameter, and a negative sign of the differential quantization parameter in a case where the differential quantization parameter is non-zero.
6. The video decoding apparatus according to claim 5 , wherein the at least one processor is further configured to determine whether the differential quantization parameter is non-zero.
7. The video decoding apparatus according to claim 6 , wherein the at least one processor is further configured to determine whether the differential quantization parameter is non-zero based on a value that indicates that the differential quantization parameter is non-zero.
8. A video decoding method, comprising:
obtaining an absolute value of a differential quantization parameter and a sign value of the differential quantization parameter from a bit stream, wherein
the differential quantization parameter is encoded such that the absolute value and the sign value are separated;
decoding the absolute value of the differential quantization parameter and the sign value of the differential quantization parameter in an order from the absolute value to the sign value, wherein
the differential quantization parameter is a difference between a quantization parameter of a current coding unit and a predicted quantization parameter of the current coding unit;
setting the differential quantization parameter based on the decoded absolute value of the differential quantization parameter and the decoded sign value of the differential quantization parameter; and
inversely quantizing quantized data, wherein the quantized data is based on decode of the bit stream using the quantization parameter of the current coding unit.
9. The video decoding method according to claim 8 , wherein the quantization parameter of the current coding unit is obtained by addition of the set differential quantization parameter and the predicted quantization parameter.
10. The video decoding method according to claim 8 , further comprising executing a binary arithmetic decoding process on the absolute value of the differential quantization parameter and the sign value of the differential quantization parameter.
11. The video decoding method according to claim 10 , wherein
the differential quantization parameter is set for each coding unit of a plurality of coding units, and
each of the plurality of coding units is obtained by division of a largest coding unit.
12. The video decoding method according to claim 8 , further comprising decoding each of the absolute value of the differential quantization parameter, a positive sign of the differential quantization parameter, and a negative sign of the differential quantization parameter in a case where the differential quantization parameter is non-zero.
13. The video decoding method according to claim 12 , further comprising determining whether the differential quantization parameter is non-zero.
14. The video decoding method according to claim 13 , further comprising determining whether the differential quantization parameter is non-zero based on a value that indicates that the differential quantization parameter is non-zero.