diff 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
line wrap: on
line diff
--- a/acelp_vectors.h	Sat Dec 19 07:34:11 2009 +0000
+++ b/acelp_vectors.h	Sat Dec 19 14:05:31 2009 +0000
@@ -112,6 +112,26 @@
 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