Searched refs:Amask (Results 1 - 22 of 22) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_pixels_c.h30 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
32 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
H A DSDL_pixels.c38 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
83 if ( Amask ) {
84 for ( mask = Amask; !(mask&0x01); mask >>= 1 )
92 format->Amask = Amask;
119 format->Amask = 0;
176 if(Amask)
201 a=(i&Amask)>>format->Ashift;
225 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
231 surface->format = SDL_AllocFormat(bpp, Rmask, Gmask, Bmask, Amask);
37 SDL_AllocFormat(int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) argument
224 SDL_ReallocFormat(SDL_Surface *surface, int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) argument
[all...]
H A DSDL_surface.c39 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
85 if ((Amask) && (video->displayformatalphapixel))
91 Amask = video->displayformatalphapixel->Amask;
99 Amask = screen->format->Amask;
102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask);
107 if ( Amask ) {
156 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
161 Rmask, Gmask, Bmask, Amask);
37 SDL_CreateRGBSurface(Uint32 flags, int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) argument
154 SDL_CreateRGBSurfaceFrom(void *pixels, int width, int height, int depth, int pitch, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) argument
[all...]
H A DSDL_blit.h85 && ((A)->Rmask == (B)->Rmask) && ((A)->Amask == (B)->Amask))
229 #define ASSEMBLE_RGB_AMASK(buf, bpp, fmt, r, g, b, Amask) \
238 *bufp = Pixel | (*bufp & Amask); \
261 *bufp = Pixel | (*bufp & Amask); \
273 a = ((Pixel&fmt->Amask)>>fmt->Ashift)<<fmt->Aloss; \
280 a = (Pixel&fmt->Amask)>>fmt->Ashift; \
329 Pixel &= ~fmt->Amask; \
H A DSDL_blit.c299 || surface->format->Amask) ) {
346 || (blit_index == 3 && !surface->format->Amask))) {
349 } else if(blit_index == 2 && surface->format->Amask) {
H A DSDL_blit_N.c84 ((a<<dstfmt->Ashift)&dstfmt->Amask) )
138 if (dstfmt->Amask) {
139 amask = ((srcfmt->Amask) ? RESHIFT(srcfmt->Ashift) : 0x10) << (dstfmt->Ashift);
315 if (dstfmt->Amask && srcfmt->alpha) {
460 if (dstfmt->Amask && srcfmt->alpha) {
553 int copy_alpha = (srcfmt->Amask && dstfmt->Amask);
554 unsigned alpha = dstfmt->Amask ? srcfmt->alpha : 0;
667 if (dstfmt->Amask && !srcfmt->Amask) {
[all...]
H A DSDL_blit_A.c237 Uint32 dalpha = info->dst->Amask;
306 movd_m2r(df->Amask, mm7); /* dst alpha mask */
374 Uint32 amask = sf->Amask;
378 movd_m2r(sf->Amask, mm7); /* 0000F000 -> mm7 */
455 Uint32 dalpha = info->dst->Amask;
518 Uint32 dalpha = df->Amask;
606 Uint32 amask = sf->Amask;
762 if (dstfmt->Amask) {
763 amask = ((srcfmt->Amask) ? RESHIFT(srcfmt->Ashift) : 0x10) << (dstfmt->Ashift);
949 unsigned dA = dstfmt->Amask
[all...]
H A DSDL_RLEaccel.c1011 Uint32 Amask; member in struct:__anon10541
1293 unsigned alpha = dfmt->Amask ? 255 : 0;
1394 #define ISOPAQUE(pixel, fmt) ((((pixel) & fmt->Amask) >> fmt->Ashift) == 255)
1397 ((unsigned)((((pixel) & fmt->Amask) >> fmt->Ashift) - 1U) < 254U)
1487 r->Amask = df->Amask;
1685 rgbmask = ~surface->format->Amask;
1797 && surface->format->Amask != 0)
H A DSDL_video.c1772 } else if((flags & 2) && (*pixels & icon->format->Amask) == 0) {
1788 } else if((flags & 2) && (*pixels & icon->format->Amask) == 0) {
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c242 Uint32 Rmask, Gmask, Bmask, Amask; local
252 Amask = 0x00008000;
314 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, Amask) ) {
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_video.h85 Uint32 Amask; member in struct:SDL_PixelFormat
555 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
559 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
/external/qemu/android/skin/
H A Dscaler.c164 uint32_t amask = dst_surface->format->Amask; // may be 0x00
H A Dwindow.c401 uint32_t amask = surface->format->Amask; // may be 0x00 for non-alpha format
495 uint32_t amask = surface->format->Amask; // may be 0x00 for non-alpha format
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11video.c693 vformat->Amask = (0xFFFFFFFF & ~(vformat->Rmask|vformat->Gmask|vformat->Bmask));
921 Uint32 Amask; local
973 Amask = (0xFFFFFFFF & ~(vis->red_mask|vis->green_mask|vis->blue_mask));
975 Amask = 0;
978 vis->red_mask, vis->green_mask, vis->blue_mask, Amask) ) {
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_video.c263 if (format->Amask == 0xFF000000)
318 format->Amask = format->Rmask = format->Gmask = format->Bmask = 0;
324 format->Amask = 0x000000FF;
340 format->Amask = 0; /* apps don't seem to like that: 0xFF000000; */
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.c252 current->format->Amask = this->hidden->shm.alpha_mask;
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestblitspeed.c102 (int) surface->format->Amask,
H A Dtestoverlay2.c457 format.Amask=0;
H A Dtestgl.c404 screen->format->Amask);
H A Dtestoverlay.c512 format.Amask=0;
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
H A DSDL_QuartzWM.m457 if (icon->format->Amask == 0) pixels[index + 3] = icon->format->alpha;
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
H A DSDL_os2fslib.c2469 pResult->format->Amask = ((unsigned int) pModeInfoFound->PixelFormat.ucAlphaMask) << pModeInfoFound->PixelFormat.ucAlphaPosition;
2474 pResult->format->Amask =
2744 vformat->Amask = ((unsigned int) pDesktopMode->PixelFormat.ucAlphaMask) << pDesktopMode->PixelFormat.ucAlphaPosition;
2749 vformat->Amask =

Completed in 1250 milliseconds