summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12data.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-02-13 04:19:10 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-02-13 04:19:10 +0000
commit80feb2a23ec6cc2ce459404041485a6dfaaffbe6 (patch)
tree70878efeb5d0e6e017be6bff95d83584139fbc98 /libavcodec/mpeg12data.h
parent4f0f8bfce3012005422b6e7b09dfa57c07f783eb (diff)
optimize mpeg1_encode_block()
(makeing some constant arrays global, merging put_bits(), ...) Originally committed as revision 297 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12data.h')
-rw-r--r--libavcodec/mpeg12data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpeg12data.h b/libavcodec/mpeg12data.h
index f7d29a5cbb..4261986d24 100644
--- a/libavcodec/mpeg12data.h
+++ b/libavcodec/mpeg12data.h
@@ -161,6 +161,9 @@ static const INT8 mpeg1_run[111] = {
25, 26, 27, 28, 29, 30, 31,
};
+static UINT8 mpeg1_index_run[2][64];
+static INT8 mpeg1_max_level[2][64];
+
static RLTable rl_mpeg1 = {
111,
111,