Method and apparatus for providing rate control for panel-based real-time video encoder
First Claim
1. A method for panel-based rate control for encoding real-time digital video, comprising:
- performing bit allocation by assigning and updating a target rate for a group of pictures (GOP), and computing a target rate for a picture of type I, P or B in frame or field within said GOP from said target rate of said GOP, where said picture is processed on multiple panels; and
performing rate control by adjusting guantization parameters to achieve said target ratesprotecting both encoder and decoder buffers from overflowing or underflowing before encoding a picture, wherein protecting the encoder buffers comprises checking and adjusting the target number of bits assigned for a picture according to the following two conditions;
if
buffer_occupancy +Tpic—
target>
α
×
buffer_size, then
Tpic—
target=α
×
buffer_size−
buffer_occupancy; and
if
buffer_occupancy+Tpic—
target−
bit−
rate/pic_rate<
(1−
α
)×
buffer_size, then
Tpic—
target=(1−
α
)×
buffer_size−
buffer—
occupancy+bit_rate/pic_rate.
4 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for providing multi-panel rate control of real-time video digital encoders such as an MPEG or H series including the steps of bit allocation, rate control and adaptive quantization. Bit allocation assigns a target number of bits per group of pictures, and per picture of each type. Rate control adjusts the quantization parameter at the MB level to achieve that target number of bits per picture. Adaptive quantization further modulates the parameter per MB using local activity measure. Bit allocation and rate control can be implemented through a central control unit, or a central digital signal processor (DSP) while adaptive quantization can be implemented at the local panel.
-
Citations
38 Claims
-
1. A method for panel-based rate control for encoding real-time digital video, comprising:
-
performing bit allocation by assigning and updating a target rate for a group of pictures (GOP), and computing a target rate for a picture of type I, P or B in frame or field within said GOP from said target rate of said GOP, where said picture is processed on multiple panels; and performing rate control by adjusting guantization parameters to achieve said target rates protecting both encoder and decoder buffers from overflowing or underflowing before encoding a picture, wherein protecting the encoder buffers comprises checking and adjusting the target number of bits assigned for a picture according to the following two conditions;
if
buffer_occupancy +Tpic— target>
α
×
buffer_size, then
Tpic— target=α
×
buffer_size−
buffer_occupancy; and
if
buffer_occupancy+Tpic— target−
bit−
rate/pic_rate<
(1−
α
)×
buffer_size, then
Tpic— target=(1−
α
)×
buffer_size−
buffer—
occupancy+bit_rate/pic_rate. - View Dependent Claims (2, 4, 5, 7, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
3. A method for panel-based rate control for encoding real-time digital video, comprising:
-
performing bit allocation by assigning and updating a target rate for a group of pictures (GOP), and computing a target rate for a picture of type I, P or B in frame or field within said GOP from said target rate of said GOP, where said picture is processed on multiple panels, wherein a central DSP computes said target rate for said picture of type intra picture (I), predictive coded picture (P), or bi-directional predictive coded picture (B), using the expressions for frame pictures, and for field pictures, and performing rate control by adjusting guantization parameters to achieve said target rates. - View Dependent Claims (33, 34, 35)
for a group of pictures (GOP), where NGOP is the length of the GOP, bit_rate is a target bit rate in bits per second, and pic_rate is a picture rate in pictures per second.
-
-
34. The method of claim 3, wherein the step of bit allocation further comprises initializing and updating the complexity measures of frame and field pictures of type I, P and B.
-
35. The method of claim 3, wherein the step of rate control further comprises updating the picture numbers of picture type I, P and B (NI, NP, and NB)
-
6. A method for panel-based rate control for encoding real-time digital video, comprising:
-
performing bit allocation by assigning and updating a target rate for a group of pictures (GOP), and computing a target rate for a picture of type I, P or B in frame or field within said GOP from said target rate of said GOP, where said picture is processed on multiple panels; and performing rate control by adjusting guantization parameters to achieve said target rates, wherein the step of rate control further comprises determining six virtual buffer fullnesses, one for each picture of type I, P or B in frame or field, at a time instant t is using the expression or the expression if the bit budget per MB is assigned according to its need, where acti is the local activity measure of MB(i) and the index i is over all the MBs in the current picture;
or the expressionwhere costi is the cost measure of MB(i) and - View Dependent Claims (8, 9, 10, 11, 36, 37, 38)
for a group of pictures (GOP), where NGOP is the length of the GOP, bit_rate is a target bit rate in bits per second, and pic_rate is a picture rate in pictures per second.
-
-
37. The method of claim 6, wherein the step of bit allocation further comprises initializing and updating the complexity measures of frame and field pictures of type I, P and B.
-
38. The method of claim 8, wherein the step of rate control further comprises updating the picture numbers of picture type I, P and B (NI, NP, and NB)
-
26. A video data coding-apparatus comprising:
-
a processor; an input/output device; a memory; and a video encoding module that performs bit allocation by assigning a target number of bits per GOP, performs rate control by adjusting the quantization parameter QP to achieve said target number of bits, and performs adaptive quantization by modulating the quantization parameter using the local activity measure wherein the step of rate control further comprises determining six virtual buffer fullnesses, one for each picture of type I, P or B in frame or field, at a time instant t is using the expression or the expression if the bit budget per MB is assigned according to its need, where acti is the local activity measure of MB(i), and the index i is over all the MBs in the current picture;
or the expressionwhere costi is the cost measure of MB(i) and - View Dependent Claims (27, 28, 29, 30, 31, 32)
-
Specification