diff g729dec.c @ 7668:bdb1bdcd4cd0 libavcodec

Move from g729.h all definitions which are used only in g729dec.c
author voroshil
date Sat, 23 Aug 2008 12:38:45 +0000
parents 7060f0338be3
children dc309e45a671
line wrap: on
line diff
--- a/g729dec.c	Sat Aug 23 03:30:08 2008 +0000
+++ b/g729dec.c	Sat Aug 23 12:38:45 2008 +0000
@@ -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)