aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlib
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2009-12-02 04:06:27 +0000
committerMike Melanson <mike@multimedia.cx>2009-12-02 04:06:27 +0000
commit9d8bb0318a0bc59a04c71555a3c575f8146eab41 (patch)
treee40e9d5d6c8ca12af8293cf3442a321835b2f19f /libavcodec/mlib
parent098523eb28df3a1cf4bddca088d80d5cbd2b9a1f (diff)
downloadffmpeg-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