summaryrefslogtreecommitdiff
path: root/libavcodec/qcelpdata.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:57:48 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:57:48 +0000
commitb1078e9fe6b5d8f034d15a6ab91430fd41921fe2 (patch)
tree5d16af4805e9567267f3f3daa96e015523f4216c /libavcodec/qcelpdata.h
parent6858ce2ffc4c57a279b22ab6d8eb56ac3884796e (diff)
Move clipping of audio samples (for those codecs outputting float) from decoder
to the audio conversion routines. Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdata.h')
-rw-r--r--libavcodec/qcelpdata.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/qcelpdata.h b/libavcodec/qcelpdata.h
index 52be252d1c..d79cea9f6c 100644
--- a/libavcodec/qcelpdata.h
+++ b/libavcodec/qcelpdata.h
@@ -425,16 +425,6 @@ static const qcelp_vector * const qcelp_lspvq[5] = {
#define QCELP_SCALE 8192.
/**
- * the upper boundary of the clipping, depends on QCELP_SCALE
- */
-#define QCELP_CLIP_UPPER_BOUND (8191.75/8192.)
-
-/**
- * the lower boundary of the clipping, depends on QCELP_SCALE
- */
-#define QCELP_CLIP_LOWER_BOUND -1.
-
-/**
* table for computing Ga (decoded linear codebook gain magnitude)
*
* @note The table could fit in int16_t in x*8 form, but it seems