• Home
  • Raw
  • Download

Lines Matching refs:n_comp

535    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()
600 for (i = 0; i < n_comp - 1; i++) { in fxt1_quantize_ALPHA0()
612 lohi |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); in fxt1_quantize_ALPHA0()
617 lolo |= fxt1_bestcol(vec, n_vect + 1, input[k], n_comp); in fxt1_quantize_ALPHA0()
629 const GLint n_comp = 4; /* 4 components: R, G, B, A */ in fxt1_quantize_ALPHA1() local
646 nn_comp = n_comp; in fxt1_quantize_ALPHA1()
669 nn_comp = n_comp; in fxt1_quantize_ALPHA1()
698 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
707 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
717 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA1()
728 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_ALPHA1()
735 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
748 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[1]); in fxt1_quantize_ALPHA1()
755 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
771 for (i = 0; i < n_comp - 1; i++) { in fxt1_quantize_ALPHA1()
787 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_HI() local
804 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
818 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
823 for (i = 0; i < n_comp; i++) { in fxt1_quantize_HI()
833 MAKEIVEC(n_vect, n_comp, iv, b, reord[minCol], reord[maxCol]); in fxt1_quantize_HI()
845 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_HI()
862 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_MIXED1() local
883 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
901 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
919 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
925 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
931 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_MIXED1()
939 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED1()
953 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
959 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
965 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[3]); in fxt1_quantize_MIXED1()
973 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED1()
985 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED1()
1000 const GLint n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_MIXED0() local
1021 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1037 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1052 GLint maxVarL = fxt1_variance(NULL, input, n_comp, N_TEXELS / 2); in fxt1_quantize_MIXED0()
1053 GLint maxVarR = fxt1_variance(NULL, &input[N_TEXELS / 2], n_comp, N_TEXELS / 2); in fxt1_quantize_MIXED0()
1088 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1094 MAKEIVEC(n_vect, n_comp, iv, b, vec[0], vec[1]); in fxt1_quantize_MIXED0()
1101 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED0()
1109 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1121 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1127 MAKEIVEC(n_vect, n_comp, iv, b, vec[2], vec[3]); in fxt1_quantize_MIXED0()
1134 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_MIXED0()
1142 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()
1154 for (i = 0; i < n_comp; i++) { in fxt1_quantize_MIXED0()