comparison src/video/SDL_blit_A.c @ 3870:571c75f3d093 SDL-1.2

(none)
author Sam Lantinga <slouken@libsdl.org>
date Sat, 23 Sep 2006 23:15:34 +0000
parents 398ac0f88e4d
children 081aecdb0911
comparison
equal deleted inserted replaced
3869:b0955ae208f3 3870:571c75f3d093
1554 } 1554 }
1555 } 1555 }
1556 1556
1557 #if GCC_ASMBLIT 1557 #if GCC_ASMBLIT
1558 /* fast (as in MMX with prefetch) ARGB888->(A)RGB888 blending with pixel alpha */ 1558 /* fast (as in MMX with prefetch) ARGB888->(A)RGB888 blending with pixel alpha */
1559 inline static void BlitRGBtoRGBPixelAlphaMMX3DNOW(SDL_BlitInfo *info) 1559 static void BlitRGBtoRGBPixelAlphaMMX3DNOW(SDL_BlitInfo *info)
1560 { 1560 {
1561 int width = info->d_width; 1561 int width = info->d_width;
1562 int height = info->d_height; 1562 int height = info->d_height;
1563 Uint32 *srcp = (Uint32 *)info->s_pixels; 1563 Uint32 *srcp = (Uint32 *)info->s_pixels;
1564 int srcskip = info->s_skip >> 2; 1564 int srcskip = info->s_skip >> 2;