/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_riscosvideo.c | 51 static int RISCOS_VideoInit(_THIS, SDL_PixelFormat *vformat); 162 int RISCOS_VideoInit(_THIS, SDL_PixelFormat *vformat) 181 vformat->BitsPerPixel = (1 << vals[0]); 188 if (vformat->BitsPerPixel < 8) vformat->BitsPerPixel = 8; 191 switch (vformat->BitsPerPixel) 195 vformat->Bmask = 0x00007c00; 196 vformat->Gmask = 0x000003e0; 197 vformat->Rmask = 0x0000001f; 198 vformat->BitsPerPixel = 16; /* SDL wants actual number of bits used * [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
SDL_ipodvideo.c | 48 static int iPod_VideoInit (_THIS, SDL_PixelFormat *vformat); 164 static int iPod_VideoInit (_THIS, SDL_PixelFormat *vformat) 295 vformat->BitsPerPixel = 16; 296 vformat->Rmask = 0xF800; 297 vformat->Gmask = 0x07E0; 298 vformat->Bmask = 0x001F; 300 vformat->BitsPerPixel = 8; 301 vformat->Rmask = vformat->Gmask = vformat->Bmask = 0 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
SDL_nullvideo.c | 52 static int DUMMY_VideoInit(_THIS, SDL_PixelFormat *vformat); 141 int DUMMY_VideoInit(_THIS, SDL_PixelFormat *vformat) 149 vformat->BitsPerPixel = 8; 150 vformat->BytesPerPixel = 1;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
SDL_ggivideo.c | 52 static int GGI_VideoInit(_THIS, SDL_PixelFormat *vformat); 145 int GGI_VideoInit(_THIS, SDL_PixelFormat *vformat) 208 ggiGetPalette(VIS, 0, 1 << vformat->BitsPerPixel, pal); 220 vformat->BitsPerPixel = db->buffer.plb.pixelformat->depth; 222 vformat->Rmask = db->buffer.plb.pixelformat->red_mask; 223 vformat->Gmask = db->buffer.plb.pixelformat->green_mask; 224 vformat->Bmask = db->buffer.plb.pixelformat->blue_mask; 237 SDL_modelist[((vformat->BitsPerPixel + 7) / 8) - 1] = &video_mode;
|
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
SDL_dcvideo.c | 39 static int DC_VideoInit(_THIS, SDL_PixelFormat *vformat); 139 int DC_VideoInit(_THIS, SDL_PixelFormat *vformat) 143 vformat->BitsPerPixel = 16; 144 vformat->Rmask = 0x0000f800; 145 vformat->Gmask = 0x000007e0; 146 vformat->Bmask = 0x0000001f;
|
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
SDL_nxvideo.c | 43 static int NX_VideoInit (_THIS, SDL_PixelFormat * vformat) ; 186 int NX_VideoInit (_THIS, SDL_PixelFormat * vformat) 234 vformat -> BitsPerPixel = SDL_Visual.bpp ; 235 if (vformat -> BitsPerPixel > 8) { 236 vformat -> Rmask = SDL_Visual.red_mask ; 237 vformat -> Gmask = SDL_Visual.green_mask ; 238 vformat -> Bmask = SDL_Visual.blue_mask ;
|
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
SDL_pgvideo.c | 39 static int PG_VideoInit(_THIS, SDL_PixelFormat *vformat); 148 int PG_VideoInit(_THIS, SDL_PixelFormat *vformat) 177 vformat->BitsPerPixel = this->hidden->mi.bpp; 178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3; 180 vformat->BytesPerPixel++;
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_sysvideo.cc | 54 static int QT_VideoInit(_THIS, SDL_PixelFormat *vformat); 214 int QT_VideoInit(_THIS, SDL_PixelFormat *vformat) 218 vformat->BitsPerPixel = QPixmap::defaultDepth(); 224 QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1, 226 QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1,
|
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
SDL_gapivideo.c | 80 static int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat); 497 int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat) 543 vformat->BitsPerPixel = this->hidden->gxProperties.cBPP < 8 ? 16 : (unsigned char)this->hidden->gxProperties.cBPP; 547 vformat->BitsPerPixel = 16; 548 vformat->Rmask = 0x0000f800; 549 vformat->Gmask = 0x000007e0; 550 vformat->Bmask = 0x0000001f; 555 vformat->BitsPerPixel = 16; 556 vformat->Rmask = 0x00007c00; 557 vformat->Gmask = 0x000003e0 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsvideo.c | 45 static int GS_VideoInit(_THIS, SDL_PixelFormat *vformat); 283 static int GS_VideoInit(_THIS, SDL_PixelFormat *vformat) 325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp; 326 vformat->Rmask = GS_pixelmasks[vinfo.psm].r; 327 vformat->Gmask = GS_pixelmasks[vinfo.psm].g; 328 vformat->Bmask = GS_pixelmasks[vinfo.psm].b;
|
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
SDL_dibvideo.c | 71 static int DIB_VideoInit(_THIS, SDL_PixelFormat *vformat); 288 int DIB_VideoInit(_THIS, SDL_PixelFormat *vformat) 306 vformat->BitsPerPixel = DIB_SussScreenDepth(); 307 switch (vformat->BitsPerPixel) { 309 vformat->Rmask = 0x00007c00; 310 vformat->Gmask = 0x000003e0; 311 vformat->Bmask = 0x0000001f; 312 vformat->BitsPerPixel = 16; 315 vformat->Rmask = 0x0000f800; 316 vformat->Gmask = 0x000007e0 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
SDL_dspvideo.c | 153 static int DSp_VideoInit(_THIS, SDL_PixelFormat *vformat); 163 static void DSp_IsHWAvailable (_THIS, SDL_PixelFormat *vformat); 420 static void DSp_IsHWAvailable (_THIS, SDL_PixelFormat *vformat) 443 err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useDistantHdwrMem | noNewDevice); 449 err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useLocalHdwrMem | noNewDevice); 520 static int DSp_VideoInit(_THIS, SDL_PixelFormat *vformat) 553 vformat->BitsPerPixel = GetPixDepth ( (**SDL_Display).gdPMap ); 554 dsp_old_depth = vformat->BitsPerPixel; 556 switch (vformat->BitsPerPixel) { 558 vformat->Rmask = 0x00007c00 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
SDL_aavideo.c | 44 static int AA_VideoInit(_THIS, SDL_PixelFormat *vformat); 130 int AA_VideoInit(_THIS, SDL_PixelFormat *vformat) 180 vformat->BitsPerPixel = 8; 181 vformat->BytesPerPixel = 1;
|
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/ |
SDL_romvideo.c | 56 static int ROM_VideoInit(_THIS, SDL_PixelFormat *vformat); 194 static int ROM_VideoInit(_THIS, SDL_PixelFormat *vformat) 216 vformat->BitsPerPixel = (**(**SDL_Display).gdPMap).pixelSize; 217 switch (vformat->BitsPerPixel) { 219 vformat->Rmask = 0x00007c00; 220 vformat->Gmask = 0x000003e0; 221 vformat->Bmask = 0x0000001f;
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
SDL_wsconsvideo.c | 53 static int WSCONS_VideoInit(_THIS, SDL_PixelFormat *vformat); 146 int WSCONS_VideoInit(_THIS, SDL_PixelFormat *vformat) 323 vformat->BitsPerPixel = private->info.depth; 324 vformat->BytesPerPixel = private->info.depth / 8;
|
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgavideo.c | 52 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat); 334 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat) 376 vformat->BitsPerPixel = DefaultDepth(DGA_Display, DGA_Screen); 384 if ( vformat->BitsPerPixel == pix_format[i].depth ) 388 vformat->BitsPerPixel = pix_format[i].bits_per_pixel; 391 if ( vformat->BitsPerPixel > 8 ) { 392 vformat->Rmask = visual->red_mask; 393 vformat->Gmask = visual->green_mask; 394 vformat->Bmask = visual->blue_mask;
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11video.c | 62 static int X11_VideoInit(_THIS, SDL_PixelFormat *vformat); 567 static int X11_VideoInit(_THIS, SDL_PixelFormat *vformat) 669 vformat->BitsPerPixel = this->hidden->visuals[i].bpp; 670 if ( vformat->BitsPerPixel > 8 ) { 671 vformat->Rmask = SDL_Visual->red_mask; 672 vformat->Gmask = SDL_Visual->green_mask; 673 vformat->Bmask = SDL_Visual->blue_mask; 676 vformat->Amask = (0xFFFFFFFF & ~(vformat->Rmask|vformat->Gmask|vformat->Bmask)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
SDL_xbios.c | 69 static int XBIOS_VideoInit(_THIS, SDL_PixelFormat *vformat); 253 static int XBIOS_VideoInit(_THIS, SDL_PixelFormat *vformat) 310 vformat->BitsPerPixel = 8; 345 vformat->BitsPerPixel = 8; 392 vformat->BitsPerPixel = 16;
|
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/ |
SDL_os2fslib.c | [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgxvideo.c | 46 static int CGX_VideoInit(_THIS, SDL_PixelFormat *vformat); 422 static int CGX_VideoInit(_THIS, SDL_PixelFormat *vformat) 538 vformat->BitsPerPixel = this->hidden->visuals[i].depth; /* this->hidden->visuals[i].bpp; */ 560 if ( vformat->BitsPerPixel > 8 ) 562 vformat->Rmask = MakeBitMask(this,0,form,&this->hidden->depth); 563 vformat->Gmask = MakeBitMask(this,1,form,&this->hidden->depth); 564 vformat->Bmask = MakeBitMask(this,2,form,&this->hidden->depth); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
SDL_svgavideo.c | 54 static int SVGA_VideoInit(_THIS, SDL_PixelFormat *vformat); 227 int SVGA_VideoInit(_THIS, SDL_PixelFormat *vformat) 265 vformat->BitsPerPixel = 8;
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_sysvideo.cc | 46 static int BE_VideoInit(_THIS, SDL_PixelFormat *vformat); 261 int BE_VideoInit(_THIS, SDL_PixelFormat *vformat) 282 vformat->BitsPerPixel = ColorSpaceToBitsPerPixel(bscreen.ColorSpace()); 283 if ( vformat->BitsPerPixel == 0 ) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_video.c | 45 static int ph_VideoInit(_THIS, SDL_PixelFormat *vformat); 347 static int ph_VideoInit(_THIS, SDL_PixelFormat* vformat) 408 vformat->BitsPerPixel = desktop_mode.bits_per_pixel; 409 vformat->BytesPerPixel = desktop_mode.bytes_per_scanline/desktop_mode.width;
|
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
SDL_vglvideo.c | 48 static int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat); 230 int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat) 268 vformat->BitsPerPixel = VGLCurMode->Depth; 270 vformat->BitsPerPixel = 16; /* Good default */
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbvideo.c | 131 static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat); 484 static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat) 585 vformat->BitsPerPixel = vinfo.bits_per_pixel; 586 if ( vformat->BitsPerPixel < 8 ) { 588 vformat->BitsPerPixel = 8; 591 vformat->Rmask <<= 1; 592 vformat->Rmask |= (0x00000001<<vinfo.red.offset); 595 vformat->Gmask <<= 1; 596 vformat->Gmask |= (0x00000001<<vinfo.green.offset); 599 vformat->Bmask <<= 1 [all...] |