Rate control for coding audio frames
First Claim
1. A method for encoding of a current audio frame, the method comprising:
- establishing minimum bit rate Bmin and maximum bit rate Bmax for the current frame, Bmin and Bmax being defined by a number of bits Un stored in a buffer, maximum number of bits that the buffer is adapted to store Umax and an average bit rate Bavg;
establishing a running average of common scale factors θ
n of audio frames preceding the current audio frame;
computing a common scale factor Qn for the current frame using θ
n;
encoding the current frame using Qn if Qn falls within a range defined by a minimum common scale factor value Qmin and a maximum common scale factor value Qmax; and
verifying that encoding the current frame using Qn requires a number of bits Bn that falls within a range defined by Bmin and Bmax.
2 Assignments
0 Petitions
Accused Products
Abstract
To determine the number of bits to encode a current audio frame, in accordance with a running average of the common scale factors for all preceding audio frames, a common scale factor for the-current frame is computed. The current frame is encoded using the computed common scale factor if the same falls within a defined range, and the number of bits required to so encode the frame also falls within a calculated range. If, the number of bits required to so encode the frame falls outside the calculated range, an energy level associated with the current frame and a running average of the energies of all previous frames is computed, which in turn, are used to compute a target bit rate. Thereafter, a common scale factor which results in coding of the current frame using a number of bits close to the target bit rate is obtained.
27 Citations
19 Claims
-
1. A method for encoding of a current audio frame, the method comprising:
-
establishing minimum bit rate Bmin and maximum bit rate Bmax for the current frame, Bmin and Bmax being defined by a number of bits Un stored in a buffer, maximum number of bits that the buffer is adapted to store Umax and an average bit rate Bavg;
establishing a running average of common scale factors θ
n of audio frames preceding the current audio frame;
computing a common scale factor Qn for the current frame using θ
n;
encoding the current frame using Qn if Qn falls within a range defined by a minimum common scale factor value Qmin and a maximum common scale factor value Qmax; and
verifying that encoding the current frame using Qn requires a number of bits Bn that falls within a range defined by Bmin and Bmax. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. an apparatus adapted to set bit rate for encoding of a current audio frame, the apparatus comprising:
-
a module adapted to establish minimum bit rate Bmin and maximum bit rate Bmax for the current frame, Bmin and Bmax being defined by a number of bits Un stored in a buffer, maximum number of bits that the buffer is adapted to store Umax and an average bit rate Bavg;
a module adapted to establish a running average of common scale factors θ
n, of audio frames preceding the current audio frame;
a module adapted to compute a common scale factor Qn for the current frame using θ
n;
a module adapted to encode the current frame using Qn if Qn falls within a range defined by a minimum common scale factor value Qn and a maximum common scale factor value Qmax; and
a module adapted to verify that encoding the current frame using Qn requires a number of bits Bn that falls within a range defined by Bmin and Bmax. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification