summaryrefslogtreecommitdiff
path: root/libavcodec/g729data.h
diff options
context:
space:
mode:
authorVladimir Voroshilov <voroshil@gmail.com>2008-08-26 07:10:38 +0000
committerVladimir Voroshilov <voroshil@gmail.com>2008-08-26 07:10:38 +0000
commit7ad909bd59ef97df8ed349c3d0a6a3a3f165542d (patch)
tree7b6941639465b02a1ce1d3c5475b4d589a252aaf /libavcodec/g729data.h
parent274335e76c533f1f56286b56f7273f5e77dc422c (diff)
downloadffmpeg-7ad909bd59ef97df8ed349c3d0a6a3a3f165542d.tar.gz
Another set of definitions for G.729
Originally committed as revision 14973 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 5334e48093..ee140a81b5 100644
--- a/libavcodec/g729data.h
+++ b/libavcodec/g729data.h
@@ -27,6 +27,15 @@
/// Moving Average (MA) prediction order
#define MA_NP 4
+#define VQ_1ST_BITS 7 ///< first stage vector of quantizer (size in bits)
+#define VQ_2ND_BITS 5 ///< second stage vector of quantizer (size in bits)
+
+#define GC_1ST_IDX_BITS_8K 3 ///< gain codebook (first stage) index, 8k mode (size in bits)
+#define GC_2ND_IDX_BITS_8K 4 ///< gain codebook (second stage) index, 8k mode (size in bits)
+
+#define GC_1ST_IDX_BITS_6K4 3 ///< gain codebook (first stage) index, 6.4k mode (size in bits)
+#define GC_2ND_IDX_BITS_6K4 3 ///< gain codebook (second stage) index, 6.4k mode (size in bits)
+
/**
* first stage LSP codebook
* (10-dimensional, with 128 entries (3.24 of G.729)