/system/extras/tests/framebuffer/ |
fb_test.c | 72 if (bpp && vi.bits_per_pixel != bpp) { 74 vi.bits_per_pixel = bpp; 94 bytes_per_pixel = vi.bits_per_pixel >> 3; 100 fb->bpp = vi.bits_per_pixel; 109 fb->bpp = vi.bits_per_pixel; 133 fprintf(stderr, "vi.bits_per_pixel = %d\n", vi->bits_per_pixel); 210 int stride = fi.line_length / (vi.bits_per_pixel >> 3); 216 if (vi.bits_per_pixel == 16) 221 if (vi.bits_per_pixel == 16 [all...] |
refresh.c | 58 info.bits_per_pixel = 16; 95 info.bits_per_pixel,
|
/external/qemu/android/protocol/ |
fb-updates-impl.c | 66 int bits_per_pixel; member in struct:FrameBufferImpl 77 * bits_per_pixel define number of bits used to encode a single pixel. 83 uint8_t bits_per_pixel, uint8_t* pixels) 88 const uint16_t src_line_size = w * ((bits_per_pixel + 7) / 8); 146 (fbi->bits_per_pixel / 8); 163 fbi->update_header.h, fbi->bits_per_pixel, 197 fbi->bits_per_pixel = 0; 207 fbi->bits_per_pixel = strtol(bpp, &end, 0); 210 if (!fbi->bits_per_pixel) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_modes.c | 75 mode_info.bits_per_pixel = 0; 84 if(mode_info.bits_per_pixel == format->BitsPerPixel) 141 (mode_info.bits_per_pixel == bpp)) 148 (mode_info.bits_per_pixel == bpp)) 194 if (mode_info.bits_per_pixel == bpp) 199 min_delta = abs(mode_info.bits_per_pixel - bpp); 214 if (mode_info.bits_per_pixel == bpp) 221 delta = abs(mode_info.bits_per_pixel - bpp);
|
/external/jpeg/ |
wrbmp.c | 171 int bits_per_pixel, cmap_entries; local 177 bits_per_pixel = 8; 181 bits_per_pixel = 24; 186 bits_per_pixel = 8; 209 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */ 236 int bits_per_pixel, cmap_entries; local 242 bits_per_pixel = 8; 246 bits_per_pixel = 24; 251 bits_per_pixel = 8; 274 PUT_2B(bmpcoreheader, 10, bits_per_pixel); /* bcBitCount * [all...] |
rdbmp.c | 63 int bits_per_pixel; /* remembers 8- or 24-bit format */ member in struct:_bmp_source_struct 219 switch (source->bits_per_pixel) { 289 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10); 291 switch (source->bits_per_pixel) { 313 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,14); 320 switch (source->bits_per_pixel) { 376 if (source->bits_per_pixel == 24)
|
/external/qemu/distrib/jpeg-6b/ |
wrbmp.c | 171 int bits_per_pixel, cmap_entries; local 177 bits_per_pixel = 8; 181 bits_per_pixel = 24; 186 bits_per_pixel = 8; 209 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */ 236 int bits_per_pixel, cmap_entries; local 242 bits_per_pixel = 8; 246 bits_per_pixel = 24; 251 bits_per_pixel = 8; 274 PUT_2B(bmpcoreheader, 10, bits_per_pixel); /* bcBitCount * [all...] |
rdbmp.c | 63 int bits_per_pixel; /* remembers 8- or 24-bit format */ member in struct:_bmp_source_struct 219 switch (source->bits_per_pixel) { 289 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10); 291 switch (source->bits_per_pixel) { 313 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,14); 320 switch (source->bits_per_pixel) { 376 if (source->bits_per_pixel == 24)
|
/external/qemu/android/ |
framebuffer.c | 82 int pitch, bytes_per_pixel, bits_per_pixel; local 93 bits_per_pixel = _get_bits_per_pixel(format); 94 if (bits_per_pixel < 0) 117 qfbuff->bits_per_pixel = bits_per_pixel;
|
display.c | 91 qf->bits_per_pixel,
|
framebuffer.h | 51 int bits_per_pixel; /* bits per pixel */ member in struct:QFrameBuffer
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
XWDFile.h | 75 CARD32 bits_per_pixel B32; /* Bits per pixel */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
XWDFile.h | 75 CARD32 bits_per_pixel B32; /* Bits per pixel */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
XWDFile.h | 75 CARD32 bits_per_pixel B32; /* Bits per pixel */
|
/hardware/qcom/display/libgralloc/ |
framebuffer.cpp | 152 * right, inside a "pixel" value, which is exactly 'bits_per_pixel' wide 155 * unmodified. This implies big-endian byte order if bits_per_pixel is 159 if(info.bits_per_pixel == 32) { 163 info.bits_per_pixel = 32; 188 info.bits_per_pixel = 16; 202 (info.bits_per_pixel/8)); 222 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); 277 info.bits_per_pixel, 383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/frameworks/native/cmds/screenshot/ |
screenshot.c | 62 bytespp = vinfo.bits_per_pixel / 8; 64 vinfo.xres, vinfo.yres, vinfo.bits_per_pixel / 4,
|
/hardware/samsung_slsi/exynos5/gralloc/ |
framebuffer.cpp | 214 int bits_per_pixel = 16; local 217 int bits_per_pixel = 32; local 259 int stride = m->line_length / (bits_per_pixel >> 3);
|
/external/quake/quake/src/WinQuake/ |
vid_ext.cpp | 80 int bits_per_pixel; // er, better be 8, 15, 16, 24, or 32 (+25)
member in struct:__anon14677 464 modeinfo.bits_per_pixel = *(char*)(infobuf+25);
465 modeinfo.bytes_per_pixel = (modeinfo.bits_per_pixel+1)/8;
470 if ((modeinfo.bits_per_pixel != 8) ||
534 modeinfo.bits_per_pixel = *(char*)(infobuf+25);
535 modeinfo.bytes_per_pixel = (modeinfo.bits_per_pixel+1)/8;
562 printf(" bits per pixel = %d\n", modeinfo.bits_per_pixel);
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbvideo.c | 333 &vinfo->xres_virtual, &vinfo->yres_virtual, &vinfo->bits_per_pixel); 391 vinfo->bits_per_pixel = (index+1)*8; 399 fprintf(stderr, "Checked mode %dx%d at %d bpp, got mode %dx%d at %d bpp\n", *w, *h, (index+1)*8, vinfo->xres, vinfo->yres, vinfo->bits_per_pixel); 401 if ( (((vinfo->bits_per_pixel+7)/8)-1) == index ) { 598 vformat->BitsPerPixel = vinfo.bits_per_pixel; 684 current_index = ((vinfo.bits_per_pixel+7)/8)-1; 836 fprintf(stderr, "\tbits_per_pixel: %d\n", vinfo->bits_per_pixel); 887 (!matched || (vinfo->bits_per_pixel == cinfo.bits_per_pixel)) ) { 1033 (vinfo.bits_per_pixel != bpp) || (flags & SDL_DOUBLEBUF) ) [all...] |
/hardware/libhardware/modules/gralloc/ |
framebuffer.cpp | 241 info.bits_per_pixel, 331 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); 332 int format = (m->info.bits_per_pixel == 32)
|
/external/qemu/ |
console.h | 128 uint8_t bits_per_pixel; member in struct:PixelFormat 256 if (surface->pf.bits_per_pixel == 32 && surface->pf.rshift == 0) 412 return ds->surface->pf.bits_per_pixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
SDL_ps3video.c | 201 fb_bits_per_pixel = fb_vinfo.bits_per_pixel; 208 vformat->BitsPerPixel = fb_vinfo.bits_per_pixel; 222 s_fb_pixel_size = fb_vinfo.bits_per_pixel / 8;
|
/hardware/msm7k/libgralloc/ |
framebuffer.cpp | 185 info.bits_per_pixel = 16; 258 info.bits_per_pixel, 355 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/msm7k/libgralloc-qsd8k/ |
framebuffer.cpp | 203 * inside a "pixel" value, which is exactly 'bits_per_pixel' wide (means: you 206 * big-endian byte order if bits_per_pixel is greater than 8. 212 info.bits_per_pixel = 32; 294 info.bits_per_pixel, 391 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
Xvlib.h | 130 int bits_per_pixel; member in struct:__anon13372
|