Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c424 int rgb_count = 0, alpha_count = 0; in rc_inst_can_use_presub() local
474 alpha_count++; in rc_inst_can_use_presub()
496 alpha_count++; in rc_inst_can_use_presub()
500 if (rgb_count > 3 || alpha_count > 3) { in rc_inst_can_use_presub()
/external/pdfium/third_party/libopenjpeg20/
Djp2.c1933 OPJ_UINT32 alpha_count; in opj_jp2_setup_encoder() local
2025 alpha_count = 0U; in opj_jp2_setup_encoder()
2028 alpha_count++; in opj_jp2_setup_encoder()
2032 if (alpha_count == 1U) { /* no way to deal with more than 1 alpha channel */ in opj_jp2_setup_encoder()
2042 alpha_count = 0U; in opj_jp2_setup_encoder()
2045 if (alpha_count == 0U) { in opj_jp2_setup_encoder()
2051 alpha_count = 0U; in opj_jp2_setup_encoder()
2055 alpha_count = 0U; in opj_jp2_setup_encoder()
2057 } else if (alpha_count > 1) { in opj_jp2_setup_encoder()
2061 if (alpha_count == 1U) { /* if here, we know what we can do */ in opj_jp2_setup_encoder()