Searched defs:vformat (Results 1 - 25 of 30) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.12/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.12/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.12/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.12/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.12/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.12/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.12/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.12/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.12/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.12/src/video/svga/
H A DSDL_svgavideo.c54 static int SVGA_VideoInit(_THIS, SDL_PixelFormat *vformat);
227 int SVGA_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
265 vformat->BitsPerPixel = 8;
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/
H A DSDL_vglvideo.c48 static int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat);
230 int VGL_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
268 vformat->BitsPerPixel = VGLCurMode->Depth;
270 vformat->BitsPerPixel = 16; /* Good default */
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
H A DSDL_cgxvideo.c46 static int CGX_VideoInit(_THIS, SDL_PixelFormat *vformat);
422 static int CGX_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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);
/external/qemu/distrib/sdl-1.2.12/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.12/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.12/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;
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
H A DSDL_xbios.c69 static int XBIOS_VideoInit(_THIS, SDL_PixelFormat *vformat);
253 static int XBIOS_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
310 vformat->BitsPerPixel = 8;
345 vformat->BitsPerPixel = 8;
392 vformat->BitsPerPixel = 16;
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
H A DSDL_sysvideo.cc46 static int BE_VideoInit(_THIS, SDL_PixelFormat *vformat);
261 int BE_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
282 vformat->BitsPerPixel = ColorSpaceToBitsPerPixel(bscreen.ColorSpace());
283 if ( vformat->BitsPerPixel == 0 ) {
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
H A DSDL_dgavideo.c52 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat);
334 static int DGA_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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/directfb/
H A DSDL_DirectFB_video.c54 static int DirectFB_VideoInit(_THIS, SDL_PixelFormat *vformat);
370 int DirectFB_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
423 if (DFBToSDLPixelFormat (dlc.pixelformat, vformat))
424 DFBToSDLPixelFormat (DSPF_LUT8, vformat);
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/
H A DSDL_epocvideo.cpp82 static int EPOC_VideoInit(_THIS, SDL_PixelFormat *vformat);
228 int EPOC_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
298 vformat->BitsPerPixel = /*!!GetBpp(displayMode) */ 8;
299 vformat->BytesPerPixel = /*!!Private->EPOC_BytesPerPixel*/ 1;
/external/qemu/distrib/sdl-1.2.12/src/video/gem/
H A DSDL_gemvideo.c79 static int GEM_VideoInit(_THIS, SDL_PixelFormat *vformat);
304 int GEM_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
439 vformat->BitsPerPixel = VDI_bpp;
/external/qemu/distrib/sdl-1.2.12/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.12/src/video/
H A DSDL_video.c150 SDL_PixelFormat vformat; local
239 SDL_memset(&vformat, 0, sizeof(vformat));
240 if ( video->VideoInit(video, &vformat) < 0 ) {
248 vformat.BitsPerPixel,
249 vformat.Rmask, vformat.Gmask, vformat.Bmask, 0);
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
H A DSDL_fbvideo.c131 static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat);
484 static int FB_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/
H A DSDL_gapivideo.c80 static int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat);
497 int GAPI_VideoInit(_THIS, SDL_PixelFormat *vformat) argument
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
[all...]

Completed in 1655 milliseconds

12