Method, apparatus, and system for efficient rate control in audio encoding
AssigneeIntel Corporation
InventorsAlex A. Lopez-Estrada, Mark P. VanDeusen
Life of this patent
Estimating the term…
Abstract
According to one aspect of the invention, a method is provided in which audio samples representing an input audio signal are received. The input audio samples are transformed into a vector of spectral values in a frequency domain. A value of a quantizing parameter is determined that satisfies one or more criteria based, at least in part, on a modified Newtonian search process, the determined value of the quantizing parameter being used to quantize the respective vector of spectral values to generate a vector of quantized values.
Claims25
A method comprising:
- receiving audio samples representing an input audio signal;
- transforming the input audio samples into a vector of spectral values in a frequency domain;
- and
- determining a value of a quantizing parameter that satisfies one or more criteria based, at least in part, on a modified Newtonian search process, the determined value of the quantizing parameter being used to quantize the respective vector of spectral values to generate a vector of quantized values, the value of the quantizing parameter being determined according to the following formula:
- global_gain ≥ ⌈ A · log 2 ( MAX [LeftBracketingBar] x r ( i ) [RightBracketingBar] [ B - C ] D ) ⌉
- wherein global gain corresponds to the value of the quantizing parameter, A corresponds to a first constant, xr(i) corresponds to an original spectral value for frequency line i, B corresponds to a second constant representing a maximum quantized spectral value, C corresponds to a third constant, and D corresponds to a fourth constant.
An apparatus comprising:
- logic to receive input audio samples representing corresponding input audio signals;
- logic to transform the input audio samples into a vector of spectral values in a frequency domain;
- and
- logic to determine a value of a quantizing parameter that satisfies one or more criteria based, at least in part, on a modified Newtonian search process, the determined value of the quantizing parameter being used to quantize the respective vector of spectral values to generate a vector of quantized values;
- logic to compute the value of the quantizing parameter such that a maximum quantized value does not exceed a maximum index of one or more corresponding codebooks, based upon the following formula:
- global_gain ≥ ⌈ A · log 2 ( MAX [LeftBracketingBar] x r ( i ) [RightBracketingBar] [ B - C ] D ) ⌉
- wherein global gain corresponds to the value of the quantizing parameter, A corresponds to a first constant, xr(i) corresponds to an original spectral value for frequency line i, B corresponds to a second constant representing a maximum quantized spectral value, C corresponds to a third constant, and D corresponds to a fourth constant.
A system comprising:
- a transformation unit to transform input audio samples representing corresponding audio signals into a vector of spectral values in a frequency domain;
- a psychoacoustic modeling unit to analyze the input audio samples and generate a frequency mask;
- and
- a bit allocator and quantizer unit coupled to the transformation unit and the psychoacoustic unit, the bit allocator and quantizer unit including:
- logic to determine a value of a quantizing parameter that satisfies one or more criteria based, at least in part, on a modified Newtonian search process, the determined value of the quantizing parameter being used to quantize the respective vector of spectral values to generate a vector of quantized values;
- logic to compute the value of the quantizing parameter such that a maximum quantized value does not exceed a maximum index of one or more corresponding codebooks, based upon the following formula:
- global_gain ≥ ⌈ A · log 2 ( MAX [LeftBracketingBar] x r ( i ) [RightBracketingBar] [ B - C ] D ) ⌉
- wherein global gain corresponds to the value of the quantizing parameter, A corresponds to a first constant, xr(i) corresponds to an original spectral value for frequency line i, B corresponds to a second constant representing a maximum quantized spectral value, C corresponds to a third constant, and D corresponds to a fourth constant.
A machine-readable medium comprising instructions which, when executed by a machine, cause the machine to perform operations including:
- receiving audio samples representing an input audio signal;
- transforming the input audio samples into a vector of spectral values in a frequency domain;
- and
- determining a value of a quantizing parameter that satisfies one or more criteria based, at least in part, on a modified Newtonian search process, the determined value of the quantizing parameter being used to quantize the respective vector of spectral values to generate a vector of quantized value, the value of the quantizing parameter being determined such that a maximum quantized value does not exceed a maximum index of one or more corresponding codebooks according to the following formula:
- global_gain ≥ ⌈ A · log 2 ( MAX [LeftBracketingBar] x r ( i ) [RightBracketingBar] [ B - C ] D ) ⌉
- wherein global gain corresponds to the value of the quantizing parameter, A corresponds to a first constant, xr(i) corresponds to an original spectral value for frequency line i, B corresponds to a second constant representing a maximum quantized spectral value, C corresponds to a third constant, and D corresponds to a fourth constant.
Dependencies are inferred from the claim text.