[FFmpeg-devel] [PATCH] Further optimization for vp3.c:unpack_vlcs()
Sun Sep 20 08:38:31 CEST 2009
Reimar had a good idea with this patch:
I got rid of a bunch of other structure dereferences in the inner loop.
For one sample I was using (and profiling the calls to the unpack_vlcs()
for the DC coefficients), these are the before and after numbers:
3019769 dezicycles in unpack_vlcs (DC coeffs), 2048 runs, 0 skips
2894529 dezicycles in unpack_vlcs (DC coeffs), 2048 runs, 0 skips
Further, when using OProfile, I see unpack_vlcs()'s overall percentage
drop from 44.1% -> 41.9% when decoding the first 15 seconds of Big Buck
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel