[MPlayer-dev-eng] [PATCH] Loop invariant motion in libvo/osd_template.c
Michael Niedermayer
michaelni at gmx.at
Mon Jun 12 11:26:54 CEST 2006
Hi
On Mon, Jun 12, 2006 at 03:31:53PM +0800, Zuxy Meng wrote:
> Hi,
>
> The attached patch moves invariant code (chiefly MMX register
> initialization) out of loops as well as eliminating some memory
> accesses within the inner loop.
no objections ...
btw, if you interrested, then that code can be optiized further ...
like replacing srca[x] || srca[x+1] by *(unit16_t*)&srca[x] or changing
the for loops to asm loops
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the MPlayer-dev-eng
mailing list