optimize mpeg1_encode_block()

(makeing some constant arrays global, merging put_bits(), ...)

Originally committed as revision 297 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2002-02-13 04:19:10 +00:00
parent 4f0f8bfce3
commit 80feb2a23e
2 changed files with 40 additions and 7 deletions

View File

@@ -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,