Searched refs:color_type (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 103 int color_type; local 112 &outImageInfo->height, &bit_depth, &color_type, 116 //printf("color_type=%d, bit_depth=%d, interlace_type=%d, compression_type=%d\n", 117 // color_type, bit_depth, interlace_type, compression_type); 119 if (color_type == PNG_COLOR_TYPE_PALETTE) 122 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 133 if ((color_type&PNG_COLOR_MASK_ALPHA) == 0) 136 if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) 164 bit_depth, color_type, 822 dump_image(int w, int h, png_bytepp rows, int color_type) argument 1143 int color_type; local [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | PngCrunch.cpp | 210 int bit_depth, color_type, interlace_method, compression_method, filter_method; local 211 png_get_IHDR(read_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 217 if (color_type == PNG_COLOR_TYPE_PALETTE) { 221 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { 233 if (!(color_type & PNG_COLOR_MASK_ALPHA)) { 237 if (color_type == PNG_COLOR_TYPE_GRAY || 238 color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
|
Completed in 33 milliseconds