# HG changeset patch # User nick # Date 1005494959 0 # Node ID 03ccbb72e2e92c0adf032cdbe9723249d1e34b94 # Parent 3e045cebc4463e241a5ae9992de00f9c515b36ca Cloning 32 stuff to 24 diff -r 3e045cebc446 -r 03ccbb72e2e9 libvo/osd.c --- a/libvo/osd.c Sun Nov 11 15:45:39 2001 +0000 +++ b/libvo/osd.c Sun Nov 11 16:09:19 2001 +0000 @@ -54,11 +54,88 @@ return; } +#ifdef HAVE_MMX +static const unsigned long long mask24lh __attribute__((aligned(8))) = 0xFFFF000000000000ULL; +static const unsigned long long mask24hl __attribute__((aligned(8))) = 0x0000FFFFFFFFFFFFULL; +#endif void vo_draw_alpha_rgb24(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride){ int y; for(y=0;y