Home
last modified time | relevance | path

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

/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp3394 LodePNGColorMode* mode_out, const LodePNGColorMode* mode_in, in lodepng_convert() argument
3402 if(lodepng_color_mode_equal(mode_out, mode_in)) in lodepng_convert()
3409 if(mode_out->colortype == LCT_PALETTE) in lodepng_convert()
3411 size_t palsize = 1 << mode_out->bitdepth; in lodepng_convert()
3412 if(mode_out->palettesize < palsize) palsize = mode_out->palettesize; in lodepng_convert()
3416 unsigned char* p = &mode_out->palette[i * 4]; in lodepng_convert()
3421 if(mode_in->bitdepth == 16 && mode_out->bitdepth == 16) in lodepng_convert()
3428 error = rgba16ToPixel(out, i, mode_out, r, g, b, a); in lodepng_convert()
3432 else if(mode_out->bitdepth == 8 && mode_out->colortype == LCT_RGBA) in lodepng_convert()
3436 else if(mode_out->bitdepth == 8 && mode_out->colortype == LCT_RGB) in lodepng_convert()
[all …]
Dlodepng.h504 LodePNGColorMode* mode_out, const LodePNGColorMode* mode_in,
588 unsigned lodepng_auto_choose_color(LodePNGColorMode* mode_out,
/external/libbrillo/policy/
Ddevice_policy.h210 virtual bool GetSecondFactorAuthenticationMode(int* mode_out) const = 0;
Ddevice_policy_impl.h82 bool GetSecondFactorAuthenticationMode(int* mode_out) const override;
Ddevice_policy_impl.cc622 bool DevicePolicyImpl::GetSecondFactorAuthenticationMode(int* mode_out) const { in GetSecondFactorAuthenticationMode()
632 *mode_out = proto.mode(); in GetSecondFactorAuthenticationMode()