« Previous | Next » 

Revision a8858ee1

IDa8858ee11cf4f0ae22e0a9df57bec4ec5dd02f80
Parent cdeba2de
Child 471fe57e

Added by Ronald S. Bultje over 9 years ago

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)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences