Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dresources.cpp152 static void TransformRgbToDraw(const uint8_t* input_row, uint8_t* output_row, int channels, in TransformRgbToDraw() argument
157 switch (channels) { in TransformRgbToDraw()
210 png_handler.channels(), width); in res_create_display_surface()
283 TransformRgbToDraw(p_row.data(), out_row, png_handler.channels(), width); in res_create_multi_display_surface()
306 if (png_handler.channels() != 1) { in res_create_alpha_surface()
368 if (png_handler.channels() != 1) { in get_locales_in_png()
369 printf("Expect input png to have 1 data channel, this file has %d\n", png_handler.channels()); in get_locales_in_png()
401 if (png_handler.channels() != 1) { in res_create_localized_alpha_surface()
/bootable/recovery/minui/include/private/
Dresources.h43 png_byte channels() const { in channels() function
/bootable/recovery/tests/component/
Dresources_test.cpp85 ASSERT_EQ(1, png_->channels()) << "Recovery background text images expects 1-channel PNG file."; in SetUp()