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.c1934 OPJ_UINT32 alpha_count; in opj_jp2_setup_encoder() local
2026 alpha_count = 0U; in opj_jp2_setup_encoder()
2029 alpha_count++; in opj_jp2_setup_encoder()
2033 if (alpha_count == 1U) { /* no way to deal with more than 1 alpha channel */ in opj_jp2_setup_encoder()
2043 alpha_count = 0U; in opj_jp2_setup_encoder()
2046 if (alpha_count == 0U) { in opj_jp2_setup_encoder()
2052 alpha_count = 0U; in opj_jp2_setup_encoder()
2056 alpha_count = 0U; in opj_jp2_setup_encoder()
2058 } else if (alpha_count > 1) { in opj_jp2_setup_encoder()
2062 if (alpha_count == 1U) { /* if here, we know what we can do */ in opj_jp2_setup_encoder()