diff options
author | Vladimir Voroshilov <voroshil@gmail.com> | 2008-08-23 12:38:45 +0000 |
---|---|---|
committer | Vladimir Voroshilov <voroshil@gmail.com> | 2008-08-23 12:38:45 +0000 |
commit | fe3a80d6fabade4b7d13f83a18c0205c16dd7581 (patch) | |
tree | e69701d0ce86cad59da8a33063af7ce3942b7a28 /libavcodec/g729dec.c | |
parent | 2fc3866d5ef09a7038fee56838aa10bc8de1abe5 (diff) | |
download | ffmpeg-fe3a80d6fabade4b7d13f83a18c0205c16dd7581.tar.gz |
Move from g729.h all definitions which are used only in g729dec.c
Originally committed as revision 14915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r-- | libavcodec/g729dec.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c index 987086453c..f00e597865 100644 --- a/libavcodec/g729dec.c +++ b/libavcodec/g729dec.c @@ -31,6 +31,24 @@ #include "bitstream.h" /** + * minimum quantized LSF value (3.2.4) + * 0.005 in Q13 + */ +#define LSFQ_MIN 40 + +/** + * maximum quantized LSF value (3.2.4) + * 3.135 in Q13 + */ +#define LSFQ_MAX 25681 + +/** + * minimum LSF distance (3.2.4) + * 0.0391 in Q13 + */ +#define LSFQ_DIFF_MIN 321 + +/** * \brief pseudo random number generator */ static inline uint16_t g729_random(uint16_t value) |