/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/ |
recovery_updater.c | 86 int width = 0, height = 0, bpp = 0; local 97 (bpp = strtol(bpp_string->data, NULL, 10)) == 0) { 98 printf("%s(): bad bpp argument", name); 128 width, height, bpp,
|
/frameworks/base/libs/ui/ |
GraphicBufferMapper.cpp | 118 int bpp = 0; local 123 bpp = 4; 126 bpp = 3; 131 bpp = 2; 136 size_t bpr = (w*bpp + (align-1)) & ~(align-1); 138 size_t stride = bpr / bpp;
|
/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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11image.c | 105 int bpp; local 111 bpp = screen->format->BytesPerPixel;
|
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;
|
/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;
|
/hardware/libhardware/modules/gralloc/ |
gralloc.cpp | 209 int bpp = 0; local 214 bpp = 4; 217 bpp = 3; 222 bpp = 2; 227 size_t bpr = (w*bpp + (align-1)) & ~(align-1); 229 stride = bpr / bpp;
|
/system/core/adb/ |
framebuffer_service.c | 38 unsigned int bpp; member in struct:fbinfo 70 fbinfo.bpp = vinfo.bits_per_pixel;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
SDL_nxvideo.h | 46 int bpp ; member in struct:NX_SDL_VISUAL
|
/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...] |
/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...] |
/bionic/libc/kernel/arch-sh/asm/ |
sh_mobile_lcdc.h | 68 int bpp; member in struct:sh_mobile_lcdc_chan_cfg
|
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 138 int bpp; local 157 bpp = 3 + !!alpha; 158 offset *= bpp; 160 FAILIF(offset + bpp > ctx->size, "point (%d, %d) at offset %d exceeds the size %d of the buffer.\n", 206 int bpp = 3; local 222 bpp = 4; 226 outsize = header_size + width * height * bpp;
|
/device/samsung/crespo/include/ |
s5p_fimc.h | 99 int bpp; member in struct:yuv_fmt_list
|
/external/freetype/src/base/ |
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/bwindow/ |
SDL_sysvideo.cc | 48 static SDL_Surface *BE_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 265 int bpp; local 293 bpp = ColorSpaceToBitsPerPixel(modes[i].space); 294 //if ( bpp != 0 ) { // There are bugs in changing colorspace 296 BE_AddMode(_this, ((bpp+7)/8)-1, 347 static bool BE_FindClosestFSMode(_THIS, int width, int height, int bpp, 360 modes = SDL_modelist[((bpp+7)/8)-1]; 374 if ( (bpp == ColorSpaceToBitsPerPixel(dmodes[i].space)) && 404 int width, height, bpp; local 416 bpp = screen->format->BitsPerPixel [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
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...] |
SDL_cgxvideo.h | 89 int bpp; /* pixel quantum in bits */ member in struct:SDL_PrivateVideoData::__anon6190 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/photon/ |
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...] |
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/ps2gs/ |
SDL_gsvideo.c | 47 static SDL_Surface *GS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 141 int bpp; member in struct:__anon6229 158 -1, /* 0 bpp, not a legal value */ 159 -1, /* 8 bpp, not supported (yet?) */ 160 PS2_GS_PSMCT16, /* 16 bpp */ 161 PS2_GS_PSMCT24, /* 24 bpp */ 162 PS2_GS_PSMCT32 /* 32 bpp */ 325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp; 381 // FIXME - what's wrong with the stretch code at 16 bpp? 413 int width, int height, int bpp, Uint32 flags [all...] |
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;
|