Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dresources.cpp48 png_uint_32* width, png_uint_32* height, png_byte* channels) { in open_png() argument
98 *channels = png_get_channels(*png_ptr, *info_ptr); in open_png()
100 if (bit_depth == 8 && *channels == 3 && color_type == PNG_COLOR_TYPE_RGB) { in open_png()
102 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_GRAY) { in open_png()
105 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_PALETTE) { in open_png()
111 *channels = 3; in open_png()
114 bit_depth, *channels, color_type); in open_png()
164 int channels, int width) { in transform_rgb_to_draw() argument
169 switch (channels) { in transform_rgb_to_draw()
204 png_byte channels; in res_create_display_surface() local
[all …]