Searched refs:Rmask (Results 1 - 25 of 39) sorted by relevance

12

/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)
55 if ( Rmask || Bmask || Gmask ) { /* Packed pixels with custom mask */
59 if ( Rmask ) {
60 for ( mask = Rmask; !(mask&0x01); mask >>= 1 )
89 format->Rmask = Rmask;
103 format->Rmask = ((0xFF>>format->Rloss)<<format->Rshift);
116 format->Rmask = 0;
140 if ( Rmask || Bmask || Gmask ) {
148 if(Rmask)
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_bmp.c55 Uint32 Rmask; local
172 Rmask = Gmask = Bmask = 0;
181 Rmask = 0x7C00;
187 Rmask = 0x000000FF;
193 Rmask = 0x00FF0000;
209 Rmask = SDL_ReadLE32(src);
225 biWidth, biHeight, biBitCount, Rmask, Gmask, Bmask, 0);
400 (saveme->format->Rmask == 0x00FF0000) &&
404 (saveme->format->Rmask == 0x000000FF) &&
H A DSDL_blit.h85 && ((A)->Rmask == (B)->Rmask) && ((A)->Amask == (B)->Amask))
91 r = (((Pixel&fmt->Rmask)>>fmt->Rshift)<<fmt->Rloss); \
270 r = ((Pixel&fmt->Rmask)>>fmt->Rshift)<<fmt->Rloss; \
277 r = (Pixel&fmt->Rmask)>>fmt->Rshift; \
H A DSDL_RLEaccel.c639 switch(fmt->Rmask | fmt->Gmask | fmt->Bmask) { \
642 || fmt->Rmask == 0x07e0 \
658 || fmt->Rmask == 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) { \
728 || fmt->Rmask == 0x07e0 \
741 || fmt->Rmask == 0x03e0 \
763 if((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \
764 && (fmt->Gmask == 0xff00 || fmt->Rmask
1008 Uint32 Rmask; member in struct:__anon29430
[all...]
H A DSDL_surface.c39 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
88 Rmask = video->displayformatalphapixel->Rmask;
96 Rmask = screen->format->Rmask;
102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask);
156 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
161 Rmask, Gmask, Bmask, Amask);
826 format->Rmask, format->Gmask, format->Bmask, format->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
H A DSDL_yuv_sw.c939 Uint32 Rmask, Gmask, Bmask; local
1019 Rmask = display->format->Rmask;
1023 r_2_pix_alloc[i+256] = i >> (8 - number_of_bits_set(Rmask));
1024 r_2_pix_alloc[i+256] <<= free_bits_at_bottom(Rmask);
1066 if ( SDL_HasMMX() && (Rmask == 0xF800) &&
1088 if ( SDL_HasMMX() && (Rmask == 0x00FF0000) &&
1202 display->format->Rmask,
H A DSDL_video.c255 vformat.Rmask, vformat.Gmask, vformat.Bmask, 0);
522 Uint32 Rmask, Gmask, Bmask; local
526 Rmask = (SDL_VideoSurface->format)->Rmask;
530 Rmask = Gmask = Bmask = 0;
534 depth, Rmask, Gmask, Bmask, 0);
976 if ( (vf->Rmask == 0x1f) &&
987 if ( (vf->Rmask == 0xff) && (vf->Bmask == 0xff0000) ) {
990 } else if ( vf->Rmask == 0xFF00 && (vf->Bmask == 0xFF000000) ) {
H A DSDL_blit_A.c285 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) {
505 Uint32 chanmask = df->Rmask | df->Gmask | df->Bmask;
508 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) {
605 Uint32 chanmask = sf->Rmask | sf->Gmask | sf->Bmask;
765 amask = 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ 0xFFFFFFFF);
950 Uint32 rgbmask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask;
1705 Uint32 chanmask = sf->Rmask | sf->Gmask | sf->Bmask;
2770 if(sf->Rmask == df->Rmask
2782 if((sf->Rmask | s
[all...]
H A DSDL_blit_N.c81 ( ((r<<dstfmt->Rshift)&dstfmt->Rmask) | \
141 amask = 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ 0xFFFFFFFF);
555 Uint32 rgbmask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask;
2018 Uint32 mask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask;
2426 (srcfmt->Rmask == 0x00FF0000) &&
2449 if ( MASKOK(srcfmt->Rmask, table[which].srcR) &&
2452 MASKOK(dstfmt->Rmask, table[which].dstR) &&
2466 srcfmt->Rmask == dstfmt->Rmask &&
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
H A DSDL_vglvideo.h41 int Rmask; member in struct:__anon29599
H A DSDL_vglvideo.c348 VGLCurMode->Rmask = modes[i]->Rmask;
380 if (! SDL_ReallocFormat(current, modes[i]->Depth, VGLCurMode->Rmask,
578 modescp->Rmask = ((1 << minfo.vi_pixel_fsizes[VGL_RED_INDEX]) - 1) <<
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c144 vformat->Rmask = 0x0000f800;
194 Uint32 Rmask, Gmask, Bmask; local
207 Rmask = 0x00007c00;
213 Rmask = 0x0000f800;
219 Rmask = 0x00ff0000;
232 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) {
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c172 vformat->Rmask = 0x0000f800;
242 Uint32 Rmask, Gmask, Bmask, Amask; local
249 Rmask = 0x0000001F;
271 Rmask = 0x00000000;
314 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, Amask) ) {
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/
H A DSDL_ipodvideo.c296 vformat->Rmask = 0xF800;
301 vformat->Rmask = vformat->Gmask = vformat->Bmask = 0;
337 Uint32 Rmask, Gmask, Bmask; local
339 Rmask = 0xF800;
343 Rmask = Gmask = Bmask = 0;
355 if (!SDL_ReallocFormat (current, bpp, Rmask, Gmask, Bmask, 0)) {
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_riscosvideo.c197 vformat->Rmask = 0x0000001f;
206 vformat->Rmask = 0x000000ff;
213 vformat->Rmask = 0;
H A DSDL_wimpvideo.c85 Uint32 Rmask = 0; local
106 Rmask = 0x0000001f;
113 Rmask = 0x000000ff;
126 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) {
H A DSDL_riscosFullScreenVideo.c100 Uint32 Rmask = 0; local
115 Rmask = 0x0000001f;
121 Rmask = 0x000000ff;
139 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) {
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_video.c230 if (format->Rmask && format->Gmask && format->Bmask)
238 if (format->Rmask == 0xF800 &&
245 if (format->Rmask == 0x7C00 &&
252 if (format->Rmask == 0xFF0000 &&
259 if (format->Rmask == 0xFF0000 &&
318 format->Amask = format->Rmask = format->Gmask = format->Bmask = 0;
328 format->Rmask = 0x00007C00;
334 format->Rmask = 0x0000F800;
344 format->Rmask = 0x00FF0000;
350 format->Rmask
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
H A DSDL_dibvideo.c343 vformat->Rmask = 0x00007c00;
349 vformat->Rmask = 0x0000f800;
356 vformat->Rmask = 0x00ff0000;
611 Uint32 Rmask, Gmask, Bmask; local
654 Rmask = 0x00007c00;
659 Rmask = 0x0000f800;
667 Rmask = 0x00ff0000;
672 Rmask = 0x00000000;
678 0, 0, bpp, Rmask, Gmask, Bmask, 0);
885 ((Uint32*)binfo->bmiColors)[0] = video->format->Rmask;
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/
H A DSDL_gapivideo.c578 vformat->Rmask = 0x0000f800;
586 vformat->Rmask = 0x00007c00;
595 vformat->Rmask = 0x0000f800; // 16 bit 565
622 Uint32 Rmask, Gmask, Bmask; local
639 Rmask = 0;
647 Rmask = 0x00007c00;
652 Rmask = 0x0000f800;
659 Rmask = 0x00ff0000;
668 0, 0, bpp, Rmask, Gmask, Bmask, 0);
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_video.h82 Uint32 Rmask; 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/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbvideo.c604 vformat->Rmask <<= 1;
605 vformat->Rmask |= (0x00000001<<vinfo.red.offset);
1004 Uint32 Rmask; local
1084 Rmask = 0;
1086 Rmask <<= 1;
1087 Rmask |= (0x00000001<<vinfo.red.offset);
1100 Rmask, Gmask, Bmask, 0) ) {
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
H A DSDL_dx5video.c1081 Uint32 Rmask, Gmask, Bmask; local
1092 Rmask = 0x00007c00;
1097 Rmask = 0x0000f800;
1105 Rmask = 0x00ff0000;
1110 Rmask = 0x00000000;
1116 Rmask, Gmask, Bmask, 0);
1709 ddsd.ddpfPixelFormat.u2.dwRBitMask = surface->format->Rmask;
1714 ddsd.ddpfPixelFormat.dwRBitMask = surface->format->Rmask;
1802 (ddsd.ddpfPixelFormat.u2.dwRBitMask != surface->format->Rmask) ||
1808 (ddsd.ddpfPixelFormat.dwRBitMask != surface->format->Rmask) ||
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/
H A DSDL_ggivideo.c222 vformat->Rmask = db->buffer.plb.pixelformat->red_mask;

Completed in 5157 milliseconds

12