summaryrefslogtreecommitdiff
path: root/libavcodec/g729data.h
diff options
context:
space:
mode:
authorVladimir Voroshilov <voroshil@gmail.com>2009-06-20 13:36:21 +0000
committerVladimir Voroshilov <voroshil@gmail.com>2009-06-20 13:36:21 +0000
commit630c97ff4b81e5c631c33f1d803d69531f781fb3 (patch)
treee25de5fd71536821975386053eaaefcea1b0405a /libavcodec/g729data.h
parent6ee0eb38c015d7bf139b0058e4d28244830d9d01 (diff)
Convertion of LSF values to coefficients of linear prediction filter
Originally committed as revision 19240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g729data.h')
-rw-r--r--libavcodec/g729data.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/g729data.h b/libavcodec/g729data.h
index 796d24ec64..ef95570cdc 100644
--- a/libavcodec/g729data.h
+++ b/libavcodec/g729data.h
@@ -262,4 +262,12 @@ static const int16_t cb_ma_predictor[2][MA_NP][10] = { /* (0.15) */
{ 3024, 1592, 940, 1631, 1723, 1579, 2034, 2084, 1913, 2601}
}
};
+
+/**
+ * initial LSP coefficients belongs to virtual frame preceding the
+ * first frame of the stream
+ */
+static const int16_t lsp_init[10]= { /* (0.15) */
+ 30000, 26000, 21000, 15000, 8000, 0, -8000,-15000,-21000,-26000
+};
#endif /* AVCODEC_G729DATA_H */