diff options
author | Mike Melanson <mike@multimedia.cx> | 2009-12-02 04:06:27 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2009-12-02 04:06:27 +0000 |
commit | 9d8bb0318a0bc59a04c71555a3c575f8146eab41 (patch) | |
tree | e40e9d5d6c8ca12af8293cf3442a321835b2f19f /libavcodec/mlib | |
parent | 098523eb28df3a1cf4bddca088d80d5cbd2b9a1f (diff) | |
download | ffmpeg-9d8bb0318a0bc59a04c71555a3c575f8146eab41.tar.gz |
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
Diffstat (limited to 'libavcodec/mlib')
0 files changed, 0 insertions, 0 deletions