aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/acelp_vectors.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-12-19 14:05:31 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-12-19 14:05:31 +0000
commita8eb8de4613a3f6bddf3e2a383db5af57813576b (patch)
treef63268ff82059d1a2f68089d883ce85164435e61 /libavcodec/acelp_vectors.h
parentda8af9388c43796b38e1664c9a45ea13300caebb (diff)
downloadffmpeg-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.h20
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