diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-19 19:07:29 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-20 19:05:47 +0100 |
commit | a8858ee11cf4f0ae22e0a9df57bec4ec5dd02f80 (patch) | |
tree | 47487f3d9e847ebc3f01bdf6e7cd0dd0b8b83d65 /libavformat/nutdec.c | |
parent | cdeba2de821df504ca799c103e48f3e9a92241f9 (diff) | |
download | ffmpeg-a8858ee11cf4f0ae22e0a9df57bec4ec5dd02f80.tar.gz |
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().
(cherry picked from commit 70aa916e4630bcec14439a2d703074b6d4c890a8)
Diffstat (limited to 'libavformat/nutdec.c')
0 files changed, 0 insertions, 0 deletions