lpc: rename ff_lpc_calc_levinsion to ff_lpc_calc_levinson
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
e924967fd5
commit
141d80ded7
@ -210,7 +210,7 @@ void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce)
|
|||||||
coef_len = 1024 - coef_start;
|
coef_len = 1024 - coef_start;
|
||||||
|
|
||||||
/* LPC */
|
/* LPC */
|
||||||
order = ff_lpc_calc_levinsion(&s->lpc, &sce->coeffs[coef_start], coef_len,
|
order = ff_lpc_calc_levinson(&s->lpc, &sce->coeffs[coef_start], coef_len,
|
||||||
coefs, 0, tns_max_order, ORDER_METHOD_LOG);
|
coefs, 0, tns_max_order, ORDER_METHOD_LOG);
|
||||||
|
|
||||||
if (energy > threshold) {
|
if (energy > threshold) {
|
||||||
|
@ -277,7 +277,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
|
|||||||
* @param lpc_type LPC method for determining coefficients,
|
* @param lpc_type LPC method for determining coefficients,
|
||||||
* see #FFLPCType for details
|
* see #FFLPCType for details
|
||||||
*/
|
*/
|
||||||
int ff_lpc_calc_levinsion(LPCContext *s, const float *samples, int len,
|
int ff_lpc_calc_levinson(LPCContext *s, const float *samples, int len,
|
||||||
double lpc[][MAX_LPC_ORDER], int min_order,
|
double lpc[][MAX_LPC_ORDER], int min_order,
|
||||||
int max_order, int omethod)
|
int max_order, int omethod)
|
||||||
{
|
{
|
||||||
|
@ -100,7 +100,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
|
|||||||
int ff_lpc_calc_ref_coefs(LPCContext *s,
|
int ff_lpc_calc_ref_coefs(LPCContext *s,
|
||||||
const int32_t *samples, int order, double *ref);
|
const int32_t *samples, int order, double *ref);
|
||||||
|
|
||||||
int ff_lpc_calc_levinsion(LPCContext *s, const float *samples, int len,
|
int ff_lpc_calc_levinson(LPCContext *s, const float *samples, int len,
|
||||||
double lpc[][MAX_LPC_ORDER], int min_order,
|
double lpc[][MAX_LPC_ORDER], int min_order,
|
||||||
int max_order, int omethod);
|
int max_order, int omethod);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user