Home
last modified time | relevance | path

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

/external/webp/src/dec/
Dio_dec.c551 const int is_alpha = WebPIsAlphaMode(colorspace); in CustomSetup() local
557 if (!WebPIoInitFromOptions(p->options, io, is_alpha ? MODE_YUV : MODE_YUVA)) { in CustomSetup()
560 if (is_alpha && WebPIsPremultipliedMode(colorspace)) { in CustomSetup()
589 if (is_alpha) { // need transparency output in CustomSetup()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_schedule.c507 unsigned int srcp_src, srcp_regs, is_rgb, is_alpha; in merge_presub_sources() local
516 is_alpha = 0; in merge_presub_sources()
521 is_alpha = 1; in merge_presub_sources()
543 free_source = rc_pair_alloc_source(dst_full, is_rgb, is_alpha, in merge_presub_sources()
559 is_alpha, temp.File, temp.Index); in merge_presub_sources()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c348 static uint32_t si_translate_blend_opt_factor(int blend_fact, bool is_alpha) in si_translate_blend_opt_factor() argument
356 return is_alpha ? V_028760_BLEND_OPT_PRESERVE_A1_IGNORE_A0 in si_translate_blend_opt_factor()
359 return is_alpha ? V_028760_BLEND_OPT_PRESERVE_A0_IGNORE_A1 in si_translate_blend_opt_factor()
366 return is_alpha ? V_028760_BLEND_OPT_PRESERVE_ALL_IGNORE_NONE in si_translate_blend_opt_factor()