changeset 11462:c2e19a511e26 libavcodec

Fix spelling.
author rbultje
date Thu, 11 Mar 2010 17:42:53 +0000
parents 908cc63498ec
children ab0b8dc0a0aa
files acelp_vectors.c acelp_vectors.h amrnbdec.c sipr.c
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/acelp_vectors.c	Thu Mar 11 10:52:34 2010 +0000
+++ b/acelp_vectors.c	Thu Mar 11 17:42:53 2010 +0000
@@ -207,8 +207,8 @@
                + weight_coeff_b * in_b[i];
 }
 
-void ff_adaptative_gain_control(float *buf_out, float speech_energ,
-                                int size, float alpha, float *gain_mem)
+void ff_adaptive_gain_control(float *buf_out, float speech_energ,
+                              int size, float alpha, float *gain_mem)
 {
     int i;
     float postfilter_energ = ff_dot_productf(buf_out, buf_out, size);
--- a/acelp_vectors.h	Thu Mar 11 10:52:34 2010 +0000
+++ b/acelp_vectors.h	Thu Mar 11 17:42:53 2010 +0000
@@ -212,7 +212,7 @@
                              int length);
 
 /**
- * Adaptative gain control (as used in AMR postfiltering)
+ * Adaptive gain control (as used in AMR postfiltering)
  *
  * @param buf_out the input speech buffer
  * @param speech_energ input energy
@@ -220,8 +220,8 @@
  * @param alpha exponential filter factor
  * @param gain_mem a pointer to the filter memory (single float of size)
  */
-void ff_adaptative_gain_control(float *buf_out, float speech_energ,
-                                int size, float alpha, float *gain_mem);
+void ff_adaptive_gain_control(float *buf_out, float speech_energ,
+                              int size, float alpha, float *gain_mem);
 
 /**
  * Set the sum of squares of a signal by scaling
--- a/amrnbdec.c	Thu Mar 11 10:52:34 2010 +0000
+++ b/amrnbdec.c	Thu Mar 11 17:42:53 2010 +0000
@@ -943,8 +943,8 @@
     ff_tilt_compensation(&p->tilt_mem, tilt_factor(lpc_n, lpc_d), buf_out,
                          AMR_SUBFRAME_SIZE);
 
-    ff_adaptative_gain_control(buf_out, speech_gain, AMR_SUBFRAME_SIZE,
-                               AMR_AGC_ALPHA, &p->postfilter_agc);
+    ff_adaptive_gain_control(buf_out, speech_gain, AMR_SUBFRAME_SIZE,
+                             AMR_AGC_ALPHA, &p->postfilter_agc);
 }
 
 /// @}
--- a/sipr.c	Thu Mar 11 10:52:34 2010 +0000
+++ b/sipr.c	Thu Mar 11 17:42:53 2010 +0000
@@ -254,7 +254,7 @@
 }
 
 /**
- * Evaluates the adaptative impulse response.
+ * Evaluates the adaptive impulse response.
  */
 static void eval_ir(const float *Az, int pitch_lag, float *freq,
                     float pitch_sharp_factor)
@@ -479,8 +479,8 @@
             float energy = ff_dot_productf(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE,
                                            ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE,
                                            SUBFR_SIZE);
-            ff_adaptative_gain_control(&synth[i * SUBFR_SIZE], energy,
-                                       SUBFR_SIZE, 0.9, &ctx->postfilter_agc);
+            ff_adaptive_gain_control(&synth[i * SUBFR_SIZE], energy,
+                                     SUBFR_SIZE, 0.9, &ctx->postfilter_agc);
         }
 
         memcpy(ctx->postfilter_syn5k0, ctx->postfilter_syn5k0 + frame_size,