diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-03-04 02:26:20 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-03-04 02:26:20 +0000 |
commit | 5a6b9443ed6136416363c64566f8374a7d084b17 (patch) | |
tree | fd03a97adf2b3fe92f122a81dbef1d833071d672 /libavcodec/mpeg12data.h | |
parent | 36264d3586eeab83bdae759792a2d5d2f3e263c2 (diff) | |
download | ffmpeg-5a6b9443ed6136416363c64566f8374a7d084b17.tar.gz |
dummy support for mpeg2 non linear quant
Originally committed as revision 8215 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12data.h')
-rw-r--r-- | libavcodec/mpeg12data.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mpeg12data.h b/libavcodec/mpeg12data.h index 6c96a495b6..1176a75fa7 100644 --- a/libavcodec/mpeg12data.h +++ b/libavcodec/mpeg12data.h @@ -381,6 +381,11 @@ static const uint8_t non_linear_qscale[32] = { 56,64,72,80,88,96,104,112, }; +static const uint8_t inv_non_linear_qscale[13] = { + 0, 2, 4, 6, 8, + 9,10,11,12,13,14,15,16, +}; + const uint8_t ff_mpeg1_dc_scale_table[128]={ // 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 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, |