/external/qemu/distrib/sdl-1.2.15/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)) {
|
/external/qemu/android/ |
multitouch-port.h | 67 int bpp; member in struct:MTFrameHeader
|
/external/webkit/Source/WebKit2/Shared/qt/ |
UpdateChunk.cpp | 106 int bpp; local 108 bpp = 2; 110 bpp = 4; 112 return ((m_rect.width() * bpp + 3) & ~0x3) 123 int bpp; local 126 bpp = 2; 129 bpp = 4; 132 return QImage(reinterpret_cast<unsigned char*>(m_sharedMemory->data()), m_rect.width(), m_rect.height(), (m_rect.width() * bpp + 3) & ~0x3, format);
|
/frameworks/compile/libbcc/lib/AndroidBitcode/X86/ |
X86ABCExpandVAArg.cpp | 49 llvm::Type *bpp = bp->getPointerTo(0); local 51 bpp, "ap");
|
/hardware/samsung_slsi/exynos5/libexynosutils/ |
exynos5_format_v4l2.c | 268 // 16bpp 275 // 24bpp 280 // 32bpp 287 // 12bpp 309 // 16bpp 366 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) 370 *bpp = 12; 378 *bpp = 12; 384 *bpp = 12; 391 *bpp = 16 415 unsigned int bpp, planes; local 425 unsigned int bpp, planes; local [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
ImageFlipper.java | 58 int bpp = img.getFormat().getBitsPerPixel() / 8; local 59 int scanline = w * bpp;
|
/external/qemu/distrib/sdl-1.2.15/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 116 bpp = src->format->BitsPerPixel; 117 src_format = src->pitch | ((bpp+((bpp==8) ? 0 : 8)) << 13); 119 bpp = dst->format->BitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testgamma.c | 34 int get_video_args(char *argv[], int *w, int *h, int *bpp, Uint32 *flags) 40 *bpp = 0; 54 if ( strcmp(argv[i], "-bpp") == 0 ) { 56 *bpp = atoi(argv[++i]); 79 int w, h, bpp; local 86 argv += get_video_args(argv, &w, &h, &bpp, &flags); 96 screen = SDL_SetVideoMode(w, h, bpp, flags | SDL_HWPALETTE);
|
graywin.c | 105 SDL_Surface *CreateScreen(Uint16 w, Uint16 h, Uint8 bpp, Uint32 flags) 112 screen = SDL_SetVideoMode(w, h, bpp, flags); 121 if (bpp==8) { 140 int width, height, bpp; local 151 bpp = 8; 163 if ( argv[argc-1] && (strcmp(argv[argc-1], "-bpp") == 0) ) { 164 bpp = atoi(argv[argc]); 185 fprintf(stderr, "Usage: %s [-width] [-height] [-bpp] [-hw] [-hwpalette] [-flip] [-noframe] [-fullscreen] [-resize]\n", 192 screen = CreateScreen(width, height, bpp, videoflags);
|
testvidinfo.c | 143 printf("Running freshly loaded blit test: %dx%d at %d bpp, flags: ", 172 printf("Running freshly loaded cc blit test: %dx%d at %d bpp, flags: ", 205 printf("Running display format blit test: %dx%d at %d bpp, flags: ", 236 printf("Running display format cc blit test: %dx%d at %d bpp, flags: ", 259 /* run the alpha blit test only if screen bpp>8 */ 272 printf("Running display format alpha blit test: %dx%d at %d bpp, flags: ", 296 /* run the cc+alpha blit test only if screen bpp>8 */ 310 printf("Running display format cc+alpha blit test: %dx%d at %d bpp, flags: ", 338 int w, h, bpp; member in struct:__anon12283 359 printf("Setting video mode: %dx%d at %d bpp, flags: " [all...] |
/frameworks/compile/libbcc/lib/AndroidBitcode/ARM/ |
ARMABCExpandVAArg.cpp | 49 llvm::Type *bpp = bp->getPointerTo(0); local 52 builder.CreateBitCast(va_list_addr, bpp, "ap");
|
/development/samples/BrowserPlugin/jni/ |
RenderingThread.cpp | 186 int bpp = 4; // Here we only deal with RGBA8888 format. local 191 uint8_t* dst = &(img[(buffer.stride * (row + 0) + 0) * bpp]); 192 uint8_t* src = &(bitmapOrigin[bitmap.width() * row * bpp]); 193 memcpy(dst, src, bpp * bitmap.width());
|
/frameworks/compile/libbcc/lib/AndroidBitcode/Mips/ |
MipsABCExpandVAArg.cpp | 49 llvm::Type *bpp = bp->getPointerTo(0); local 51 bpp, "ap");
|
/frameworks/native/libs/ui/ |
GraphicBufferAllocator.cpp | 113 int bpp = bytesPerPixel(format); local 114 if (bpp < 0) { 117 bpp = 0; 125 rec.size = h * stride[0] * bpp;
|
/hardware/libhardware/modules/gralloc/ |
gralloc.cpp | 209 int bpp = 0; local 214 bpp = 4; 217 bpp = 3; 223 bpp = 2; 228 size_t bpr = (w*bpp + (align-1)) & ~(align-1); 230 stride = bpr / bpp;
|
/system/core/adb/ |
framebuffer_service.c | 41 unsigned int bpp; member in struct:fbinfo 90 fbinfo.bpp = 32; 104 fbinfo.bpp = 32; 118 fbinfo.bpp = 24; 132 fbinfo.bpp = 16; 146 fbinfo.bpp = 32;
|
/external/opencv/otherlibs/highgui/ |
grfmt_imageio.cpp | 127 int bpp; // Bytes per pixel local 146 bpp = 1; 152 bpp = 4; /* CG only has 8 and 32 bit color spaces, so we waste a byte */ 158 bitmap = (uchar*)malloc( bpp * m_height * m_width ); 169 bpp * m_width, /* bytes per row */ 213 bitmapIndex += bpp; 282 int bpp = (_channels == 1) ? 1 : 4; local 289 if( bpp == 1 ) 291 else if( bpp == 4 ) 296 bitmapData = (uchar*)malloc( bpp * height * width ) [all...] |
/external/qemu/android/protocol/ |
fb-updates-impl.c | 199 char* bpp = strstr(handshake, "bitsperpixel="); local 200 if (bpp != NULL) { 202 bpp += strlen("bitsperpixel="); 203 end = strchr(bpp, ' '); 205 end = bpp + strlen(bpp); 207 fbi->bits_per_pixel = strtol(bpp, &end, 0);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_stretch.c | 70 static int generate_rowbytes(int src_w, int dst_w, int bpp) 73 int bpp; member in struct:__anon12089 86 (dst_w == last.dst_w) && (bpp == last.bpp) ) { 89 last.bpp = bpp; 94 switch (bpp) { 105 SDL_SetError("ASM stretch of %d bytes isn't supported\n", bpp); 124 if ( bpp == 2 ) { 133 if ( bpp == 2 ) 220 const int bpp = dst->format->BytesPerPixel; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nxvideo.h | 46 int bpp ; member in struct:NX_SDL_VISUAL
|
/external/qemu/distrib/sdl-1.2.15/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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11yuv.c | 168 int bpp; local 237 /* Precalculate the bpp for the pitch workaround below */ 243 bpp = 2; 246 bpp = 1; 331 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { 333 width = hwdata->image->pitches[0] / bpp; 375 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { 378 width = hwdata->image->pitches[0] / bpp;
|
/external/skia/src/gpu/ |
GrAtlas.cpp | 97 const int bpp = GrMaskFormatBytesPerPixel(fMaskFormat); local 98 const size_t dstRB = dstW * bpp; 103 dst = zerofill(dst, bpp); // zero left edge 104 memcpy(dst, image, width * bpp); 105 dst += width * bpp; 106 dst = zerofill(dst, bpp); // zero right edge 107 image = (const void*)((const char*)image + width * bpp);
|
/sdk/chimpchat/src/com/android/chimpchat/adb/image/ |
CaptureRawAndConvertedImage.java | 37 public int bpp; field in class:CaptureRawAndConvertedImage.ChimpRawImage 54 bpp = rawImage.bpp; 74 rawImage.bpp = bpp;
|
/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...] |