Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c535 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_CHROMA() local
541 if (fxt1_choose(vec, n_vect, input, n_comp, N_TEXELS) != 0) { in fxt1_quantize_CHROMA()
542 fxt1_lloyd(vec, n_vect, input, n_comp, N_TEXELS); in fxt1_quantize_CHROMA()
547 for (i = 0; i < n_comp; i++) { in fxt1_quantize_CHROMA()
559 lohi |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA()
564 lolo |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA()
577 const GLint n_comp = 4; /* 4 components: R, G, B, A */ in fxt1_quantize_ALPHA0() local
584 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA0()
589 if (fxt1_choose(vec, n_vect, reord, n_comp, n) != 0) { in fxt1_quantize_ALPHA0()
590 fxt1_lloyd(vec, n_vect, reord, n_comp, n); in fxt1_quantize_ALPHA0()
[all …]
/external/libxml2/
Dtestapi.c16925 int n_comp; in test_xmlPatternFromRoot() local
16927 for (n_comp = 0;n_comp < gen_nb_xmlPatternPtr;n_comp++) { in test_xmlPatternFromRoot()
16929 comp = gen_xmlPatternPtr(n_comp, 0); in test_xmlPatternFromRoot()
16934 des_xmlPatternPtr(n_comp, comp, 0); in test_xmlPatternFromRoot()
16940 printf(" %d", n_comp); in test_xmlPatternFromRoot()
16969 int n_comp; in test_xmlPatternMatch() local
16973 for (n_comp = 0;n_comp < gen_nb_xmlPatternPtr;n_comp++) { in test_xmlPatternMatch()
16976 comp = gen_xmlPatternPtr(n_comp, 0); in test_xmlPatternMatch()
16982 des_xmlPatternPtr(n_comp, comp, 0); in test_xmlPatternMatch()
16989 printf(" %d", n_comp); in test_xmlPatternMatch()
[all …]