[MPlayer-dev-eng] [PATCH] more bmovl speedup

Jonas Jensen jbj at knef.dk
Sun Jan 26 22:20:26 CET 2003


The code for converting RGB to YUV in bmovl is slow because it uses
floating point arithmetic, and it is executed every time a new bitmap is
sent over the fifo, which is often 24 times per second when animating
something across the screen.

The attached patch changes it to use integers instead, giving about a 2x
performance boost on animations.

-- 
Jonas Jensen <jbj at knef.dk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bmovl-rgb2yuv.patch
Type: text/x-diff
Size: 795 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030126/9f883f06/attachment.patch>


More information about the MPlayer-dev-eng mailing list