Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dresources.cpp67 png_byte channels() const { in channels() function in PngHandler
205 int channels, int width) { in transform_rgb_to_draw() argument
210 switch (channels) { in transform_rgb_to_draw()
262 png_handler.channels(), width); in res_create_display_surface()
334 transform_rgb_to_draw(p_row.data(), out_row, png_handler.channels(), width); in res_create_multi_display_surface()
357 if (png_handler.channels() != 1) { in res_create_alpha_surface()
418 if (png_handler.channels() != 1) { in get_locales_in_png()
419 printf("Expect input png to have 1 data channel, this file has %d\n", png_handler.channels()); in get_locales_in_png()
451 if (png_handler.channels() != 1) { in res_create_localized_alpha_surface()
/bootable/recovery/tests/manual/
Drecovery_test.cpp173 png_byte channels = png_get_channels(png_ptr, info_ptr); in SetUp() local
174 ASSERT_EQ(1, channels) << "Recovery background text images expects 1-channel PNG file."; in SetUp()