summaryrefslogtreecommitdiff
path: root/libavcodec/g729data.h
diff options
context:
space:
mode:
authorVladimir Voroshilov <voroshil@gmail.com>2009-06-24 12:09:20 +0700
committerMichael Niedermayer <michaelni@gmx.at>2011-09-24 21:11:00 +0200
commitd1a643e749f7b4495f0c4fabf9177f730fbd5574 (patch)
tree1069ea69ebf267774d59c11ccb657da80c0aa722 /libavcodec/g729data.h
parentb29e5a6780737f8a11c47714bf1a697a98966a51 (diff)
downloadffmpeg-d1a643e749f7b4495f0c4fabf9177f730fbd5574.tar.gz
Doxy for LSF erasure case
Diffstat (limited to 'libavcodec/g729data.h')
-rw-r--r--libavcodec/g729data.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/g729data.h b/libavcodec/g729data.h
index 05b40416dd..f0a09ab14c 100644
--- a/libavcodec/g729data.h
+++ b/libavcodec/g729data.h
@@ -293,6 +293,15 @@ static const int16_t cb_ma_predictor_sum[2][10] = { /* (0.15) */
{14585, 18333, 19772, 17344, 16426, 16459, 15155, 15220, 16043, 15708}
};
+/**
+ * 12
+ * 2
+ * cb_ma_predictor_sum_inv[j][i] = floor(---------------------------------------------)
+ * 3
+ * 1.0 - sum ( cb_ma_predictor_float[j][k][i] )
+ * k=0
+ * j=0..1, i=0..9
+ */
static const int16_t cb_ma_predictor_sum_inv[2][10] = { /* (3.12) */
{17210, 15888, 16357, 16183, 16516, 15833, 15888, 15421, 14840, 15597},
{ 9202, 7320, 6788, 7738, 8170, 8154, 8856, 8818, 8366, 8544}