Home
last modified time | relevance | path

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

/bootable/recovery/minui/include/private/
Dresources.h48 return bit_depth_; in bit_depth()
77 int bit_depth_; variable
/bootable/recovery/minui/
Dresources.cpp111 png_get_IHDR(png_ptr_, info_ptr_, &width_, &height_, &bit_depth_, &color_type_, nullptr, nullptr, in PngHandler()
116 if (bit_depth_ == 8 && channels_ == 3 && color_type_ == PNG_COLOR_TYPE_RGB) { in PngHandler()
118 } else if (bit_depth_ <= 8 && channels_ == 1 && color_type_ == PNG_COLOR_TYPE_GRAY) { in PngHandler()
121 } else if (bit_depth_ <= 8 && channels_ == 1 && color_type_ == PNG_COLOR_TYPE_PALETTE) { in PngHandler()
129 fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", bit_depth_, in PngHandler()