/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.12/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/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,
|
/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)
|
/frameworks/base/cmds/screenshot/ |
screenshot.c | 62 bytespp = vinfo.bits_per_pixel / 8; 64 vinfo.xres, vinfo.yres, vinfo.bits_per_pixel / 4,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
omxVCM4P2_QuantInvInter_I.c | 29 * block. Supports bits_per_pixel = 8. The output coefficients are clipped to
|
omxVCM4P2_QuantInter_I.c | 28 * bits_per_pixel == 8.
|
omxVCM4P2_QuantIntra_I.c | 27 * bits_per_pixel == 8.
|
omxVCM4P2_QuantInvIntra_I.c | 28 * block. Supports bits_per_pixel = 8. The output coefficients are clipped to
|
/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/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:__anon12087 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/ |
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;
|
/hardware/libhardware/modules/gralloc/ |
framebuffer.cpp | 241 info.bits_per_pixel, 336 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); 337 int format = (m->info.bits_per_pixel == 32)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
fb.h | 166 * inside a "pixel" value, which is exactly 'bits_per_pixel' wide (means: you 169 * big-endian byte order if bits_per_pixel is greater than 8. 232 __u32 bits_per_pixel; /* guess what */ member in struct:fb_var_screeninfo
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
fb.h | 166 * inside a "pixel" value, which is exactly 'bits_per_pixel' wide (means: you 169 * big-endian byte order if bits_per_pixel is greater than 8. 232 __u32 bits_per_pixel; /* guess what */ member in struct:fb_var_screeninfo
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
fb.h | 166 * inside a "pixel" value, which is exactly 'bits_per_pixel' wide (means: you 169 * big-endian byte order if bits_per_pixel is greater than 8. 232 __u32 bits_per_pixel; /* guess what */ member in struct:fb_var_screeninfo
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
omxVCM4P2_QuantInvInter_I_s.s | 23 ; * This function supports bits_per_pixel = 8. Mismatch control
|
/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 */
|