/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
H A D | SDL_xbios_sb3.c | 53 int bpp; local 55 /* Check if current SB3 mode is usable, i.e. 8 or 16bpp */ 57 bpp = 1<<(SDL_XBIOS_scpn_planes_device[scrinfo->device]); 59 if ((bpp==8) || (bpp==16)) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
H A D | SDL_ph_gl.c | 195 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags) argument 205 if ((oglctx!=NULL) && (oglflags==flags) && (oglbpp==bpp)) 263 oglbpp=bpp; 278 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags) argument 399 oglbpp=bpp;
|
H A D | SDL_ph_modes.c | 113 /* return the mode associated with width, height and bpp */ 115 int ph_GetVideoMode(int width, int height, int bpp) argument 141 (mode_info.bits_per_pixel == bpp)) 148 (mode_info.bits_per_pixel == bpp)) 165 /* return the mode associated with width, height and bpp */ 166 /* if requested bpp is not found the mode with closest bpp is returned */ 167 int get_mode_any_format(int width, int height, int bpp) argument 192 /* get closest bpp */ 194 if (mode_info.bits_per_pixel == bpp) [all...] |
H A D | SDL_ph_image.c | 39 int bpp; local 41 bpp=screen->format->BitsPerPixel; 44 switch(bpp) 67 SDL_SetError("ph_SetupImage(): unsupported bpp=%d !\n", bpp); 74 if ((bpp==8) && (desktoppal==SDLPH_PAL_EMULATE)) 88 SDL_SetError("ph_SetupImage(): PhCreateImage() failed for bpp=8 !\n"); 98 SDL_SetError("ph_SetupImage(): PhCreateImage() failed for bpp=%d !\n", bpp); 114 int bpp; local [all...] |
H A D | SDL_ph_video.c | 46 static SDL_Surface *ph_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 320 static const struct ColourMasks* ph_GetColourMasks(int bpp) argument 331 switch (bpp) 448 static SDL_Surface* ph_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument 458 if (((current->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && (ph_GetVideoMode(width, height, bpp)==0)) 467 mask = ph_GetColourMasks(bpp); 470 SDL_ReallocFormat(current, mask->bpp, mask->red, mask->green, mask->blue, 0); 474 SDL_SetError("ph_SetVideoMode(): desired bpp is not supported by photon !\n"); 492 if (bpp==8) 508 if (desktopbpp!=bpp) [all...] |
H A D | SDL_ph_video.h | 69 Uint32 bpp; member in struct:ColourMasks 88 Uint32 OGLBPP; /* OpenGL bpp */ 116 Uint32 visualbpp; /* current visual bpp */ 117 Uint32 desktopbpp; /* bpp of desktop at the moment of start */
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
H A D | SDL_riscossprite.c | 44 unsigned char *WIMP_CreateBuffer(int width, int height, int bpp) argument 54 switch(bpp) 93 if (bpp == 8) 96 regs.r[6] = 28; /* 8bpp 90x90dpi */ 99 regs.r[6] = (((bpp == 16) ? 5 : 6) << 27) /* Type 6 = 32bpp sprite, 5 = 16bpp sprite */ 106 if (bpp == 8)
|
H A D | SDL_riscosvideo.c | 55 static SDL_Surface *RISCOS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 65 extern SDL_Surface *FULLSCREEN_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 71 extern SDL_Surface *WIMP_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 173 vars[0] = 9; /* Log base 2 bpp */ 187 /* Minimum bpp for SDL is 8 */ 252 int width, int height, int bpp, Uint32 flags) 260 return FULLSCREEN_SetVideoMode(this, current, width, height, bpp, flags); 264 return WIMP_SetVideoMode(this, current, width, height, bpp, flags); 251 RISCOS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
H A D | SDL_stretch.c | 58 static int generate_rowbytes(int src_w, int dst_w, int bpp) argument 61 int bpp; member in struct:__anon3520 73 (dst_w == last.dst_w) && (bpp == last.bpp) ) { 76 last.bpp = bpp; 80 switch (bpp) { 91 SDL_SetError("ASM stretch of %d bytes isn't supported\n", bpp); 99 if ( bpp == 2 ) { 105 if ( bpp 189 const int bpp = dst->format->BytesPerPixel; local [all...] |
H A D | SDL_pixels.c | 37 SDL_PixelFormat *SDL_AllocFormat(int bpp, argument 53 format->BitsPerPixel = bpp; 54 format->BytesPerPixel = (bpp+7)/8; 93 } else if ( bpp > 8 ) { /* Packed pixels with standard mask */ 95 if ( bpp > 24 ) 96 bpp = 24; 97 format->Rloss = 8-(bpp/3); 98 format->Gloss = 8-(bpp/3)-(bpp%3); 99 format->Bloss = 8-(bpp/ 224 SDL_ReallocFormat(SDL_Surface *surface, int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) argument 266 SDL_DitherColors(SDL_Color *colors, int bpp) argument 467 int bpp; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
H A D | SDL_nullvideo.c | 54 static SDL_Surface *DUMMY_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 162 int width, int height, int bpp, Uint32 flags) 168 this->hidden->buffer = SDL_malloc(width * height * (bpp / 8)); 176 SDL_memset(this->hidden->buffer, 0, width * height * (bpp / 8)); 179 if ( ! SDL_ReallocFormat(current, bpp, 0, 0, 0, 0) ) { 190 current->pitch = current->w * (bpp / 8); 161 DUMMY_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
H A D | SDL_fb3dfx.c | 54 int bpp; local 69 bpp = dst->format->BitsPerPixel; 70 format = dst->pitch | ((bpp+((bpp==8) ? 0 : 8)) << 13); 97 int bpp; local 117 bpp = src->format->BitsPerPixel; 118 src_format = src->pitch | ((bpp+((bpp==8) ? 0 : 8)) << 13); 120 bpp = dst->format->BitsPerPixel; 121 dst_format = dst->pitch | ((bpp [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
H A D | SDL_nxvideo.h | 46 int bpp ; member in struct:NX_SDL_VISUAL
|
H A D | SDL_nxvideo.c | 44 static SDL_Surface * NX_SetVideoMode (_THIS, SDL_Surface * current, int width, int height, int bpp, Uint32 flags) ; 210 SDL_Visual.bpp = si.bpp ; 234 vformat -> BitsPerPixel = SDL_Visual.bpp ; 301 int w, int h, int bpp, Uint32 flags) 317 if ( ! SDL_ReallocFormat (screen, bpp, SDL_Visual.red_mask, 364 int width, int height, int bpp, Uint32 flags) 371 bpp = SDL_Visual.bpp ; 372 if (NX_CreateWindow (this, current, width, height, bpp, flag 300 NX_CreateWindow(_THIS, SDL_Surface * screen, int w, int h, int bpp, Uint32 flags) argument 363 NX_SetVideoMode(_THIS, SDL_Surface * current, int width, int height, int bpp, Uint32 flags) argument [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
H A D | SDL_x11image.c | 105 int bpp; local 111 bpp = screen->format->BytesPerPixel;
|
H A D | SDL_x11yuv.c | 101 int bpp; local 161 /* Precalculate the bpp for the pitch workaround below */ 167 bpp = 2; 170 bpp = 1; 255 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { 258 width = hwdata->image->pitches[0] / bpp; 299 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { 302 width = hwdata->image->pitches[0] / bpp;
|
/external/freetype/src/base/ |
H A D | ftbitmap.c | 106 FT_UInt bpp; local 120 bpp = 1; 124 bpp = 2; 128 bpp = 4; 134 bpp = 8; 146 FT_Int bit_last = ( width + xpixels ) * bpp; 181 FT_Int len = ( width * bpp + 7 ) >> 3; 190 FT_Int len = ( width * bpp + 7 ) >> 3;
|
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
H A D | SDL_aavideo.c | 46 static SDL_Surface *AA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 246 int width, int height, int bpp, Uint32 flags) 245 AA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
H A D | SDL_cgximage.c | 384 int bpp; local 410 bpp=this->hidden->BytesPerPixel; // That one is the only one that needs bpp 497 for(t=0;t<bpp;t++) 501 dst+=bpp; 681 int bpp; local 712 bpp=this->hidden->BytesPerPixel; // That one is the only one that needs bpp 771 for(t=0;t<bpp;t++) 775 dst+=bpp; [all...] |
H A D | SDL_cgxvideo.h | 89 int bpp; /* pixel quantum in bits */ member in struct:SDL_PrivateVideoData::__anon3648 94 int depth; /* current visual depth (not bpp) */ 148 int w, int h, int bpp, Uint32 flags);
|
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
H A D | SDL_dcvideo.c | 41 static SDL_Surface *DC_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 191 int width, int height, int bpp, Uint32 flags) 204 switch(bpp) { 217 case 24: bpp = 32; 231 // if ( bpp != current->format->BitsPerPixel ) { 232 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { 190 DC_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
|
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
H A D | SDL_ggivideo.c | 54 static SDL_Surface *GGI_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 251 SDL_Surface *GGI_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument 272 switch (bpp) 306 ggiGetPalette(VIS, 0, 1 << bpp, pal);
|
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
H A D | SDL_pgvideo.c | 41 static SDL_Surface *PG_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 177 vformat->BitsPerPixel = this->hidden->mi.bpp; 178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3; 179 if (this->hidden->mi.bpp & 7) 192 int width, int height, int bpp, Uint32 flags) 204 if ( ! SDL_ReallocFormat(current, bpp, 0, 0, 0, 0) ) { 244 current->format->BitsPerPixel = this->hidden->shm.bpp; 245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3; 246 if (this->hidden->shm.bpp & 7) 191 PG_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
H A D | SDL_gsyuv.c | 82 int bpp; local 182 bpp = this->screen->format->BytesPerPixel; 185 width * height * bpp + 199 hwdata->dma_tags = hwdata->ipu_omem + width * height * bpp; 245 tags[10] = ((16*16*bpp) >> 4) | (2LL << 58); 248 packet[pnum].len = 16 * 16 * bpp; 257 base += 16 * 16 * bpp;
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
H A D | SDL_sysvideo.cc | 56 static SDL_Surface *QT_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 276 int width, int height, int bpp, Uint32 flags) 304 qimage = new QImage(current->w, current->h, bpp); 275 QT_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
|