Mercurial > libavcodec.hg
comparison mpeg12data.h @ 236:4a090f1da60a libavcodec
optimize mpeg1_encode_block()
(makeing some constant arrays global, merging put_bits(), ...)
| author | michaelni |
|---|---|
| date | Wed, 13 Feb 2002 04:19:10 +0000 |
| parents | 5aa6292a1660 |
| children | 75123d30f862 |
comparison
equal
deleted
inserted
replaced
| 235:41f0ef2cd942 | 236:4a090f1da60a |
|---|---|
| 158 9, 9, 10, 10, 11, 11, 12, 12, | 158 9, 9, 10, 10, 11, 11, 12, 12, |
| 159 13, 13, 14, 14, 15, 15, 16, 16, | 159 13, 13, 14, 14, 15, 15, 16, 16, |
| 160 17, 18, 19, 20, 21, 22, 23, 24, | 160 17, 18, 19, 20, 21, 22, 23, 24, |
| 161 25, 26, 27, 28, 29, 30, 31, | 161 25, 26, 27, 28, 29, 30, 31, |
| 162 }; | 162 }; |
| 163 | |
| 164 static UINT8 mpeg1_index_run[2][64]; | |
| 165 static INT8 mpeg1_max_level[2][64]; | |
| 163 | 166 |
| 164 static RLTable rl_mpeg1 = { | 167 static RLTable rl_mpeg1 = { |
| 165 111, | 168 111, |
| 166 111, | 169 111, |
| 167 mpeg1_vlc, | 170 mpeg1_vlc, |
