CPC H04N 19/124 (2014.11) [H04N 19/172 (2014.11); H04N 19/197 (2014.11); H04N 19/70 (2014.11); H04N 19/159 (2014.11); H04N 19/91 (2014.11)] | 20 Claims |
1. A method for video encoding in an encoder, comprising:
determining an initial quantization parameter (QP) value of a segment in a picture by adding an adjusted initial QP value at a picture level and an adjustment value calculated based on a half of a maximum QP value, the half of the maximum QP value being calculated according to one of
a right bit-shift of the maximum QP value, or
a right bit-shift of a sum of the maximum QP value and one;
determining a QP value for a block in the segment according to the initial QP value of the segment and an additional adjustment associated with the block;
performing quantization on the block according to the determined QP value for the block; and
encoding the quantized block and generating a coded video bitstream including the encoded block and including a syntax element indicating the adjusted initial QP at the picture level,
wherein the adjusted initial QP value at the picture level is in a range having an upper boundary that is based on the maximum QP value.
|