/external/ImageMagick/coders/ |
pix.c | 112 bits_per_pixel, 144 bits_per_pixel=ReadBlobMSBShort(image); 145 if ((width == 0UL) || (height == 0UL) || ((bits_per_pixel != 8) && 146 (bits_per_pixel != 24))) 155 if (bits_per_pixel == 8) 182 if (bits_per_pixel == 8) 227 bits_per_pixel=ReadBlobMSBShort(image); 228 status=(width != 0UL) && (height == 0UL) && ((bits_per_pixel == 8) || 229 (bits_per_pixel == 24)) ? MagickTrue : MagickFalse; 110 bits_per_pixel, local
|
dib.c | 88 bits_per_pixel; 515 dib_info.bits_per_pixel=ReadBlobLSBShort(image); 516 if (dib_info.bits_per_pixel > 32) 524 if ((dib_info.bits_per_pixel != 1) && (dib_info.bits_per_pixel != 4) && 525 (dib_info.bits_per_pixel != 8) && (dib_info.bits_per_pixel != 16) && 526 (dib_info.bits_per_pixel != 24) && (dib_info.bits_per_pixel != 32)) 529 ((dib_info.bits_per_pixel == 16) || (dib_info.bits_per_pixel == 32)) 86 bits_per_pixel; member in struct:_DIBInfo [all...] |
palm.c | 267 bits_per_pixel, 325 bits_per_pixel=(size_t) ReadBlobByte(image); 326 if ((bits_per_pixel != 1) && (bits_per_pixel != 2) && 327 (bits_per_pixel != 4) && (bits_per_pixel != 8) && 328 (bits_per_pixel != 16)) 346 if ((bits_per_pixel < 16) && 347 (AcquireImageColormap(image,one << bits_per_pixel,exception) == MagickFalse)) 350 if (bits_per_pixel == 16) /* Direct Color * 261 bits_per_pixel, local 700 bits_per_pixel, local [all...] |
icon.c | 95 bits_per_pixel; 127 bits_per_pixel; 311 icon_file.directory[i].bits_per_pixel=(unsigned short) 334 icon_info.bits_per_pixel=ReadBlobLSBShort(image); 341 if (((icon_info.planes == 18505) && (icon_info.bits_per_pixel == 21060)) || 368 png[14]=(unsigned char) icon_info.bits_per_pixel; 369 png[15]=(unsigned char) (icon_info.bits_per_pixel >> 8); 394 if (icon_info.bits_per_pixel > 32) 413 image->depth=icon_info.bits_per_pixel; 429 " bpp = %.20g",(double) icon_info.bits_per_pixel); 92 bits_per_pixel; member in struct:_IconEntry 124 bits_per_pixel; member in struct:_IconInfo [all...] |
bmp.c | 129 bits_per_pixel; 616 bmp_info.bits_per_pixel=ReadBlobLSBShort(image); 642 bmp_info.bits_per_pixel=ReadBlobLSBShort(image); 659 " Bits per pixel: %.20g",(double) bmp_info.bits_per_pixel); 826 if ((bmp_info.bits_per_pixel != 1) && (bmp_info.bits_per_pixel != 4) && 827 (bmp_info.bits_per_pixel != 8) && (bmp_info.bits_per_pixel != 16) && 828 (bmp_info.bits_per_pixel != 24) && (bmp_info.bits_per_pixel != 32) 126 bits_per_pixel; member in struct:_BMPInfo [all...] |
pcx.c | 79 bits_per_pixel; 319 bits_per_pixel; 328 bits_per_pixel=ReadBlobByte(image); 329 if (bits_per_pixel == -1) 331 pcx_info.bits_per_pixel=(unsigned char) bits_per_pixel; 346 ((pcx_info.bits_per_pixel != 1) && 347 (pcx_info.bits_per_pixel != 2) && 348 (pcx_info.bits_per_pixel != 4) && 349 (pcx_info.bits_per_pixel != 8)) 77 bits_per_pixel; member in struct:_PCXInfo 313 bits_per_pixel; local [all...] |
tim.c | 108 bits_per_pixel, 177 case 0: bits_per_pixel=4; break; 178 case 1: bits_per_pixel=8; break; 179 case 2: bits_per_pixel=16; break; 180 case 3: bits_per_pixel=24; break; 181 default: bits_per_pixel=4; break; 238 width=(width*16)/bits_per_pixel; 255 switch (bits_per_pixel) 106 bits_per_pixel, local
|
fits.c | 150 static inline double GetFITSPixel(Image *image,int bits_per_pixel) 160 if (bits_per_pixel > 0) 166 if (bits_per_pixel > 0) 176 const int bits_per_pixel,double *minima,double *maxima) 194 *minima=GetFITSPixel(image,bits_per_pixel); 198 pixel=GetFITSPixel(image,bits_per_pixel); 213 const size_t bits_per_pixel,const EndianType endian,unsigned char *pixels) 219 pixels+=(bits_per_pixel >> 3)-1; 223 pixels+=bits_per_pixel >> 3; 237 bits_per_pixel, 232 bits_per_pixel, member in struct:_FITSInfo [all...] |
dps.c | 142 bits_per_pixel; 220 &bits_per_pixel,&page); 232 GetBlobFileHandle(image),(int) bits_per_pixel.height,visual_info->depth, 245 dps_image=XGetImage(display,pixmap,0,0,bits_per_pixel.width, 246 bits_per_pixel.height,AllPlanes,ZPixmap); 470 GetBlobFileHandle(image),1,pixels_per_point,&pixmap,&bits_per_pixel,&page); 474 GetBlobFileHandle(image),(int) bits_per_pixel.height,1,&page,-page.x, 484 matte_image=XGetImage(display,pixmap,0,0,bits_per_pixel.width, 485 bits_per_pixel.height,AllPlanes,ZPixmap); 140 bits_per_pixel; local
|
tga.c | 110 bits_per_pixel, 234 tga_info.bits_per_pixel=(unsigned char) ReadBlobByte(image); 238 if ((((tga_info.bits_per_pixel <= 1) || (tga_info.bits_per_pixel >= 17)) && 239 (tga_info.bits_per_pixel != 24) && (tga_info.bits_per_pixel != 32))) 247 image->alpha_trait=(alpha_bits > 0) || (tga_info.bits_per_pixel == 32) || 251 image->depth=(size_t) ((tga_info.bits_per_pixel <= 8) ? 8 : 252 (tga_info.bits_per_pixel <= 16) ? 5 : 253 (tga_info.bits_per_pixel == 24) ? 8 109 bits_per_pixel, member in struct:_TGAInfo [all...] |
pdb.c | 304 bits_per_pixel, 410 bits_per_pixel=pdb_image.type == 0 ? 2UL : pdb_image.type == 2 ? 4UL : 1UL; 412 if (AcquireImageColormap(image,one << bits_per_pixel,exception) == MagickFalse) 422 packets=(bits_per_pixel*image->columns+7)/8; 447 switch (bits_per_pixel) 741 bits_per_pixel, 771 bits_per_pixel=1; 773 bits_per_pixel=2; 775 bits_per_pixel=3; 777 bits_per_pixel=4 299 bits_per_pixel, local 733 bits_per_pixel, local [all...] |
/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...] |
/external/autotest/client/deps/gfxtest/src/ |
getfb.c | 45 info.bits_per_pixel); 48 screen_size = info.xres * info.yres * info.bits_per_pixel / 8;
|
/external/libjpeg-turbo/ |
wrbmp.c | 204 int bits_per_pixel, cmap_entries; local 210 bits_per_pixel = 8; 214 bits_per_pixel = 24; 218 bits_per_pixel = 24; 222 bits_per_pixel = 8; 245 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */ 272 int bits_per_pixel, cmap_entries; local 278 bits_per_pixel = 8; 282 bits_per_pixel = 24; 286 bits_per_pixel = 24 [all...] |
rdbmp.c | 68 int bits_per_pixel; /* remembers 8- or 24-bit format */ member in struct:_bmp_source_struct 254 switch (source->bits_per_pixel) { 327 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10); 329 switch (source->bits_per_pixel) { 349 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,14); 356 switch (source->bits_per_pixel) { 418 if (source->bits_per_pixel == 24) 420 else if (source->bits_per_pixel == 32)
|
/bootable/recovery/minui/ |
graphics_fbdev.cpp | 43 vi.bits_per_pixel = gr_framebuffer[0].pixel_bytes * 8; 83 " vi.bits_per_pixel = %d\n" 87 vi.bits_per_pixel, vi.red.offset, vi.red.length, vi.green.offset, vi.green.length, 102 gr_framebuffer[0].pixel_bytes = vi.bits_per_pixel / 8;
|
/external/webrtc/webrtc/modules/desktop_capture/x11/ |
x_server_pixel_buffer.cc | 52 return image->bits_per_pixel == 32 && 252 rect.left() * x_image_->bits_per_pixel / 8; 302 int bits_per_pixel = x_image_->bits_per_pixel; local 318 if (bits_per_pixel == 32) { 320 } else if (bits_per_pixel == 16) {
|
/external/ImageMagick/MagickCore/ |
xwdfile.h_vms | 73 CARD32 bits_per_pixel B32; /* Bits per pixel */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
XWDFile.h | 74 CARD32 bits_per_pixel B32; /* Bits per pixel */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
XWDFile.h | 74 CARD32 bits_per_pixel B32; /* Bits per pixel */
|
/hardware/qcom/display/msm8084/libgralloc/ |
framebuffer.cpp | 160 * right, inside a "pixel" value, which is exactly 'bits_per_pixel' wide 163 * unmodified. This implies big-endian byte order if bits_per_pixel is 167 if(info.bits_per_pixel == 32) { 171 info.bits_per_pixel = 32; 196 info.bits_per_pixel = 16; 210 (info.bits_per_pixel/8)); 230 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); 289 info.bits_per_pixel, 410 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8226/libgralloc/ |
framebuffer.cpp | 161 * right, inside a "pixel" value, which is exactly 'bits_per_pixel' wide 164 * unmodified. This implies big-endian byte order if bits_per_pixel is 168 if(info.bits_per_pixel == 32) { 172 info.bits_per_pixel = 32; 197 info.bits_per_pixel = 16; 211 (info.bits_per_pixel/8)); 231 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); 290 info.bits_per_pixel, 411 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8909/libgralloc/ |
framebuffer.cpp | 156 * right, inside a "pixel" value, which is exactly 'bits_per_pixel' wide 159 * unmodified. This implies big-endian byte order if bits_per_pixel is 163 if(info.bits_per_pixel == 32) { 167 info.bits_per_pixel = 32; 192 info.bits_per_pixel = 16; 206 (info.bits_per_pixel/8)); 226 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); 285 info.bits_per_pixel, 432 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8960/libgralloc/ |
framebuffer.cpp | 153 * right, inside a "pixel" value, which is exactly 'bits_per_pixel' wide 156 * unmodified. This implies big-endian byte order if bits_per_pixel is 160 if(info.bits_per_pixel == 32) { 164 info.bits_per_pixel = 32; 189 info.bits_per_pixel = 16; 203 (info.bits_per_pixel/8)); 223 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); 278 info.bits_per_pixel, 383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8994/libgralloc/ |
framebuffer.cpp | 164 * right, inside a "pixel" value, which is exactly 'bits_per_pixel' wide 167 * unmodified. This implies big-endian byte order if bits_per_pixel is 171 if(info.bits_per_pixel == 32) { 175 info.bits_per_pixel = 32; 200 info.bits_per_pixel = 16; 214 (info.bits_per_pixel/8)); 234 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); 293 info.bits_per_pixel, 440 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|