/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
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)) {
|
/device/htc/common/updater/ |
firmware.h | 27 int width, int height, int bpp,
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_modes_c.h | 39 extern int ph_GetVideoMode(int width, int height, int bpp); 40 extern int get_mode_any_format(int width, int height, int bpp);
|
SDL_ph_gl.h | 38 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags);
|
SDL_ph_modes.c | 113 /* return the mode associated with width, height and bpp */ 115 int ph_GetVideoMode(int width, int height, int bpp) 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) 192 /* get closest bpp */ 194 if (mode_info.bits_per_pixel == bpp) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_pixels_c.h | 29 extern SDL_PixelFormat *SDL_AllocFormat(int bpp, 31 extern SDL_PixelFormat *SDL_ReallocFormat(SDL_Surface *surface, int bpp, 44 extern void SDL_DitherColors(SDL_Color *colors, int bpp);
|
SDL_stretch.c | 58 static int generate_rowbytes(int src_w, int dst_w, int bpp) 61 int bpp; member in struct:__anon6062 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 == 2 ) 189 const int bpp = dst->format->BytesPerPixel; local [all...] |
SDL_pixels.c | 37 SDL_PixelFormat *SDL_AllocFormat(int bpp, 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/3) 467 int bpp; local [all...] |
SDL_RLEaccel.c | 110 #define PIXEL_COPY(to, from, len, bpp) \ 112 if(bpp == 4) { \ 115 SDL_memcpy(to, from, (size_t)(len) * (bpp)); \ 123 #define OPAQUE_BLIT(to, from, length, bpp, alpha) \ 124 PIXEL_COPY(to, from, length, bpp) 128 #define ALPHA_BLIT32_888MMX(to, from, length, bpp, alpha) \ 200 #define ALPHA_BLIT16_565MMX(to, from, length, bpp, alpha) \ 290 #define ALPHA_BLIT16_555MMX(to, from, length, bpp, alpha) \ 383 * For 32bpp pixels on the form 0x00rrggbb: 389 #define ALPHA_BLIT32_888(to, from, length, bpp, alpha) 1650 int bpp = surface->format->BytesPerPixel; local 1836 int bpp = df->BytesPerPixel; local [all...] |
SDL_blit.h | 113 #define RETRIEVE_RGB_PIXEL(buf, bpp, Pixel) \ 115 switch (bpp) { \ 140 #define DISEMBLE_RGB(buf, bpp, fmt, Pixel, r, g, b) \ 142 switch (bpp) { \ 196 #define ASSEMBLE_RGB(buf, bpp, fmt, r, g, b) \ 198 switch (bpp) { \ 229 #define ASSEMBLE_RGB_AMASK(buf, bpp, fmt, r, g, b, Amask) \ 231 switch (bpp) { \ 303 #define DISEMBLE_RGBA(buf, bpp, fmt, Pixel, r, g, b, a) \ 305 switch (bpp) { \ [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
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+((bpp==8) ? 0 : 8)) << 13) [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
RawImage.java | 26 public int bpp; field in class:RawImage 53 this.bpp = 16; 70 this.bpp = buf.getInt(); 124 return 12; // bpp, size, width, height, 4*(length, offset) 137 rotated.bpp = this.bpp; 154 int byteCount = this.bpp >> 3; // bpp is in bits, we want bytes to match our array 174 if (bpp == 16) { 177 } else if (bpp == 32) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
SDL_svgavideo.c | 56 static SDL_Surface *SVGA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 340 int width, int height, int bpp, Uint32 flags) 354 bpp = (bpp+7)/8-1; 355 for ( mode=0; SDL_modelist[bpp][mode]; ++mode ) { 356 if ( (SDL_modelist[bpp][mode]->w == width) && 357 (SDL_modelist[bpp][mode]->h == height) ) { 361 if ( SDL_modelist[bpp][mode] == NULL ) { 365 vgamode = SDL_vgamode[bpp][mode]; 375 modeinfo = vga_getmodeinfo(SDL_vgamode[bpp][mode]) 498 int bpp = this->screen->format->BytesPerPixel; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
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);
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_wimpvideo.c | 47 SDL_Surface *WIMP_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 52 extern unsigned char *WIMP_CreateBuffer(int width, int height, int bpp); 68 extern int FULLSCREEN_SetMode(int width, int height, int bpp); 83 int width, int height, int bpp, Uint32 flags) 95 switch(bpp) 126 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { 135 if (bpp == 15) bpp = 16; 136 buffer = WIMP_CreateBuffer(width, height, bpp); 144 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first * 442 int bpp = this->screen->format->BitsPerPixel; local [all...] |
SDL_riscossprite.c | 44 unsigned char *WIMP_CreateBuffer(int width, int height, int bpp) 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)
|
SDL_riscosFullScreenVideo.c | 53 int pixel_depth; // 2^pixel_depth = bpp,i.e. 0 = 1, 1 = 2, 4 = 16, 5 = 32 61 int FULLSCREEN_SetMode(int width, int height, int bpp); 80 static int FULLSCREEN_AddMode(_THIS, int bpp, int w, int h); 91 extern unsigned char *WIMP_CreateBuffer(int width, int height, int bpp); 97 int width, int height, int bpp, Uint32 flags) 105 switch(bpp) 130 if (FULLSCREEN_SetMode(width, height, bpp) == 0) 139 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { 194 this->hidden->bank[0] = WIMP_CreateBuffer(width, height, bpp); 215 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first * 751 int bpp = this->screen->format->BitsPerPixel; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
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, flags) < 0) [all...] |
SDL_nxmodes.c | 36 if (SDL_Visual.bpp == format -> BitsPerPixel) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgxvideo.c | 47 static SDL_Surface *CGX_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 256 Uint32 MakeBitMask(_THIS,int type,int format,int *bpp) 260 if(this->hidden->depth==*bpp) 381 switch(*bpp) 410 *bpp=24; 538 vformat->BitsPerPixel = this->hidden->visuals[i].depth; /* this->hidden->visuals[i].bpp; */ 665 int w, int h, int bpp, Uint32 flags) 696 if ( this->hidden->visuals[i].depth == bpp ) /* era .depth */ 727 if(bpp!=this->hidden->depth) 729 bpp=this->hidden->depth [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
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)
|
/frameworks/base/opengl/java/android/opengl/ |
Texture.java | 33 private int width, height, bpp; field in class:Texture 55 this.bpp = 2; 58 int nbytes = npixels*bpp;
|
/bionic/libc/kernel/arch-sh/asm/ |
sh_mobile_lcdc.h | 68 int bpp; member in struct:sh_mobile_lcdc_chan_cfg
|
/external/quake/quake/src/QW/client/ |
gl_vidnt.c | 47 int bpp;
member in struct:__anon6726 293 gdevmode.dmBitsPerPel = modelist[modenum].bpp;
1354 modelist[0].bpp = 0;
1369 int j, bpp, done; local 1576 int basenummodes, width, height, bpp, findbpp, done; local [all...] |
/external/quake/quake/src/WinQuake/ |
gl_vidnt.cpp | 47 int bpp;
member in struct:__anon7087 293 gdevmode.dmBitsPerPel = modelist[modenum].bpp;
1354 modelist[0].bpp = 0;
1369 int j, bpp, done; local 1576 int basenummodes, width, height, bpp, findbpp, done; local [all...] |