diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-11-30 14:35:35 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-11-30 14:35:35 +0000 |
commit | 68b94c354d913a9cc8b110d66d8d5faab3572025 (patch) | |
tree | fe001be77acded033a1cb532492d689e9579fed9 /libavcodec/h263data.h | |
parent | 3e8a5124a24719c89921cc5aa6215ff9d480ed0e (diff) | |
download | ffmpeg-68b94c354d913a9cc8b110d66d8d5faab3572025.tar.gz |
rv20 decoder
Originally committed as revision 2543 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263data.h')
-rw-r--r-- | libavcodec/h263data.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/libavcodec/h263data.h b/libavcodec/h263data.h index 5af773fcc3..d048ee4f6b 100644 --- a/libavcodec/h263data.h +++ b/libavcodec/h263data.h @@ -208,8 +208,29 @@ static const uint16_t h263_format[8][2] = { { 1408, 1152 }, }; -static uint8_t h263_aic_dc_scale_table[32]={ +uint8_t ff_aic_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, 2, 4, 6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62 }; +static const uint8_t modified_quant_tab[2][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, 3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,16,17,18,18,19,20,21,22,23,24,25,26,27,28 +},{ + 0, 2, 3, 4, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,31,31,26 +} +}; + +static const uint8_t chroma_qscale_tab[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, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,10,11,11,12,12,12,13,13,13,14,14,14,14,14,15,15,15,15,15 +}; + +const uint16_t ff_mba_max[6]={ + 47, 98, 395,1583,6335,9215 +}; + +const uint8_t ff_mba_length[6]={ + 6, 7, 9, 11, 13, 14 +}; |