METHOD AND APPARATUS FOR VIDEO ENCODING AND DECODING WITH ADAPTIVE DEPENDENT QUANTIZATION
At least a method and an apparatus are presented for efficiently encoding or decoding video. For example, a number of states used in a dependent quantization DQ is determined for a transform block; and the DQ/inverse DQ with the determined number of states is applied to the transform block. According to non-limiting examples, the usage of DQ and the number of states used for DQ is based on the number of coded coefficients in the transform block, the transform block size, the prediction mode (intra/inter) of the block, the color components (luma/chroma), the quantization parameter of the block, the transforms type.
1 . A method for video decoding, the method comprising:
determining a number of states used in a dependent quantization for a block of quantized coefficients; and
obtaining a block of coefficients by applying an inverse dependent quantization with the determined number of states to the block of quantized coefficients.
2 . The method of claim 1 , wherein the number of states used in the dependent quantization is one of 1, 4 or 2 K with K being a positive integer larger than 2.
3 . (canceled)
4 . The method of claim 1 , wherein the number of states used in the dependent quantization is based on an indicator of a scan position of a last significant coefficient in the block of coefficients.
5 - 8 . (canceled)
9 . The method of claim 1 , wherein the number of states used in the dependent quantization is based on at least one of an intra prediction mode or inter prediction mode.
10 - 11 . (canceled)
12 . The method of claim 1 , wherein the number of states used in the dependent quantization is based on a quantization parameter.
13 . (canceled)
14 . The method of claim 1 , wherein the number of states used in the dependent quantization is based on a size of transform.
15 . (canceled)
16 . A method for video encoding, the method comprising:
determining a number of states used in a dependent quantization for a block of coefficients; and
obtaining a block of quantized coefficients by applying the dependent quantization with the determined number of states to the block of coefficients.
17 . The method of claim 16 , wherein the number of states used in the dependent quantization is one of 1, 4 or 2 K , K being a positive integer larger than 2.
18 . (canceled)
19 . The method of claim 16 , wherein the number of states used in the dependent quantization is based on an indicator of a scan position of a last significant coefficient in the block of coefficients.
20 - 23 . (canceled)
24 . The method of claim 16 , wherein the number of states used in the dependent quantization is based on at least one of an intra prediction mode or inter prediction mode.
25 - 26 . (canceled)
27 . The method of claim 16 , wherein the number of states used in the dependent quantization is based on a quantization parameter.
28 . (canceled)
29 . The method of claim 16 , wherein the number of states used in the dependent quantization is based on a size of transform.
30 . (canceled)
31 . An apparatus for video decoding, the apparatus comprising one or more processors, and at least one memory and wherein the one or more processors is configured to:
determine a number of states used in a dependent quantization for a block of quantized coefficients; and
obtain a block of coefficients based on an inverse dependent quantization with the determined number of states applied to the block of quantized coefficients.
32 . An apparatus for video encoding, the apparatus comprising one or more processors, and at least one memory and wherein the one or more processors is configured to:
determine a number of states used in a dependent quantization for a block of coefficients; and
obtain a block of quantized coefficients by applying the dependent quantization with the determined number of states to the block of coefficients.
33 . (canceled)
34 . The apparatus of claim 31 , wherein the number of states used in the dependent quantization is one of 1, 4 or 2 K with K being a positive integer larger than 2.
35 . The apparatus of claim 31 , wherein the number of states used in the dependent quantization is based on an indicator of a scan position of a last significant coefficient in the block of coefficients.
36 . The apparatus of claim 31 , wherein the number of states used in the dependent quantization is based on at least one of an intra prediction mode or inter prediction mode.
37 . The apparatus of claim 31 , wherein the number of states used in the dependent quantization is based on a quantization parameter.
38 . The apparatus of claim 31 , wherein the number of states used in the dependent quantization is based on a size of transform.
39 . The apparatus of claim 32 , wherein the number of states used in the dependent quantization is one of 1, 4 or 2 K with K being a positive integer larger than 2.
40 . The apparatus of claim 32 , wherein the number of states used in the dependent quantization is based on an indicator of a scan position of a last significant coefficient in the block of coefficients.
41 . The apparatus of claim 32 , wherein the number of states used in the dependent quantization is based on at least one of an intra prediction mode or inter prediction mode.
42 . The apparatus of claim 32 , wherein the number of states used in the dependent quantization is based on a quantization parameter.
43 . The apparatus of claim 32 , wherein the number of states used in the dependent quantization is based on a size of transform.