/external/qemu/distrib/sdl-1.2.15/src/video/ |
D | SDL_pixels.c | 38 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) in SDL_AllocFormat() argument 55 if ( Rmask || Bmask || Gmask ) { /* Packed pixels with custom mask */ in SDL_AllocFormat() 67 if ( Gmask ) { in SDL_AllocFormat() 68 for ( mask = Gmask; !(mask&0x01); mask >>= 1 ) in SDL_AllocFormat() 90 format->Gmask = Gmask; in SDL_AllocFormat() 104 format->Gmask = ((0xFF>>format->Gloss)<<format->Gshift); in SDL_AllocFormat() 117 format->Gmask = 0; in SDL_AllocFormat() 140 if ( Rmask || Bmask || Gmask ) { in SDL_AllocFormat() 157 if(Gmask) in SDL_AllocFormat() 192 g=(i&Gmask)>>format->Gshift; in SDL_AllocFormat() [all …]
|
D | SDL_bmp.c | 56 Uint32 Gmask; in SDL_LoadBMP_RW() local 172 Rmask = Gmask = Bmask = 0; in SDL_LoadBMP_RW() 182 Gmask = 0x03E0; in SDL_LoadBMP_RW() 188 Gmask = 0x0000FF00; in SDL_LoadBMP_RW() 194 Gmask = 0x0000FF00; in SDL_LoadBMP_RW() 210 Gmask = SDL_ReadLE32(src); in SDL_LoadBMP_RW() 225 biWidth, biHeight, biBitCount, Rmask, Gmask, Bmask, 0); in SDL_LoadBMP_RW() 401 (saveme->format->Gmask == 0x0000FF00) && in SDL_SaveBMP_RW() 405 (saveme->format->Gmask == 0x0000FF00) && in SDL_SaveBMP_RW()
|
D | SDL_pixels_c.h | 30 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); 32 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
|
D | SDL_surface.c | 39 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) in SDL_CreateRGBSurface() argument 89 Gmask = video->displayformatalphapixel->Gmask; in SDL_CreateRGBSurface() 97 Gmask = screen->format->Gmask; in SDL_CreateRGBSurface() 102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask); in SDL_CreateRGBSurface() 156 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) in SDL_CreateRGBSurfaceFrom() argument 161 Rmask, Gmask, Bmask, Amask); in SDL_CreateRGBSurfaceFrom() 826 format->Rmask, format->Gmask, format->Bmask, format->Amask); in SDL_ConvertSurface()
|
D | SDL_RLEaccel.c | 639 switch(fmt->Rmask | fmt->Gmask | fmt->Bmask) { \ 641 if(fmt->Gmask == 0x07e0 \ 657 if(fmt->Gmask == 0x03e0 \ 683 if((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \ 684 && (fmt->Gmask == 0xff00 || fmt->Rmask == 0xff00 \ 725 switch(fmt->Rmask | fmt->Gmask | fmt->Bmask) { \ 727 if(fmt->Gmask == 0x07e0 \ 740 if(fmt->Gmask == 0x03e0 \ 763 if((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \ 764 && (fmt->Gmask == 0xff00 || fmt->Rmask == 0xff00 \ [all …]
|
D | SDL_yuv_sw.c | 939 Uint32 Rmask, Gmask, Bmask; in SDL_CreateYUV_SW() local 1020 Gmask = display->format->Gmask; in SDL_CreateYUV_SW() 1025 g_2_pix_alloc[i+256] = i >> (8 - number_of_bits_set(Gmask)); in SDL_CreateYUV_SW() 1026 g_2_pix_alloc[i+256] <<= free_bits_at_bottom(Gmask); in SDL_CreateYUV_SW() 1067 (Gmask == 0x07E0) && in SDL_CreateYUV_SW() 1089 (Gmask == 0x0000FF00) && in SDL_CreateYUV_SW() 1203 display->format->Gmask, in SDL_DisplayYUV_SW()
|
D | SDL_blit_A.c | 285 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) { in BlitRGBtoRGBSurfaceAlphaMMX() 505 Uint32 chanmask = df->Rmask | df->Gmask | df->Bmask; in BlitRGBtoRGBSurfaceAlphaMMX() 508 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) { in BlitRGBtoRGBSurfaceAlphaMMX() 605 Uint32 chanmask = sf->Rmask | sf->Gmask | sf->Bmask; in BlitRGBtoRGBPixelAlphaMMX() 765 amask = 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ 0xFFFFFFFF); in calc_swizzle32() 950 Uint32 rgbmask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit32to32SurfaceAlphaKeyAltivec() 1705 Uint32 chanmask = sf->Rmask | sf->Gmask | sf->Bmask; in BlitRGBtoRGBPixelAlphaMMX3DNOW() 2748 if(df->Gmask == 0x7e0) in SDL_CalculateAlphaBlit() 2757 else if(df->Gmask == 0x3e0) in SDL_CalculateAlphaBlit() 2771 && sf->Gmask == df->Gmask in SDL_CalculateAlphaBlit() [all …]
|
D | SDL_blit.h | 92 g = (((Pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss); \ 271 g = ((Pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss; \ 278 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \
|
D | SDL_blit_N.c | 82 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \ 141 amask = 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ 0xFFFFFFFF); in calc_swizzle32() 555 Uint32 rgbmask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit32to32KeyAltivec() 2018 Uint32 mask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit4to4MaskAlpha() 2427 (srcfmt->Gmask == 0x0000FF00) && in SDL_CalculateBlitN() 2450 MASKOK(srcfmt->Gmask, table[which].srcG) && in SDL_CalculateBlitN() 2453 MASKOK(dstfmt->Gmask, table[which].dstG) && in SDL_CalculateBlitN() 2467 srcfmt->Gmask == dstfmt->Gmask && in SDL_CalculateBlitN()
|
D | SDL_video.c | 255 vformat.Rmask, vformat.Gmask, vformat.Bmask, 0); in SDL_VideoInit() 522 Uint32 Rmask, Gmask, Bmask; in SDL_CreateShadowSurface() local 527 Gmask = (SDL_VideoSurface->format)->Gmask; in SDL_CreateShadowSurface() 530 Rmask = Gmask = Bmask = 0; in SDL_CreateShadowSurface() 534 depth, Rmask, Gmask, Bmask, 0); in SDL_CreateShadowSurface()
|
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
D | SDL_dcvideo.c | 145 vformat->Gmask = 0x000007e0; in DC_VideoInit() 194 Uint32 Rmask, Gmask, Bmask; in DC_SetVideoMode() local 208 Gmask = 0x000003e0; in DC_SetVideoMode() 214 Gmask = 0x000007e0; in DC_SetVideoMode() 220 Gmask = 0x0000ff00; in DC_SetVideoMode() 232 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { in DC_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
D | SDL_ndsvideo.c | 173 vformat->Gmask = 0x000007e0; in NDS_VideoInit() 242 Uint32 Rmask, Gmask, Bmask, Amask; in NDS_SetVideoMode() local 250 Gmask = 0x000003E0; in NDS_SetVideoMode() 272 Gmask = 0x00000000; in NDS_SetVideoMode() 314 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, Amask) ) { in NDS_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
D | SDL_DirectFB_video.c | 230 if (format->Rmask && format->Gmask && format->Bmask) in SDLToDFBPixelFormat() 239 format->Gmask == 0x07E0 && in SDLToDFBPixelFormat() 246 format->Gmask == 0x03E0 && in SDLToDFBPixelFormat() 253 format->Gmask == 0x00FF00 && in SDLToDFBPixelFormat() 260 format->Gmask == 0x00FF00 && in SDLToDFBPixelFormat() 318 format->Amask = format->Rmask = format->Gmask = format->Bmask = 0; in DFBToSDLPixelFormat() 329 format->Gmask = 0x000003E0; in DFBToSDLPixelFormat() 335 format->Gmask = 0x000007E0; in DFBToSDLPixelFormat() 345 format->Gmask = 0x0000FF00; in DFBToSDLPixelFormat() 351 format->Gmask = 0x000000FF; in DFBToSDLPixelFormat() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
D | SDL_riscosvideo.c | 196 vformat->Gmask = 0x000003e0; in RISCOS_VideoInit() 205 vformat->Gmask = 0x0000ff00; in RISCOS_VideoInit() 212 vformat->Gmask = 0; in RISCOS_VideoInit()
|
D | SDL_wimpvideo.c | 86 Uint32 Gmask = 0; in WIMP_SetVideoMode() local 105 Gmask = 0x000003e0; in WIMP_SetVideoMode() 112 Gmask = 0x0000ff00; in WIMP_SetVideoMode() 126 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { in WIMP_SetVideoMode()
|
D | SDL_riscosFullScreenVideo.c | 101 Uint32 Gmask = 0; in FULLSCREEN_SetVideoMode() local 114 Gmask = 0x000003e0; in FULLSCREEN_SetVideoMode() 120 Gmask = 0x0000ff00; in FULLSCREEN_SetVideoMode() 139 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { in FULLSCREEN_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
D | SDL_ipodvideo.c | 297 vformat->Gmask = 0x07E0; in iPod_VideoInit() 301 vformat->Rmask = vformat->Gmask = vformat->Bmask = 0; in iPod_VideoInit() 337 Uint32 Rmask, Gmask, Bmask; in iPod_SetVideoMode() local 340 Gmask = 0x07E0; in iPod_SetVideoMode() 343 Rmask = Gmask = Bmask = 0; in iPod_SetVideoMode() 355 if (!SDL_ReallocFormat (current, bpp, Rmask, Gmask, Bmask, 0)) { in iPod_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/ |
D | SDL_gapivideo.c | 579 vformat->Gmask = 0x000007e0; in GAPI_VideoInit() 587 vformat->Gmask = 0x000003e0; in GAPI_VideoInit() 596 vformat->Gmask = 0x000007e0; in GAPI_VideoInit() 622 Uint32 Rmask, Gmask, Bmask; in GAPI_SetVideoMode() local 640 Gmask = 0; in GAPI_SetVideoMode() 648 Gmask = 0x000003e0; in GAPI_SetVideoMode() 653 Gmask = 0x000007e0; in GAPI_SetVideoMode() 660 Gmask = 0x0000ff00; in GAPI_SetVideoMode() 668 0, 0, bpp, Rmask, Gmask, Bmask, 0); in GAPI_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
D | SDL_dibvideo.c | 344 vformat->Gmask = 0x000003e0; in DIB_VideoInit() 350 vformat->Gmask = 0x000007e0; in DIB_VideoInit() 357 vformat->Gmask = 0x0000ff00; in DIB_VideoInit() 611 Uint32 Rmask, Gmask, Bmask; local 655 Gmask = 0x000003e0; 660 Gmask = 0x000007e0; 668 Gmask = 0x0000ff00; 673 Gmask = 0x00000000; 678 0, 0, bpp, Rmask, Gmask, Bmask, 0); 886 ((Uint32*)binfo->bmiColors)[1] = video->format->Gmask;
|
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/ |
D | SDL_vglvideo.h | 42 int Gmask; member
|
D | SDL_vglvideo.c | 349 VGLCurMode->Gmask = modes[i]->Gmask; in VGL_SetVideoMode() 381 VGLCurMode->Gmask, VGLCurMode->Bmask, 0)) { in VGL_SetVideoMode() 580 modescp->Gmask = ((1 << minfo.vi_pixel_fsizes[VGL_GREEN_INDEX]) - 1) << in VGLListModes()
|
/external/qemu/distrib/sdl-1.2.15/include/ |
D | SDL_video.h | 83 Uint32 Gmask; member 555 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); 559 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
|
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
D | SDL_dx5video.c | 1081 Uint32 Rmask, Gmask, Bmask; local 1093 Gmask = 0x000003e0; 1098 Gmask = 0x000007e0; 1106 Gmask = 0x0000ff00; 1111 Gmask = 0x00000000; 1116 Rmask, Gmask, Bmask, 0); 1710 ddsd.ddpfPixelFormat.u3.dwGBitMask = surface->format->Gmask; 1715 ddsd.ddpfPixelFormat.dwGBitMask = surface->format->Gmask; 1803 (ddsd.ddpfPixelFormat.u3.dwGBitMask != surface->format->Gmask) || 1809 (ddsd.ddpfPixelFormat.dwGBitMask != surface->format->Gmask) ||
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
D | SDL_fbvideo.c | 608 vformat->Gmask <<= 1; in FB_VideoInit() 609 vformat->Gmask |= (0x00000001<<vinfo.green.offset); in FB_VideoInit() 1005 Uint32 Gmask; in FB_SetVideoMode() local 1089 Gmask = 0; in FB_SetVideoMode() 1091 Gmask <<= 1; in FB_SetVideoMode() 1092 Gmask |= (0x00000001<<vinfo.green.offset); in FB_SetVideoMode() 1100 Rmask, Gmask, Bmask, 0) ) { in FB_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
D | SDL_ggivideo.c | 223 vformat->Gmask = db->buffer.plb.pixelformat->green_mask; in GGI_VideoInit()
|