/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
D | SDL_riscosvideo.c | 51 static int RISCOS_VideoInit(_THIS, SDL_PixelFormat *vformat); 162 int RISCOS_VideoInit(_THIS, SDL_PixelFormat *vformat) in RISCOS_VideoInit() argument 181 vformat->BitsPerPixel = (1 << vals[0]); in RISCOS_VideoInit() 188 if (vformat->BitsPerPixel < 8) vformat->BitsPerPixel = 8; in RISCOS_VideoInit() 191 switch (vformat->BitsPerPixel) in RISCOS_VideoInit() 195 vformat->Bmask = 0x00007c00; in RISCOS_VideoInit() 196 vformat->Gmask = 0x000003e0; in RISCOS_VideoInit() 197 vformat->Rmask = 0x0000001f; in RISCOS_VideoInit() 198 vformat->BitsPerPixel = 16; /* SDL wants actual number of bits used */ in RISCOS_VideoInit() 199 vformat->BytesPerPixel = 2; in RISCOS_VideoInit() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
D | SDL_ggivideo.c | 52 static int GGI_VideoInit(_THIS, SDL_PixelFormat *vformat); 145 int GGI_VideoInit(_THIS, SDL_PixelFormat *vformat) in GGI_VideoInit() argument 208 ggiGetPalette(VIS, 0, 1 << vformat->BitsPerPixel, pal); in GGI_VideoInit() 220 vformat->BitsPerPixel = db->buffer.plb.pixelformat->depth; in GGI_VideoInit() 222 vformat->Rmask = db->buffer.plb.pixelformat->red_mask; in GGI_VideoInit() 223 vformat->Gmask = db->buffer.plb.pixelformat->green_mask; in GGI_VideoInit() 224 vformat->Bmask = db->buffer.plb.pixelformat->blue_mask; in GGI_VideoInit() 237 SDL_modelist[((vformat->BitsPerPixel + 7) / 8) - 1] = &video_mode; in GGI_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
D | SDL_ndsvideo.c | 41 static int NDS_VideoInit(_THIS, SDL_PixelFormat *vformat); 164 int NDS_VideoInit(_THIS, SDL_PixelFormat *vformat) in NDS_VideoInit() argument 170 vformat->BitsPerPixel = 16; // mode 3 in NDS_VideoInit() 171 vformat->BytesPerPixel = 2; in NDS_VideoInit() 172 vformat->Rmask = 0x0000f800; in NDS_VideoInit() 173 vformat->Gmask = 0x000007e0; in NDS_VideoInit() 174 vformat->Bmask = 0x0000001f; in NDS_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
D | SDL_ipodvideo.c | 48 static int iPod_VideoInit (_THIS, SDL_PixelFormat *vformat); 164 static int iPod_VideoInit (_THIS, SDL_PixelFormat *vformat) in iPod_VideoInit() argument 295 vformat->BitsPerPixel = 16; in iPod_VideoInit() 296 vformat->Rmask = 0xF800; in iPod_VideoInit() 297 vformat->Gmask = 0x07E0; in iPod_VideoInit() 298 vformat->Bmask = 0x001F; in iPod_VideoInit() 300 vformat->BitsPerPixel = 8; in iPod_VideoInit() 301 vformat->Rmask = vformat->Gmask = vformat->Bmask = 0; in iPod_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/ |
D | SDL_nullvideo.c | 52 static int DUMMY_VideoInit(_THIS, SDL_PixelFormat *vformat); 141 int DUMMY_VideoInit(_THIS, SDL_PixelFormat *vformat) in DUMMY_VideoInit() argument 149 vformat->BitsPerPixel = 8; in DUMMY_VideoInit() 150 vformat->BytesPerPixel = 1; in DUMMY_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
D | SDL_dcvideo.c | 39 static int DC_VideoInit(_THIS, SDL_PixelFormat *vformat); 139 int DC_VideoInit(_THIS, SDL_PixelFormat *vformat) in DC_VideoInit() argument 143 vformat->BitsPerPixel = 16; in DC_VideoInit() 144 vformat->Rmask = 0x0000f800; in DC_VideoInit() 145 vformat->Gmask = 0x000007e0; in DC_VideoInit() 146 vformat->Bmask = 0x0000001f; in DC_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
D | SDL_cacavideo.c | 55 static int Caca_VideoInit(_THIS, SDL_PixelFormat *vformat); 137 int Caca_VideoInit(_THIS, SDL_PixelFormat *vformat) in Caca_VideoInit() argument 171 vformat->BitsPerPixel = 8; in Caca_VideoInit() 172 vformat->BytesPerPixel = 1; in Caca_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
D | SDL_nxvideo.c | 43 static int NX_VideoInit (_THIS, SDL_PixelFormat * vformat) ; 186 int NX_VideoInit (_THIS, SDL_PixelFormat * vformat) in NX_VideoInit() argument 234 vformat -> BitsPerPixel = SDL_Visual.bpp ; in NX_VideoInit() 235 if (vformat -> BitsPerPixel > 8) { in NX_VideoInit() 236 vformat -> Rmask = SDL_Visual.red_mask ; in NX_VideoInit() 237 vformat -> Gmask = SDL_Visual.green_mask ; in NX_VideoInit() 238 vformat -> Bmask = SDL_Visual.blue_mask ; in NX_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
D | SDL_dibvideo.c | 92 static int DIB_VideoInit(_THIS, SDL_PixelFormat *vformat); 322 int DIB_VideoInit(_THIS, SDL_PixelFormat *vformat) in DIB_VideoInit() argument 340 vformat->BitsPerPixel = DIB_SussScreenDepth(); in DIB_VideoInit() 341 switch (vformat->BitsPerPixel) { in DIB_VideoInit() 343 vformat->Rmask = 0x00007c00; in DIB_VideoInit() 344 vformat->Gmask = 0x000003e0; in DIB_VideoInit() 345 vformat->Bmask = 0x0000001f; in DIB_VideoInit() 346 vformat->BitsPerPixel = 16; in DIB_VideoInit() 349 vformat->Rmask = 0x0000f800; in DIB_VideoInit() 350 vformat->Gmask = 0x000007e0; in DIB_VideoInit() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/ |
D | SDL_gapivideo.c | 91 static int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat); 525 int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat) in GAPI_VideoInit() argument 573 vformat->BitsPerPixel = gapi->gxProperties.cBPP < 8 ? 16 : (unsigned char)gapi->gxProperties.cBPP; in GAPI_VideoInit() 577 vformat->BitsPerPixel = 16; in GAPI_VideoInit() 578 vformat->Rmask = 0x0000f800; in GAPI_VideoInit() 579 vformat->Gmask = 0x000007e0; in GAPI_VideoInit() 580 vformat->Bmask = 0x0000001f; in GAPI_VideoInit() 585 vformat->BitsPerPixel = 16; in GAPI_VideoInit() 586 vformat->Rmask = 0x00007c00; in GAPI_VideoInit() 587 vformat->Gmask = 0x000003e0; in GAPI_VideoInit() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
D | SDL_sysvideo.cc | 54 static int QT_VideoInit(_THIS, SDL_PixelFormat *vformat); 214 int QT_VideoInit(_THIS, SDL_PixelFormat *vformat) in QT_VideoInit() argument 218 vformat->BitsPerPixel = QPixmap::defaultDepth(); in QT_VideoInit() 224 QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1, in QT_VideoInit() 226 QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1, in QT_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/ |
D | 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) in DSp_IsHWAvailable() argument 443 …err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useDistantHdwrMem … in DSp_IsHWAvailable() 449 …err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useLocalHdwrMem | … in DSp_IsHWAvailable() 520 static int DSp_VideoInit(_THIS, SDL_PixelFormat *vformat) in DSp_VideoInit() argument 553 vformat->BitsPerPixel = GetPixDepth ( (**SDL_Display).gdPMap ); in DSp_VideoInit() 554 dsp_old_depth = vformat->BitsPerPixel; in DSp_VideoInit() 556 switch (vformat->BitsPerPixel) { in DSp_VideoInit() 558 vformat->Rmask = 0x00007c00; in DSp_VideoInit() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/ |
D | SDL_pgvideo.c | 39 static int PG_VideoInit(_THIS, SDL_PixelFormat *vformat); 148 int PG_VideoInit(_THIS, SDL_PixelFormat *vformat) in PG_VideoInit() argument 177 vformat->BitsPerPixel = this->hidden->mi.bpp; in PG_VideoInit() 178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3; in PG_VideoInit() 180 vformat->BytesPerPixel++; in PG_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/macrom/ |
D | SDL_romvideo.c | 56 static int ROM_VideoInit(_THIS, SDL_PixelFormat *vformat); 194 static int ROM_VideoInit(_THIS, SDL_PixelFormat *vformat) in ROM_VideoInit() argument 216 vformat->BitsPerPixel = (**(**SDL_Display).gdPMap).pixelSize; in ROM_VideoInit() 217 switch (vformat->BitsPerPixel) { in ROM_VideoInit() 219 vformat->Rmask = 0x00007c00; in ROM_VideoInit() 220 vformat->Gmask = 0x000003e0; in ROM_VideoInit() 221 vformat->Bmask = 0x0000001f; in ROM_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
D | SDL_gsvideo.c | 45 static int GS_VideoInit(_THIS, SDL_PixelFormat *vformat); 283 static int GS_VideoInit(_THIS, SDL_PixelFormat *vformat) in GS_VideoInit() argument 325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp; in GS_VideoInit() 326 vformat->Rmask = GS_pixelmasks[vinfo.psm].r; in GS_VideoInit() 327 vformat->Gmask = GS_pixelmasks[vinfo.psm].g; in GS_VideoInit() 328 vformat->Bmask = GS_pixelmasks[vinfo.psm].b; in GS_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
D | SDL_aavideo.c | 44 static int AA_VideoInit(_THIS, SDL_PixelFormat *vformat); 130 int AA_VideoInit(_THIS, SDL_PixelFormat *vformat) in AA_VideoInit() argument 180 vformat->BitsPerPixel = 8; in AA_VideoInit() 181 vformat->BytesPerPixel = 1; in AA_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
D | SDL_dgavideo.c | 47 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat); 329 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat) in DGA_VideoInit() argument 372 vformat->BitsPerPixel = DefaultDepth(DGA_Display, DGA_Screen); in DGA_VideoInit() 380 if ( vformat->BitsPerPixel == pix_format[i].depth ) in DGA_VideoInit() 384 vformat->BitsPerPixel = pix_format[i].bits_per_pixel; in DGA_VideoInit() 387 if ( vformat->BitsPerPixel > 8 ) { in DGA_VideoInit() 388 vformat->Rmask = visual->red_mask; in DGA_VideoInit() 389 vformat->Gmask = visual->green_mask; in DGA_VideoInit() 390 vformat->Bmask = visual->blue_mask; in DGA_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/ |
D | SDL_os2fslib.c | 2707 static int os2fslib_VideoInit(_THIS, SDL_PixelFormat *vformat) in os2fslib_VideoInit() argument 2732 vformat->BitsPerPixel = pDesktopMode->uiBPP; in os2fslib_VideoInit() 2733 vformat->BytesPerPixel = (vformat->BitsPerPixel+7)/8; in os2fslib_VideoInit() 2735 …vformat->Rmask = ((unsigned int) pDesktopMode->PixelFormat.ucRedMask) << pDesktopMode->PixelFormat… in os2fslib_VideoInit() 2736 vformat->Rshift = pDesktopMode->PixelFormat.ucRedPosition; in os2fslib_VideoInit() 2737 vformat->Rloss = pDesktopMode->PixelFormat.ucRedAdjust; in os2fslib_VideoInit() 2738 …vformat->Gmask = ((unsigned int) pDesktopMode->PixelFormat.ucGreenMask) << pDesktopMode->PixelForm… in os2fslib_VideoInit() 2739 vformat->Gshift = pDesktopMode->PixelFormat.ucGreenPosition; in os2fslib_VideoInit() 2740 vformat->Gloss = pDesktopMode->PixelFormat.ucGreenAdjust; in os2fslib_VideoInit() 2741 …vformat->Bmask = ((unsigned int) pDesktopMode->PixelFormat.ucBlueMask) << pDesktopMode->PixelForma… in os2fslib_VideoInit() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11video.c | 62 static int X11_VideoInit(_THIS, SDL_PixelFormat *vformat); 584 static int X11_VideoInit(_THIS, SDL_PixelFormat *vformat) in X11_VideoInit() argument 686 vformat->BitsPerPixel = this->hidden->visuals[i].bpp; in X11_VideoInit() 687 if ( vformat->BitsPerPixel > 8 ) { in X11_VideoInit() 688 vformat->Rmask = SDL_Visual->red_mask; in X11_VideoInit() 689 vformat->Gmask = SDL_Visual->green_mask; in X11_VideoInit() 690 vformat->Bmask = SDL_Visual->blue_mask; in X11_VideoInit() 693 vformat->Amask = (0xFFFFFFFF & ~(vformat->Rmask|vformat->Gmask|vformat->Bmask)); in X11_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
D | SDL_epocvideo.cpp | 115 static int EPOC_VideoInit(_THIS, SDL_PixelFormat *vformat); 241 int EPOC_VideoInit(_THIS, SDL_PixelFormat *vformat) in EPOC_VideoInit() argument 254 vformat->BitsPerPixel = TDisplayModeUtils::NumDisplayModeBitsPerPixel(displayMode); in EPOC_VideoInit() 255 vformat->BytesPerPixel = TDisplayModeUtils::NumDisplayModeBitsPerPixel(displayMode) / 8; in EPOC_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
D | SDL_ph_video.c | 45 static int ph_VideoInit(_THIS, SDL_PixelFormat *vformat); 347 static int ph_VideoInit(_THIS, SDL_PixelFormat* vformat) in ph_VideoInit() argument 408 vformat->BitsPerPixel = desktop_mode.bits_per_pixel; in ph_VideoInit() 409 vformat->BytesPerPixel = desktop_mode.bytes_per_scanline/desktop_mode.width; in ph_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/ |
D | SDL_vglvideo.c | 48 static int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat); 229 int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat) in VGL_VideoInit() argument 267 vformat->BitsPerPixel = VGLCurMode->Depth; in VGL_VideoInit() 269 vformat->BitsPerPixel = 16; /* Good default */ in VGL_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
D | SDL_wsconsvideo.c | 53 static int WSCONS_VideoInit(_THIS, SDL_PixelFormat *vformat); 146 int WSCONS_VideoInit(_THIS, SDL_PixelFormat *vformat) in WSCONS_VideoInit() argument 323 vformat->BitsPerPixel = private->info.depth; in WSCONS_VideoInit() 324 vformat->BytesPerPixel = private->info.depth / 8; in WSCONS_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
D | SDL_fbvideo.c | 139 static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat); 496 static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat) in FB_VideoInit() argument 598 vformat->BitsPerPixel = vinfo.bits_per_pixel; in FB_VideoInit() 599 if ( vformat->BitsPerPixel < 8 ) { in FB_VideoInit() 601 vformat->BitsPerPixel = 8; in FB_VideoInit() 604 vformat->Rmask <<= 1; in FB_VideoInit() 605 vformat->Rmask |= (0x00000001<<vinfo.red.offset); in FB_VideoInit() 608 vformat->Gmask <<= 1; in FB_VideoInit() 609 vformat->Gmask |= (0x00000001<<vinfo.green.offset); in FB_VideoInit() 612 vformat->Bmask <<= 1; in FB_VideoInit() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
D | SDL_ps3video.c | 51 static int PS3_VideoInit(_THIS, SDL_PixelFormat * vformat); 154 static int PS3_VideoInit(_THIS, SDL_PixelFormat * vformat) in PS3_VideoInit() argument 208 vformat->BitsPerPixel = fb_vinfo.bits_per_pixel; in PS3_VideoInit()
|