bink: make IDCT take 32-bit input
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 23 Jul 2011 13:46:35 +0000 (15:46 +0200)
committerMans Rullgard <mans@mansr.com>
Wed, 27 Jul 2011 13:39:56 +0000 (14:39 +0100)
commit2968bedf129558024ea87a1aabc4aa2d3a5bcb6e
treeabe755aee5abd6698fef19f58d14142434d38b24
parent001e600c3b8668191f96d7a1e46da0d7fff546de
bink: make IDCT take 32-bit input

Since IDCT transforming 32-bit input to 8-bit output is unusual and unpractical
for most codecs, move Bink IDCT into separate context. Get rid of an additional
permutation table while at it since SIMD support for Bink IDCT is unlikely to
be implemented in foreseeable future.
Quantisation tables also have to change type to signed for proper
dequantisation of DCT coefficients.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/Makefile
libavcodec/bink.c
libavcodec/binkdata.h
libavcodec/binkdsp.c [new file with mode: 0644]
libavcodec/binkdsp.h [new file with mode: 0644]
libavcodec/binkidct.c [deleted file]
libavcodec/dsputil.c