« Previous | Next » 

Revision 9d8bb031

ID9d8bb0318a0bc59a04c71555a3c575f8146eab41
Parent 098523eb
Child 38610d92

Added by Mike Melanson over 11 years ago

Small refactoring: Instead of 4 loops for decoding AC coefficients based
on their grouping, create one loop that indexes into a table of AC VLC
tables.

There is also a small optimization here: Do not call unpack_vlcs()
if there are no fragments in the list with outstanding coefficients.
My profiling indicates that this can save upwards of 1 million
dezicycles per frame throughout the course of unpack_dct_coeffs().

Originally committed as revision 20699 to svn://svn.ffmpeg.org/ffmpeg/trunk

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences