Searched refs:Gmask (Results 1 - 25 of 38) 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 */
67 if ( Gmask ) {
68 for ( mask = Gmask; !(mask&0x01); mask >>= 1 )
90 format->Gmask = Gmask;
104 format->Gmask = ((0xFF>>format->Gloss)<<format->Gshift);
117 format->Gmask = 0;
140 if ( Rmask || Bmask || Gmask ) {
157 if(Gmask)
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.c56 Uint32 Gmask; local
172 Rmask = Gmask = Bmask = 0;
182 Gmask = 0x03E0;
188 Gmask = 0x0000FF00;
194 Gmask = 0x0000FF00;
210 Gmask = SDL_ReadLE32(src);
225 biWidth, biHeight, biBitCount, Rmask, Gmask, Bmask, 0);
401 (saveme->format->Gmask == 0x0000FF00) &&
405 (saveme->format->Gmask == 0x0000FF00) &&
H A DSDL_RLEaccel.c639 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
1009 Uint32 Gmask; member in struct:__anon29430
[all...]
H A DSDL_surface.c39 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
89 Gmask = video->displayformatalphapixel->Gmask;
97 Gmask = screen->format->Gmask;
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_blit.h92 g = (((Pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss); \
271 g = ((Pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss; \
278 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \
H A DSDL_yuv_sw.c939 Uint32 Rmask, Gmask, Bmask; local
1020 Gmask = display->format->Gmask;
1025 g_2_pix_alloc[i+256] = i >> (8 - number_of_bits_set(Gmask));
1026 g_2_pix_alloc[i+256] <<= free_bits_at_bottom(Gmask);
1067 (Gmask == 0x07E0) &&
1089 (Gmask == 0x0000FF00) &&
1203 display->format->Gmask,
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;
2748 if(df->Gmask == 0x7e0)
2757 else if(df->Gmask == 0x3e0)
2771 && sf->Gmask
[all...]
H A DSDL_video.c255 vformat.Rmask, vformat.Gmask, vformat.Bmask, 0);
522 Uint32 Rmask, Gmask, Bmask; local
527 Gmask = (SDL_VideoSurface->format)->Gmask;
530 Rmask = Gmask = Bmask = 0;
534 depth, Rmask, Gmask, Bmask, 0);
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
H A DSDL_vglvideo.h42 int Gmask; member in struct:__anon29599
H A DSDL_vglvideo.c349 VGLCurMode->Gmask = modes[i]->Gmask;
381 VGLCurMode->Gmask, VGLCurMode->Bmask, 0)) {
580 modescp->Gmask = ((1 << minfo.vi_pixel_fsizes[VGL_GREEN_INDEX]) - 1) <<
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c145 vformat->Gmask = 0x000007e0;
194 Uint32 Rmask, Gmask, Bmask; local
208 Gmask = 0x000003e0;
214 Gmask = 0x000007e0;
220 Gmask = 0x0000ff00;
232 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) {
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c173 vformat->Gmask = 0x000007e0;
242 Uint32 Rmask, Gmask, Bmask, Amask; local
250 Gmask = 0x000003E0;
272 Gmask = 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.c297 vformat->Gmask = 0x07E0;
301 vformat->Rmask = vformat->Gmask = vformat->Bmask = 0;
337 Uint32 Rmask, Gmask, Bmask; local
340 Gmask = 0x07E0;
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.c196 vformat->Gmask = 0x000003e0;
205 vformat->Gmask = 0x0000ff00;
212 vformat->Gmask = 0;
H A DSDL_wimpvideo.c86 Uint32 Gmask = 0; local
105 Gmask = 0x000003e0;
112 Gmask = 0x0000ff00;
126 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) {
H A DSDL_riscosFullScreenVideo.c101 Uint32 Gmask = 0; local
114 Gmask = 0x000003e0;
120 Gmask = 0x0000ff00;
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)
239 format->Gmask == 0x07E0 &&
246 format->Gmask == 0x03E0 &&
253 format->Gmask == 0x00FF00 &&
260 format->Gmask == 0x00FF00 &&
318 format->Amask = format->Rmask = format->Gmask = format->Bmask = 0;
329 format->Gmask = 0x000003E0;
335 format->Gmask = 0x000007E0;
345 format->Gmask = 0x0000FF00;
351 format->Gmask
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
H A DSDL_dibvideo.c344 vformat->Gmask = 0x000003e0;
350 vformat->Gmask = 0x000007e0;
357 vformat->Gmask = 0x0000ff00;
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;
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/
H A DSDL_gapivideo.c579 vformat->Gmask = 0x000007e0;
587 vformat->Gmask = 0x000003e0;
596 vformat->Gmask = 0x000007e0;
622 Uint32 Rmask, Gmask, Bmask; local
640 Gmask = 0;
648 Gmask = 0x000003e0;
653 Gmask = 0x000007e0;
660 Gmask = 0x0000ff00;
668 0, 0, bpp, Rmask, Gmask, Bmask, 0);
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_video.h83 Uint32 Gmask; 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.c608 vformat->Gmask <<= 1;
609 vformat->Gmask |= (0x00000001<<vinfo.green.offset);
1005 Uint32 Gmask; local
1089 Gmask = 0;
1091 Gmask <<= 1;
1092 Gmask |= (0x00000001<<vinfo.green.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
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) ||
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/
H A DSDL_ggivideo.c223 vformat->Gmask = db->buffer.plb.pixelformat->green_mask;
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxvideo.c237 vformat -> Gmask = SDL_Visual.green_mask ;

Completed in 792 milliseconds

12