[FFmpeg-devel] [PATCH] IFF: Change decodeplane8 while to do ... while for getting 1% speedup

Sebastian Vater cdgs.basty
Sun May 9 23:55:14 CEST 2010


The patch from Mans which fixed the 8 pixels to less decoded per line
issue, causes crazy assembly code on gcc with x86_32.

So I changed this after discussing with Mans to make a do ... while loop
instead.

Please note that this patch has the side effect that a width <= 0 is
illegal, so this patch should only be applied after the width and height
check patch.

Benchmarking it resulted in a 1% speedup using MRLake.iff.

I tested this patch also against lms-matriks.ilbm which decodes still
fine. ;)

-- 

Best regards,
                   :-) Basty/CDGS (-:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-decoder-fix-heavy-dp8.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100509/191e7d1b/attachment.bin>



More information about the ffmpeg-devel mailing list