Searched refs:bit_depth (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/minui/ |
D | resources.cpp | 54 int color_type, bit_depth; in open_png() local 97 png_get_IHDR(*png_ptr, *info_ptr, width, height, &bit_depth, in open_png() 102 if (bit_depth == 8 && *channels == 3 && color_type == PNG_COLOR_TYPE_RGB) { in open_png() 104 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_GRAY) { in open_png() 107 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_PALETTE) { in open_png() 116 bit_depth, *channels, color_type); in open_png()
|
/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()
|