Lines Matching refs:n_comp

540    const GLint n_comp = 3; /* 3 components: R, G, B */  in fxt1_quantize_CHROMA()  local
546 if (fxt1_choose(vec, n_vect, input, n_comp, N_TEXELS) != 0) { in fxt1_quantize_CHROMA()
547 fxt1_lloyd(vec, n_vect, input, n_comp, N_TEXELS); in fxt1_quantize_CHROMA()
552 for (i = 0; i < n_comp; i++) { in fxt1_quantize_CHROMA()
564 lohi |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA()
569 lolo |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA()
582 const GLint n_comp = 4; /* 4 components: R, G, B, A */ in fxt1_quantize_ALPHA0() local
589 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA0()
594 if (fxt1_choose(vec, n_vect, reord, n_comp, n) != 0) { in fxt1_quantize_ALPHA0()
595 fxt1_lloyd(vec, n_vect, reord, n_comp, n); in fxt1_quantize_ALPHA0()
605 for (i = 0; i < n_comp - 1; i++) { in fxt1_quantize_ALPHA0()
617 lohi |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); in fxt1_quantize_ALPHA0()
622 lolo |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); in fxt1_quantize_ALPHA0()
634 const GLint n_comp = 4; /* 4 components: R, G, B, A */ in fxt1_quantize_ALPHA1() local
651 nn_comp = n_comp; in fxt1_quantize_ALPHA1()
674 nn_comp = n_comp; in fxt1_quantize_ALPHA1()
703 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
712 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
722 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
733 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_ALPHA1()
740 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
753 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[1]); in fxt1_quantize_ALPHA1()
760 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
776 for (i = 0; i < n_comp - 1; i++) { in fxt1_quantize_ALPHA1()
792 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_HI() local
809 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
823 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
828 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
838 MAKEIVEC(n_vect, n_comp, iv, b, reord[minCol], reord[maxCol]); in fxt1_quantize_HI()
850 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_HI()
867 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_MIXED1() local
888 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
906 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
924 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
930 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
936 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_MIXED1()
944 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED1()
958 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
964 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
970 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[3]); in fxt1_quantize_MIXED1()
978 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED1()
990 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
1005 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_MIXED0() local
1026 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1042 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1057 GLint maxVarL = fxt1_variance(NULL, input, n_comp, N_TEXELS / 2); in fxt1_quantize_MIXED0()
1058 GLint maxVarR = fxt1_variance(NULL, &input[N_TEXELS / 2], n_comp, N_TEXELS / 2); in fxt1_quantize_MIXED0()
1093 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1099 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_MIXED0()
1106 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED0()
1114 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1126 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1132 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[3]); in fxt1_quantize_MIXED0()
1139 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED0()
1147 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1159 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()