summaryrefslogtreecommitdiffstats
path: root/libavcodec/acelp_vectors.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:43:52 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:43:52 +0000
commitbb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba (patch)
tree01b9696345d7aa71d3c68f829113034eeb699fde /libavcodec/acelp_vectors.h
parent8e6daa4a9558668930b370da5708dc353f4e94e1 (diff)
downloadffmpeg-streaming-bb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba.zip
ffmpeg-streaming-bb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba.tar.gz
Split the input/output data arguments to ff_adaptive_gain_control().
Originally committed as revision 22932 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/acelp_vectors.h')
-rw-r--r--libavcodec/acelp_vectors.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/acelp_vectors.h b/libavcodec/acelp_vectors.h
index 3e6652f..ba3437f 100644
--- a/libavcodec/acelp_vectors.h
+++ b/libavcodec/acelp_vectors.h
@@ -214,13 +214,14 @@ void ff_weighted_vector_sumf(float *out, const float *in_a, const float *in_b,
/**
* Adaptive gain control (as used in AMR postfiltering)
*
- * @param buf_out the input speech buffer
+ * @param out output buffer for filtered speech data
+ * @param in the input speech buffer (may be the same as out)
* @param speech_energ input energy
* @param size the input buffer size
* @param alpha exponential filter factor
* @param gain_mem a pointer to the filter memory (single float of size)
*/
-void ff_adaptive_gain_control(float *buf_out, float speech_energ,
+void ff_adaptive_gain_control(float *out, const float *in, float speech_energ,
int size, float alpha, float *gain_mem);
/**
OpenPOWER on IntegriCloud