summaryrefslogtreecommitdiff
path: root/libavcodec/g729data.h
diff options
context:
space:
mode:
authorVladimir Voroshilov <voroshil@gmail.com>2009-06-05 01:55:06 +0700
committerMichael Niedermayer <michaelni@gmx.at>2011-09-24 21:11:00 +0200
commit0a3337883f384fe79c8d7b28966529193951ac01 (patch)
tree188f9a68ef6d548bc1e7928c6c28f2b962251449 /libavcodec/g729data.h
parent7fadc0151c59f86769e6d189be16ead51caada84 (diff)
Fixed- and adaptive-codebook gains
Diffstat (limited to 'libavcodec/g729data.h')
-rw-r--r--libavcodec/g729data.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/g729data.h b/libavcodec/g729data.h
index f0a09ab14c..d3a0c4e8e6 100644
--- a/libavcodec/g729data.h
+++ b/libavcodec/g729data.h
@@ -308,6 +308,13 @@ static const int16_t cb_ma_predictor_sum_inv[2][10] = { /* (3.12) */
};
/**
+ * MA prediction coefficients (3.9.1 of G.729, near Equation 69)
+ */
+static const uint16_t ma_prediction_coeff[4] = { /* (0.13) */
+ 5571, 4751, 2785, 1556
+};
+
+/**
* initial LSP coefficients belongs to virtual frame preceding the
* first frame of the stream
*/