summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-08-29 19:29:18 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-08-29 19:29:18 +0100
commit141d80ded77957eefababca52bee9dd05e3e1ba6 (patch)
treee4817720d17f5cd5b04d4fadd4e97fb1ef736cdd
parente924967fd5ec240cf97022f054cb02a0bc7101d9 (diff)
downloadffmpeg-141d80ded77957eefababca52bee9dd05e3e1ba6.tar.gz
lpc: rename ff_lpc_calc_levinsion to ff_lpc_calc_levinson
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r--libavcodec/aacenc_tns.c4
-rw-r--r--libavcodec/lpc.c6
-rw-r--r--libavcodec/lpc.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c
index a7433a8d19..cf75b8a169 100644
--- a/libavcodec/aacenc_tns.c
+++ b/libavcodec/aacenc_tns.c
@@ -210,8 +210,8 @@ void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce)
coef_len = 1024 - coef_start;
/* LPC */
- order = ff_lpc_calc_levinsion(&s->lpc, &sce->coeffs[coef_start], coef_len,
- coefs, 0, tns_max_order, ORDER_METHOD_LOG);
+ order = ff_lpc_calc_levinson(&s->lpc, &sce->coeffs[coef_start], coef_len,
+ coefs, 0, tns_max_order, ORDER_METHOD_LOG);
if (energy > threshold) {
int direction = 0;
diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c
index 6699eb834f..02ab61cf1c 100644
--- a/libavcodec/lpc.c
+++ b/libavcodec/lpc.c
@@ -277,9 +277,9 @@ int ff_lpc_calc_coefs(LPCContext *s,
* @param lpc_type LPC method for determining coefficients,
* see #FFLPCType for details
*/
-int ff_lpc_calc_levinsion(LPCContext *s, const float *samples, int len,
- double lpc[][MAX_LPC_ORDER], int min_order,
- int max_order, int omethod)
+int ff_lpc_calc_levinson(LPCContext *s, const float *samples, int len,
+ double lpc[][MAX_LPC_ORDER], int min_order,
+ int max_order, int omethod)
{
double ref[MAX_LPC_ORDER] = { 0 };
double autoc[MAX_LPC_ORDER+1];
diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h
index ec59cea635..00c8d96514 100644
--- a/libavcodec/lpc.h
+++ b/libavcodec/lpc.h
@@ -100,9 +100,9 @@ int ff_lpc_calc_coefs(LPCContext *s,
int ff_lpc_calc_ref_coefs(LPCContext *s,
const int32_t *samples, int order, double *ref);
-int ff_lpc_calc_levinsion(LPCContext *s, const float *samples, int len,
- double lpc[][MAX_LPC_ORDER], int min_order,
- int max_order, int omethod);
+int ff_lpc_calc_levinson(LPCContext *s, const float *samples, int len,
+ double lpc[][MAX_LPC_ORDER], int min_order,
+ int max_order, int omethod);
/**
* Initialize LPCContext.