comparison 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
comparison
equal deleted inserted replaced
7667:ce3402b964cd 7668:bdb1bdcd4cd0
29 #include "avcodec.h" 29 #include "avcodec.h"
30 #include "libavutil/avutil.h" 30 #include "libavutil/avutil.h"
31 #include "bitstream.h" 31 #include "bitstream.h"
32 32
33 /** 33 /**
34 * minimum quantized LSF value (3.2.4)
35 * 0.005 in Q13
36 */
37 #define LSFQ_MIN 40
38
39 /**
40 * maximum quantized LSF value (3.2.4)
41 * 3.135 in Q13
42 */
43 #define LSFQ_MAX 25681
44
45 /**
46 * minimum LSF distance (3.2.4)
47 * 0.0391 in Q13
48 */
49 #define LSFQ_DIFF_MIN 321
50
51 /**
34 * \brief pseudo random number generator 52 * \brief pseudo random number generator
35 */ 53 */
36 static inline uint16_t g729_random(uint16_t value) 54 static inline uint16_t g729_random(uint16_t value)
37 { 55 {
38 return 31821 * value + 13849; 56 return 31821 * value + 13849;