Patent ID: 9686557
Date: 2017-06-20
CPC Classifications: H04N

Claim:
1. An apparatus, comprising: a video encoder for encoding video signal data for a group of pictures (GOP) formed of I, B and P pictures, the encoder comprising an input for receiving the video signal data and an adaptive quantizer including a hardware processor for applying an adaptive quantizer parameter responsive to a current bit-rate, wherein the hardware processor of the adaptive quantizer is configured to: calculate a bit budget for encoding at least one item from within the GOP, wherein the calculation (i) determines a number of bits for the GOP, (ii) allocates bits for I, P, and B pictures in the GOP, (iii) determines a quantizer parameter for the I picture by dividing a quantizer parameter of a previous GOP by a constant representative of the number of respective P and B pictures included in the GOP and adding the result to a differential quantizer parameter, (iv) determines a quantizer parameter for a P picture by adding a quantizer parameter for a previous P picture to a differential quantizer parameter for a P picture, and (v) calculates a quantizer parameter for a B picture, by adding a quantizer parameter for a previous B picture to a differential quantizer parameter for a B picture; and wherein the quantizer parameter is responsive to said calculated bit budget.