diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2009-12-19 14:05:31 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-12-19 14:05:31 +0000 |
commit | a8eb8de4613a3f6bddf3e2a383db5af57813576b (patch) | |
tree | f63268ff82059d1a2f68089d883ce85164435e61 /libavcodec/acelp_vectors.h | |
parent | da8af9388c43796b38e1664c9a45ea13300caebb (diff) | |
download | ffmpeg-a8eb8de4613a3f6bddf3e2a383db5af57813576b.tar.gz |
Add tables used by both AMR-NB and SIPR
Originally committed as revision 20897 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/acelp_vectors.h')
-rw-r--r-- | libavcodec/acelp_vectors.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libavcodec/acelp_vectors.h b/libavcodec/acelp_vectors.h index 10cbc08946..7bbc6b3ddf 100644 --- a/libavcodec/acelp_vectors.h +++ b/libavcodec/acelp_vectors.h @@ -112,6 +112,26 @@ extern const uint8_t ff_fc_2pulses_9bits_track1_gray[16]; extern const uint8_t ff_fc_2pulses_9bits_track2_gray[32]; /** + * b60 hamming windowed sinc function coefficients + */ +extern const float ff_b60_sinc[61]; + +/** + * Table of pow(0.7,n) + */ +extern const float ff_pow_0_7[10]; + +/** + * Table of pow(0.75,n) + */ +extern const float ff_pow_0_75[10]; + +/** + * Table of pow(0.55,n) + */ +extern const float ff_pow_0_55[10]; + +/** * Decode fixed-codebook vector (3.8 and D.5.8 of G.729, 5.7.1 of AMR). * @param fc_v [out] decoded fixed codebook vector (2.13) * @param tab1 table used for first pulse_count pulses |