Searched refs:bit_depth (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/minui/ |
D | resources.cpp | 142 int bit_depth; in PngHandler() local 143 png_get_IHDR(png_ptr_, info_ptr_, &width_, &height_, &bit_depth, &color_type, nullptr, nullptr, in PngHandler() 148 if (bit_depth == 8 && channels_ == 3 && color_type == PNG_COLOR_TYPE_RGB) { in PngHandler() 150 } else if (bit_depth <= 8 && channels_ == 1 && color_type == PNG_COLOR_TYPE_GRAY) { in PngHandler() 153 } else if (bit_depth <= 8 && channels_ == 1 && color_type == PNG_COLOR_TYPE_PALETTE) { in PngHandler() 161 fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", bit_depth, in PngHandler()
|
/bootable/recovery/tests/manual/ |
D | recovery_test.cpp | 162 int color_type, bit_depth; in SetUp() local 163 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, nullptr, nullptr, in SetUp() 168 if (bit_depth <= 8) { in SetUp()
|