diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-06-18 00:46:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-06-18 00:46:02 +0000 |
commit | 8f8402e49c49b1106ad5cae075534cb383247041 (patch) | |
tree | ef219ff9aeda70c94cd37e78417fa2654a0f5075 /libavcodec/mpeg4data.h | |
parent | f0063c1a5b199c3e504c7539e5078d6c2e9242ba (diff) | |
download | ffmpeg-8f8402e49c49b1106ad5cae075534cb383247041.tar.gz |
dc scale simplification/optimization
Originally committed as revision 695 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg4data.h')
-rw-r--r-- | libavcodec/mpeg4data.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/mpeg4data.h b/libavcodec/mpeg4data.h index e972a7576d..3d8de7ca6f 100644 --- a/libavcodec/mpeg4data.h +++ b/libavcodec/mpeg4data.h @@ -153,3 +153,13 @@ INT16 ff_mpeg4_default_non_intra_matrix[64] = { 23, 24, 25, 27, 28, 30, 31, 33, }; +UINT8 ff_mpeg4_y_dc_scale_table[32]={ +// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 + 0, 8, 8, 8, 8,10,12,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,34,36,38,40,42,44,46 +}; +UINT8 ff_mpeg4_c_dc_scale_table[32]={ +// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 + 0, 8, 8, 8, 8, 9, 9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,20,21,22,23,24,25 +}; + + |