]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/acelp_vectors.h
Make sure the EC code does not attempt to use inter based concealment if there
[ffmpeg] / libavcodec / acelp_vectors.h
index 3a72ef91e7a7a2b0d174d5171d81cc2d8e72712f..3e6652f377a9b2d93b91142c72e67f0473696ed3 100644 (file)
@@ -30,6 +30,7 @@ typedef struct {
     int      n;
     int      x[10];
     float    y[10];
+    int      no_repeat_mask;
     int      pitch_lag;
     float    pitch_fac;
 } AMRFixed;
@@ -211,7 +212,7 @@ void ff_weighted_vector_sumf(float *out, const float *in_a, const float *in_b,
                              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
@@ -219,8 +220,8 @@ void ff_weighted_vector_sumf(float *out, const float *in_a, const float *in_b,
  * @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