Michael Niedermayer
c80b59f679
tscc2: Fix an out of array access
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Kostya Shishkov
0cf7d849ff
tscc2: fix typo in array index
12 years ago
Kostya Shishkov
4cfb0d871d
tscc2: do not add/subtract 128 bias during DCT
It turns out that the reference decoder subtracts 128 from DC during block
decode but adds it back during reordering block with zigzag pattern.
Transforming block with incorrect DC caused heavy visual artifacts for
many quantisers.
13 years ago
Kostya Shishkov
3c6c19184c
tscc2: fix typo in DCT
13 years ago
Kostya Shishkov
0b40153d20
tscc2: DCT output should not be clipped
This fixes decoding some TSCC2 files with large quantisers.
13 years ago
Kostya Shishkov
781888da89
TechSmith Screen Codec 2 decoder
13 years ago