Home
last modified time | relevance | path

Searched refs:bit_depth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt/
DImages.cpp105 int bit_depth, interlace_type, compression_type; in read_png() local
113 &outImageInfo->height, &bit_depth, &color_type, in read_png()
123 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) in read_png()
131 if (bit_depth == 16) in read_png()
165 bit_depth, color_type, in read_png()
170 &outImageInfo->height, &bit_depth, &color_type, in read_png()
1145 int bit_depth, interlace_type, compression_type; in write_png() local
1314 &bit_depth, &color_type, &interlace_type, in write_png()
1319 (int)width, (int)height, bit_depth, color_type, interlace_type, in write_png()
/frameworks/base/libs/androidfw/
DPngCrunch.cpp208 int bit_depth, color_type, interlace_method, compression_method, filter_method; in ReadPng() local
209 png_get_IHDR(read_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_method, in ReadPng()
219 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { in ReadPng()
227 if (bit_depth == 16) { in ReadPng()