VC1: don't use vc1_put_block() in vc1_decode_i_blocks_adv().
authorRonald S. Bultje <rsbultje@gmail.com>
Sun, 20 Feb 2011 00:07:29 +0000 (19:07 -0500)
committerRonald S. Bultje <rsbultje@gmail.com>
Sun, 20 Feb 2011 13:31:14 +0000 (08:31 -0500)
commit70aa916e4630bcec14439a2d703074b6d4c890a8
tree99274329bc0120c0baf1e6fcc234861c761e5567
parent87f1355f9b4fc11414d0e6a91404203c2745f89f
VC1: don't use vc1_put_block() in vc1_decode_i_blocks_adv().

Advanced profile never uses "range reduction", so vc1_put_block() quite
literally just calls put_pixels_clamped() from vc1_decode_i_blocks_adv().
By inlining the function, we can prevent calling IDCT8x8 if
CODEC_FLAG_GRAY is set, and we don't have to scale the coeffs in the
[0,256] range, but can instead use put_signed_pixels_clamped().
libavcodec/vc1dec.c