/external/qemu/distrib/sdl-1.2.12/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() 75 if ( Bmask ) { in SDL_AllocFormat() 76 for ( mask = Bmask; !(mask&0x01); mask >>= 1 ) in SDL_AllocFormat() 91 format->Bmask = Bmask; in SDL_AllocFormat() 105 format->Bmask = ((0xFF>>format->Bloss)<<format->Bshift); in SDL_AllocFormat() 118 format->Bmask = 0; in SDL_AllocFormat() 140 if ( Rmask || Bmask || Gmask ) { in SDL_AllocFormat() 166 if(Bmask) in SDL_AllocFormat() 196 b=(i&Bmask)>>format->Bshift; in SDL_AllocFormat() [all …]
|
D | SDL_bmp.c | 57 Uint32 Bmask; in SDL_LoadBMP_RW() local 153 Rmask = Gmask = Bmask = 0; in SDL_LoadBMP_RW() 164 Bmask = 0x001F; in SDL_LoadBMP_RW() 170 Bmask = 0x00FF0000; in SDL_LoadBMP_RW() 176 Bmask = 0x000000FF; in SDL_LoadBMP_RW() 192 Bmask = SDL_ReadLE32(src); in SDL_LoadBMP_RW() 206 biWidth, biHeight, biBitCount, Rmask, Gmask, Bmask, 0); in SDL_LoadBMP_RW() 373 (saveme->format->Bmask == 0x000000FF) in SDL_SaveBMP_RW() 377 (saveme->format->Bmask == 0x00FF0000) 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 90 Bmask = video->displayformatalphapixel->Bmask; in SDL_CreateRGBSurface() 98 Bmask = screen->format->Bmask; 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 | 638 switch(fmt->Rmask | fmt->Gmask | fmt->Bmask) { \ 642 || fmt->Bmask == 0x07e0) { \ 658 || fmt->Bmask == 0x03e0) { \ 682 if((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \ 684 || fmt->Bmask == 0xff00)) { \ 724 switch(fmt->Rmask | fmt->Gmask | fmt->Bmask) { \ 728 || fmt->Bmask == 0x07e0) { \ 741 || fmt->Bmask == 0x03e0) { \ 762 if((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \ 764 || fmt->Bmask == 0xff00)) { \ [all …]
|
D | SDL_yuv_sw.c | 939 Uint32 Rmask, Gmask, Bmask; in SDL_CreateYUV_SW() local 1021 Bmask = display->format->Bmask; in SDL_CreateYUV_SW() 1027 b_2_pix_alloc[i+256] = i >> (8 - number_of_bits_set(Bmask)); in SDL_CreateYUV_SW() 1028 b_2_pix_alloc[i+256] <<= free_bits_at_bottom(Bmask); in SDL_CreateYUV_SW() 1068 (Bmask == 0x001F) && in SDL_CreateYUV_SW() 1090 (Bmask == 0x000000FF) && in SDL_CreateYUV_SW() 1204 display->format->Bmask, 0); in SDL_DisplayYUV_SW()
|
D | SDL_video.c | 249 vformat.Rmask, vformat.Gmask, vformat.Bmask, 0); in SDL_VideoInit() 514 Uint32 Rmask, Gmask, Bmask; in SDL_CreateShadowSurface() local 520 Bmask = (SDL_VideoSurface->format)->Bmask; in SDL_CreateShadowSurface() 522 Rmask = Gmask = Bmask = 0; in SDL_CreateShadowSurface() 526 depth, Rmask, Gmask, Bmask, 0); in SDL_CreateShadowSurface() 960 (vf->Bmask == 0xf800 || vf->Bmask == 0x7c00)) { in SDL_DisplayFormatAlpha() 970 if ( (vf->Rmask == 0xff) && (vf->Bmask == 0xff0000) ) { in SDL_DisplayFormatAlpha()
|
D | SDL_blit_A.c | 284 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) { in BlitRGBtoRGBSurfaceAlphaMMX() 504 Uint32 chanmask = df->Rmask | df->Gmask | df->Bmask; in BlitRGBtoRGBSurfaceAlphaMMX() 507 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) { in BlitRGBtoRGBSurfaceAlphaMMX() 604 Uint32 chanmask = sf->Rmask | sf->Gmask | sf->Bmask; in BlitRGBtoRGBPixelAlphaMMX() 764 amask = 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ 0xFFFFFFFF); in calc_swizzle32() 949 Uint32 rgbmask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit32to32SurfaceAlphaKeyAltivec() 1704 Uint32 chanmask = sf->Rmask | sf->Gmask | sf->Bmask; in BlitRGBtoRGBPixelAlphaMMX3DNOW() 2771 && sf->Bmask == df->Bmask in SDL_CalculateAlphaBlit() 2781 if((sf->Rmask | sf->Gmask | sf->Bmask) == 0xffffff) in SDL_CalculateAlphaBlit() 2814 df->Bmask == 0x1f && SDL_HasAltiVec()) in SDL_CalculateAlphaBlit() [all …]
|
D | SDL_blit.h | 93 b = (((Pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss); \ 272 b = ((Pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss; \ 279 b = (Pixel&fmt->Bmask)>>fmt->Bshift; \
|
D | SDL_blit_N.c | 83 ((b<<dstfmt->Bshift)&dstfmt->Bmask) | \ 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() 2426 (srcfmt->Bmask == 0x000000FF) ) { in SDL_CalculateBlitN() 2449 MASKOK(srcfmt->Bmask, table[which].srcB) && in SDL_CalculateBlitN() 2452 MASKOK(dstfmt->Bmask, table[which].dstB) && in SDL_CalculateBlitN() 2466 srcfmt->Bmask == dstfmt->Bmask ) { in SDL_CalculateBlitN()
|
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
D | SDL_dcvideo.c | 146 vformat->Bmask = 0x0000001f; in DC_VideoInit() 194 Uint32 Rmask, Gmask, Bmask; in DC_SetVideoMode() local 209 Bmask = 0x0000001f; in DC_SetVideoMode() 215 Bmask = 0x0000001f; in DC_SetVideoMode() 221 Bmask = 0x000000ff; in DC_SetVideoMode() 232 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { in DC_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
D | SDL_DirectFB_video.c | 230 if (format->Rmask && format->Gmask && format->Bmask) in SDLToDFBPixelFormat() 240 format->Bmask == 0x001F) in SDLToDFBPixelFormat() 247 format->Bmask == 0x001F) in SDLToDFBPixelFormat() 254 format->Bmask == 0x0000FF) in SDLToDFBPixelFormat() 261 format->Bmask == 0x0000FF) in SDLToDFBPixelFormat() 318 format->Amask = format->Rmask = format->Gmask = format->Bmask = 0; in DFBToSDLPixelFormat() 330 format->Bmask = 0x0000001F; in DFBToSDLPixelFormat() 336 format->Bmask = 0x0000001F; in DFBToSDLPixelFormat() 346 format->Bmask = 0x000000FF; in DFBToSDLPixelFormat() 352 format->Bmask = 0x000000FF; in DFBToSDLPixelFormat() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
D | SDL_riscosvideo.c | 195 vformat->Bmask = 0x00007c00; in RISCOS_VideoInit() 204 vformat->Bmask = 0x00ff0000; in RISCOS_VideoInit() 211 vformat->Bmask = 0; in RISCOS_VideoInit()
|
D | SDL_wimpvideo.c | 87 Uint32 Bmask = 0; in WIMP_SetVideoMode() local 104 Bmask = 0x00007c00; in WIMP_SetVideoMode() 111 Bmask = 0x00ff0000; in WIMP_SetVideoMode() 126 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { in WIMP_SetVideoMode()
|
D | SDL_riscosFullScreenVideo.c | 102 Uint32 Bmask = 0; in FULLSCREEN_SetVideoMode() local 113 Bmask = 0x00007c00; in FULLSCREEN_SetVideoMode() 119 Bmask = 0x00ff0000; in FULLSCREEN_SetVideoMode() 139 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { in FULLSCREEN_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
D | SDL_ipodvideo.c | 298 vformat->Bmask = 0x001F; in iPod_VideoInit() 301 vformat->Rmask = vformat->Gmask = vformat->Bmask = 0; in iPod_VideoInit() 337 Uint32 Rmask, Gmask, Bmask; in iPod_SetVideoMode() local 341 Bmask = 0x001F; 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.12/src/video/windib/ |
D | SDL_dibvideo.c | 311 vformat->Bmask = 0x0000001f; in DIB_VideoInit() 317 vformat->Bmask = 0x0000001f; in DIB_VideoInit() 324 vformat->Bmask = 0x000000ff; in DIB_VideoInit() 497 Uint32 Rmask, Gmask, Bmask; local 516 Bmask = 0x0000001f; 521 Bmask = 0x0000001f; 529 Bmask = 0x000000ff; 534 Bmask = 0x00000000; 538 0, 0, bpp, Rmask, Gmask, Bmask, 0); 750 ((Uint32*)binfo->bmiColors)[2] = video->format->Bmask;
|
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
D | SDL_gapivideo.c | 550 vformat->Bmask = 0x0000001f; in GAPI_VideoInit() 558 vformat->Bmask = 0x0000001f; in GAPI_VideoInit() 567 vformat->Bmask = 0x0000001f; in GAPI_VideoInit() 592 Uint32 Rmask, Gmask, Bmask; in GAPI_SetVideoMode() local 611 Bmask = 0; in GAPI_SetVideoMode() 619 Bmask = 0x0000001f; in GAPI_SetVideoMode() 624 Bmask = 0x0000001f; in GAPI_SetVideoMode() 631 Bmask = 0x000000ff; in GAPI_SetVideoMode() 638 0, 0, bpp, Rmask, Gmask, Bmask, 0); in GAPI_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
D | SDL_vglvideo.h | 43 int Bmask; member
|
D | SDL_vglvideo.c | 352 VGLCurMode->Bmask = modes[i]->Bmask; in VGL_SetVideoMode() 383 VGLCurMode->Gmask, VGLCurMode->Bmask, 0)) { in VGL_SetVideoMode() 590 modescp->Bmask = ((1 << minfo.vi_pixel_fsizes[VGL_BLUE_INDEX]) - 1) << in VGLListModes()
|
/external/qemu/distrib/sdl-1.2.12/include/ |
D | SDL_video.h | 76 Uint32 Bmask; member 509 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); 512 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
|
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
D | SDL_dx5video.c | 1064 Uint32 Rmask, Gmask, Bmask; local 1077 Bmask = 0x0000001f; 1082 Bmask = 0x0000001f; 1090 Bmask = 0x000000ff; 1095 Bmask = 0x00000000; 1099 Rmask, Gmask, Bmask, 0); 1694 ddsd.ddpfPixelFormat.u4.dwBBitMask = surface->format->Bmask; 1699 ddsd.ddpfPixelFormat.dwBBitMask = surface->format->Bmask; 1787 (ddsd.ddpfPixelFormat.u4.dwBBitMask != surface->format->Bmask) ){ 1793 (ddsd.ddpfPixelFormat.dwBBitMask != surface->format->Bmask) ){
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
D | SDL_fbvideo.c | 599 vformat->Bmask <<= 1; in FB_VideoInit() 600 vformat->Bmask |= (0x00000001<<vinfo.blue.offset); in FB_VideoInit() 929 Uint32 Bmask; in FB_SetVideoMode() local 1011 Bmask = 0; in FB_SetVideoMode() 1013 Bmask <<= 1; in FB_SetVideoMode() 1014 Bmask |= (0x00000001<<vinfo.blue.offset); in FB_SetVideoMode() 1017 Rmask, Gmask, Bmask, 0) ) { in FB_SetVideoMode()
|
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
D | SDL_ggivideo.c | 224 vformat->Bmask = db->buffer.plb.pixelformat->blue_mask; in GGI_VideoInit()
|
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
D | SDL_pgvideo.c | 251 current->format->Bmask = this->hidden->shm.blue_mask; in PG_SetVideoMode()
|