Mercurial > libavcodec.hg
comparison acelp_vectors.h @ 10698:608d19b30fa3 libavcodec
Add tables used by both AMR-NB and SIPR
author | vitor |
---|---|
date | Sat, 19 Dec 2009 14:05:31 +0000 |
parents | 8ee37f5571dc |
children | 2da0262d550b |
comparison
equal
deleted
inserted
replaced
10697:7c0cc00cabc8 | 10698:608d19b30fa3 |
---|---|
108 * pulse index before looking up the value in the table. | 108 * pulse index before looking up the value in the table. |
109 * | 109 * |
110 * Used in G.729 @6.4k (with gray coding) | 110 * Used in G.729 @6.4k (with gray coding) |
111 */ | 111 */ |
112 extern const uint8_t ff_fc_2pulses_9bits_track2_gray[32]; | 112 extern const uint8_t ff_fc_2pulses_9bits_track2_gray[32]; |
113 | |
114 /** | |
115 * b60 hamming windowed sinc function coefficients | |
116 */ | |
117 extern const float ff_b60_sinc[61]; | |
118 | |
119 /** | |
120 * Table of pow(0.7,n) | |
121 */ | |
122 extern const float ff_pow_0_7[10]; | |
123 | |
124 /** | |
125 * Table of pow(0.75,n) | |
126 */ | |
127 extern const float ff_pow_0_75[10]; | |
128 | |
129 /** | |
130 * Table of pow(0.55,n) | |
131 */ | |
132 extern const float ff_pow_0_55[10]; | |
113 | 133 |
114 /** | 134 /** |
115 * Decode fixed-codebook vector (3.8 and D.5.8 of G.729, 5.7.1 of AMR). | 135 * Decode fixed-codebook vector (3.8 and D.5.8 of G.729, 5.7.1 of AMR). |
116 * @param fc_v [out] decoded fixed codebook vector (2.13) | 136 * @param fc_v [out] decoded fixed codebook vector (2.13) |
117 * @param tab1 table used for first pulse_count pulses | 137 * @param tab1 table used for first pulse_count pulses |