Searched refs:vformat (Results 1 - 25 of 35) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_riscosvideo.c51 static int RISCOS_VideoInit(_THIS, SDL_PixelFormat *vformat);
162 int RISCOS_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/
H A DSDL_nullvideo.c52 static int DUMMY_VideoInit(_THIS, SDL_PixelFormat *vformat);
141 int DUMMY_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
149 vformat->BitsPerPixel = 8;
150 vformat->BytesPerPixel = 1;
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/
H A DSDL_ggivideo.c52 static int GGI_VideoInit(_THIS, SDL_PixelFormat *vformat);
145 int GGI_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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.15/src/video/ipod/
H A DSDL_ipodvideo.c48 static int iPod_VideoInit (_THIS, SDL_PixelFormat *vformat);
164 static int iPod_VideoInit (_THIS, SDL_PixelFormat *vformat) argument
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
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c41 static int NDS_VideoInit(_THIS, SDL_PixelFormat *vformat);
164 int NDS_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
170 vformat->BitsPerPixel = 16; // mode 3
171 vformat->BytesPerPixel = 2;
172 vformat->Rmask = 0x0000f800;
173 vformat->Gmask = 0x000007e0;
174 vformat->Bmask = 0x0000001f;
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c39 static int DC_VideoInit(_THIS, SDL_PixelFormat *vformat);
139 int DC_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
143 vformat->BitsPerPixel = 16;
144 vformat->Rmask = 0x0000f800;
145 vformat->Gmask = 0x000007e0;
146 vformat->Bmask = 0x0000001f;
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
H A DSDL_cacavideo.c55 static int Caca_VideoInit(_THIS, SDL_PixelFormat *vformat);
137 int Caca_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
171 vformat->BitsPerPixel = 8;
172 vformat->BytesPerPixel = 1;
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxvideo.c43 static int NX_VideoInit (_THIS, SDL_PixelFormat * vformat) ;
186 int NX_VideoInit (_THIS, SDL_PixelFormat * vformat) argument
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.15/src/video/qtopia/
H A DSDL_sysvideo.cc54 static int QT_VideoInit(_THIS, SDL_PixelFormat *vformat);
214 int QT_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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.15/src/video/windib/
H A DSDL_dibvideo.c92 static int DIB_VideoInit(_THIS, SDL_PixelFormat *vformat);
322 int DIB_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
340 vformat->BitsPerPixel = DIB_SussScreenDepth();
341 switch (vformat->BitsPerPixel) {
343 vformat->Rmask = 0x00007c00;
344 vformat->Gmask = 0x000003e0;
345 vformat->Bmask = 0x0000001f;
346 vformat->BitsPerPixel = 16;
349 vformat->Rmask = 0x0000f800;
350 vformat
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
H A DSDL_dspvideo.c153 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) argument
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) argument
553 vformat->BitsPerPixel = GetPixDepth ( (**SDL_Display).gdPMap );
554 dsp_old_depth = vformat->BitsPerPixel;
556 switch (vformat->BitsPerPixel) {
558 vformat
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aavideo.c44 static int AA_VideoInit(_THIS, SDL_PixelFormat *vformat);
130 int AA_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
180 vformat->BitsPerPixel = 8;
181 vformat->BytesPerPixel = 1;
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/
H A DSDL_gapivideo.c91 static int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat);
525 int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
573 vformat->BitsPerPixel = gapi->gxProperties.cBPP < 8 ? 16 : (unsigned char)gapi->gxProperties.cBPP;
577 vformat->BitsPerPixel = 16;
578 vformat->Rmask = 0x0000f800;
579 vformat->Gmask = 0x000007e0;
580 vformat->Bmask = 0x0000001f;
585 vformat->BitsPerPixel = 16;
586 vformat->Rmask = 0x00007c00;
587 vformat
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.c39 static int PG_VideoInit(_THIS, SDL_PixelFormat *vformat);
148 int PG_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
177 vformat->BitsPerPixel = this->hidden->mi.bpp;
178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3;
180 vformat->BytesPerPixel++;
/external/qemu/distrib/sdl-1.2.15/src/video/macrom/
H A DSDL_romvideo.c56 static int ROM_VideoInit(_THIS, SDL_PixelFormat *vformat);
194 static int ROM_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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.15/src/video/ps2gs/
H A DSDL_gsvideo.c45 static int GS_VideoInit(_THIS, SDL_PixelFormat *vformat);
283 static int GS_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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.15/src/video/symbian/EKA2/
H A DSDL_epocvideo.cpp115 static int EPOC_VideoInit(_THIS, SDL_PixelFormat *vformat);
241 int EPOC_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
254 vformat->BitsPerPixel = TDisplayModeUtils::NumDisplayModeBitsPerPixel(displayMode);
255 vformat->BytesPerPixel = TDisplayModeUtils::NumDisplayModeBitsPerPixel(displayMode) / 8;
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
H A DSDL_dgavideo.c47 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat);
329 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
372 vformat->BitsPerPixel = DefaultDepth(DGA_Display, DGA_Screen);
380 if ( vformat->BitsPerPixel == pix_format[i].depth )
384 vformat->BitsPerPixel = pix_format[i].bits_per_pixel;
387 if ( vformat->BitsPerPixel > 8 ) {
388 vformat->Rmask = visual->red_mask;
389 vformat->Gmask = visual->green_mask;
390 vformat->Bmask = visual->blue_mask;
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11video.c62 static int X11_VideoInit(_THIS, SDL_PixelFormat *vformat);
584 static int X11_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
686 vformat->BitsPerPixel = this->hidden->visuals[i].bpp;
687 if ( vformat->BitsPerPixel > 8 ) {
688 vformat->Rmask = SDL_Visual->red_mask;
689 vformat->Gmask = SDL_Visual->green_mask;
690 vformat->Bmask = SDL_Visual->blue_mask;
693 vformat->Amask = (0xFFFFFFFF & ~(vformat->Rmask|vformat
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
H A DSDL_os2fslib.c2704 /* Initialize the native video subsystem, filling 'vformat' with the
2707 static int os2fslib_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
2732 vformat->BitsPerPixel = pDesktopMode->uiBPP;
2733 vformat->BytesPerPixel = (vformat->BitsPerPixel+7)/8;
2735 vformat->Rmask = ((unsigned int) pDesktopMode->PixelFormat.ucRedMask) << pDesktopMode->PixelFormat.ucRedPosition;
2736 vformat->Rshift = pDesktopMode->PixelFormat.ucRedPosition;
2737 vformat->Rloss = pDesktopMode->PixelFormat.ucRedAdjust;
2738 vformat->Gmask = ((unsigned int) pDesktopMode->PixelFormat.ucGreenMask) << pDesktopMode->PixelFormat.ucGreenPosition;
2739 vformat
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/
H A DSDL_ps3video.c51 static int PS3_VideoInit(_THIS, SDL_PixelFormat * vformat);
154 static int PS3_VideoInit(_THIS, SDL_PixelFormat * vformat) argument
208 vformat->BitsPerPixel = fb_vinfo.bits_per_pixel;
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysvideo.cc46 static int BE_VideoInit(_THIS, SDL_PixelFormat *vformat);
260 int BE_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
281 vformat->BitsPerPixel = ColorSpaceToBitsPerPixel(bscreen.ColorSpace());
282 if ( vformat->BitsPerPixel == 0 ) {
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_video.c45 static int ph_VideoInit(_THIS, SDL_PixelFormat *vformat);
347 static int ph_VideoInit(_THIS, SDL_PixelFormat* vformat) argument
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.15/src/video/vgl/
H A DSDL_vglvideo.c48 static int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat);
229 int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
267 vformat->BitsPerPixel = VGLCurMode->Depth;
269 vformat->BitsPerPixel = 16; /* Good default */
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
H A DSDL_wsconsvideo.c53 static int WSCONS_VideoInit(_THIS, SDL_PixelFormat *vformat);
146 int WSCONS_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
323 vformat->BitsPerPixel = private->info.depth;
324 vformat->BytesPerPixel = private->info.depth / 8;

Completed in 227 milliseconds

12