/frameworks/base/tools/aapt/ |
Images.cpp | 76 int bit_depth, interlace_type, compression_type; local 82 &outImageInfo->height, &bit_depth, &color_type, 86 //printf("color_type=%d, bit_depth=%d, interlace_type=%d, compression_type=%d\n", 87 // color_type, bit_depth, interlace_type, compression_type); 92 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 100 if (bit_depth == 16) 131 bit_depth, color_type, 135 &outImageInfo->height, &bit_depth, &color_type, 980 int bit_depth, interlace_type, compression_type; local [all...] |
/external/chromium_org/third_party/libpng/ |
png.c | 961 png_uint_32 width, png_uint_32 height, int bit_depth, 1021 if (bit_depth != 1 && bit_depth != 2 && bit_depth != 4 && 1022 bit_depth != 8 && bit_depth != 16) 1035 if (((color_type == PNG_COLOR_TYPE_PALETTE) && bit_depth > 8) || 1038 color_type == PNG_COLOR_TYPE_RGB_ALPHA) && bit_depth < 8))
|
pngget.c | 76 return info_ptr->bit_depth; 578 png_uint_32 *width, png_uint_32 *height, int *bit_depth, 586 height == NULL || bit_depth == NULL || color_type == NULL) 591 *bit_depth = info_ptr->bit_depth; 609 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type,
|
pngwutil.c | 393 int bit_depth, int color_type, int compression_type, int filter_type, 409 switch (bit_depth) 421 if (bit_depth != 8 && bit_depth != 16) 426 switch (bit_depth) 436 if (bit_depth != 8 && bit_depth != 16) 441 if (bit_depth != 8 && bit_depth != 16) 490 png_ptr->bit_depth = (png_byte)bit_depth [all...] |
pngset.c | 228 png_uint_32 width, png_uint_32 height, int bit_depth, 239 info_ptr->bit_depth = (png_byte)bit_depth; 246 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type, 257 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); 863 int sample_max = (1 << info_ptr->bit_depth); 871 "tRNS chunk has out-of-range samples for bit_depth"); [all...] |
pngwrite.c | 50 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 907 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; 908 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * 917 png_debug1(3, "row_info->bit_depth = %d", png_ptr->row_info.bit_depth); [all...] |
png.h | 1160 png_byte bit_depth; \/* bit depth of row *\/ member in struct:png_row_info_struct [all...] |
pngrutil.c | 445 int bit_depth, color_type, compression_type, filter_type; local 464 bit_depth = buf[8]; 473 png_ptr->bit_depth = (png_byte)bit_depth; 503 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * 506 png_debug1(3, "bit_depth = %d", png_ptr->bit_depth); 509 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, [all...] |
/external/libpng/contrib/gregbook/ |
readppm.c | 68 int bit_depth, color_type, channels; variable 119 bit_depth = 8;
|
/external/libpng/ |
pngget.c | 76 return info_ptr->bit_depth; 578 png_uint_32 *width, png_uint_32 *height, int *bit_depth, 586 height == NULL || bit_depth == NULL || color_type == NULL) 591 *bit_depth = info_ptr->bit_depth; 609 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type,
|
pngwutil.c | 393 int bit_depth, int color_type, int compression_type, int filter_type, 409 switch (bit_depth) 421 if (bit_depth != 8 && bit_depth != 16) 426 switch (bit_depth) 436 if (bit_depth != 8 && bit_depth != 16) 441 if (bit_depth != 8 && bit_depth != 16) 490 png_ptr->bit_depth = (png_byte)bit_depth [all...] |
pngset.c | 228 png_uint_32 width, png_uint_32 height, int bit_depth, 239 info_ptr->bit_depth = (png_byte)bit_depth; 246 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type, 257 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); 873 int sample_max = (1 << info_ptr->bit_depth); 881 "tRNS chunk has out-of-range samples for bit_depth"); [all...] |
example.c | 89 int bit_depth, color_type, interlace_type; 101 int bit_depth, color_type, interlace_type; 177 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 208 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 634 * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on 641 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_???,
|
pngwrite.c | 50 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 907 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; 908 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * 917 png_debug1(3, "row_info->bit_depth = %d", png_ptr->row_info.bit_depth); [all...] |
libpng-1.2.44.txt | 525 &bit_depth, &color_type, &interlace_type, 532 bit_depth - holds the bit depth of one of the 579 bit_depth = png_get_bit_depth(png_ptr, [all...] |
libpng-1.2.46.txt | 525 &bit_depth, &color_type, &interlace_type, 532 bit_depth - holds the bit depth of one of the 579 bit_depth = png_get_bit_depth(png_ptr, [all...] |
png.h | 1207 png_byte bit_depth; \/* bit depth of row *\/ member in struct:png_row_info_struct [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwutil.c | 377 int bit_depth, int color_type, int compression_type, int filter_type, 390 switch (bit_depth) 401 if (bit_depth != 8 && bit_depth != 16) 406 switch (bit_depth) 416 if (bit_depth != 8 && bit_depth != 16) 421 if (bit_depth != 8 && bit_depth != 16) 470 png_ptr->bit_depth = (png_byte)bit_depth [all...] |
pngwrite.c | 43 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 869 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; 870 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * 879 png_debug1(3, "row_info->bit_depth = %d\n", png_ptr->row_info.bit_depth); [all...] |
pngrutil.c | 352 int bit_depth, color_type, compression_type, filter_type; local 371 bit_depth = buf[8]; 380 png_ptr->bit_depth = (png_byte)bit_depth; 407 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * 410 png_debug1(3,"bit_depth = %d\n", png_ptr->bit_depth); 413 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, [all...] |
png.h | 706 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */ member in struct:png_info_struct 1043 png_byte bit_depth; \/* bit depth of row *\/ member in struct:png_row_info_struct 1190 png_byte bit_depth; \/* bit depth of file *\/ member in struct:png_struct_def [all...] |
/external/chromium_org/tools/imagediff/ |
image_diff_png.cc | 156 int bit_depth, color_type, interlace_type, compression_type; local 159 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, 176 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)) 184 if (bit_depth == 16)
|
/external/chromium_org/ui/gfx/codec/ |
png_codec.cc | 167 int bit_depth, color_type, interlace_type, compression_type; local 170 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, 192 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)) 205 if (bit_depth == 16)
|
/development/tools/etc1tool/ |
etc1tool.cpp | 195 int bit_depth, color_type; local 196 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth,
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttsbit0.c | 168 FT_Byte bit_depth; member in struct:TT_SBitDecoderRec_ 229 decoder->bit_depth = *p; 270 switch ( decoder->bit_depth )
|