lpc: rename ff_lpc_calc_levinsion to ff_lpc_calc_levinson
authorRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 29 Aug 2015 18:29:18 +0000 (19:29 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 29 Aug 2015 18:29:18 +0000 (19:29 +0100)
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/aacenc_tns.c
libavcodec/lpc.c
libavcodec/lpc.h

index a7433a8..cf75b8a 100644 (file)
@@ -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;
index 6699eb8..02ab61c 100644 (file)
@@ -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];
index ec59cea..00c8d96 100644 (file)
@@ -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.