Lines Matching refs:n_comp
563 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_CHROMA() local
569 if (fxt1_choose(vec, n_vect, input, n_comp, N_TEXELS) != 0) { in fxt1_quantize_CHROMA()
570 fxt1_lloyd(vec, n_vect, input, n_comp, N_TEXELS); in fxt1_quantize_CHROMA()
575 for (i = 0; i < n_comp; i++) { in fxt1_quantize_CHROMA()
587 lohi |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA()
592 lolo |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA()
605 const GLint n_comp = 4; /* 4 components: R, G, B, A */ in fxt1_quantize_ALPHA0() local
612 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA0()
617 if (fxt1_choose(vec, n_vect, reord, n_comp, n) != 0) { in fxt1_quantize_ALPHA0()
618 fxt1_lloyd(vec, n_vect, reord, n_comp, n); in fxt1_quantize_ALPHA0()
628 for (i = 0; i < n_comp - 1; i++) { in fxt1_quantize_ALPHA0()
640 lohi |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); in fxt1_quantize_ALPHA0()
645 lolo |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); in fxt1_quantize_ALPHA0()
657 const GLint n_comp = 4; /* 4 components: R, G, B, A */ in fxt1_quantize_ALPHA1() local
674 nn_comp = n_comp; in fxt1_quantize_ALPHA1()
697 nn_comp = n_comp; in fxt1_quantize_ALPHA1()
726 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
735 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
745 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
756 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_ALPHA1()
763 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
776 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[1]); in fxt1_quantize_ALPHA1()
783 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
799 for (i = 0; i < n_comp - 1; i++) { in fxt1_quantize_ALPHA1()
815 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_HI() local
832 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
846 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
851 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
861 MAKEIVEC(n_vect, n_comp, iv, b, reord[minCol], reord[maxCol]); in fxt1_quantize_HI()
873 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_HI()
890 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_MIXED1() local
911 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
929 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
947 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
953 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
959 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_MIXED1()
967 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED1()
981 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
987 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
993 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[3]); in fxt1_quantize_MIXED1()
1001 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED1()
1013 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
1028 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_MIXED0() local
1049 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1065 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1080 GLint maxVarL = fxt1_variance(NULL, input, n_comp, N_TEXELS / 2); in fxt1_quantize_MIXED0()
1081 GLint maxVarR = fxt1_variance(NULL, &input[N_TEXELS / 2], n_comp, N_TEXELS / 2); in fxt1_quantize_MIXED0()
1116 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1122 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_MIXED0()
1129 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED0()
1137 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1149 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1155 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[3]); in fxt1_quantize_MIXED0()
1162 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED0()
1170 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1182 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()