| CPC H04N 19/126 (2014.11) [H04N 19/159 (2014.11); H04N 19/186 (2014.11); H04N 19/196 (2014.11)] | 18 Claims |

|
1. A method for video encoding, comprising:
determining, for a first coding block, a quantization parameter and a quantized level;
deriving a scale value by looking up a scale level table based on the quantization parameter; and
in response to determining that the first coding block is coded in a transform skip mode, obtaining a residual sample for a sample in the first coding block based on the quantized level, the scale value and a plurality of bit-shifts by applying a first de-quantization operation,
wherein the first de-quantization operation is also applied to obtain a reconstructed sample for an escape sample in a second coding block coded in a palette mode; and
wherein parameters of the first de-quantization operation are determined without a block size of the first coding block or the second coding block.
|