Lines Matching defs:pixerror
197 GLuint pixerror, pixerrorred, pixerrorgreen, pixerrorblue, pixerrorbest;
247 pixerror = colordist * colordist * REDWEIGHT;
250 pixerror += colordist * colordist * GREENWEIGHT;
253 pixerror += colordist * colordist * BLUEWEIGHT;
255 if (pixerror < pixerrorbest) {
257 pixerrorbest = pixerror;
386 GLuint testerror, testerror2, pixerror, pixerrorbest;
422 pixerror = colordist * colordist * REDWEIGHT;
424 pixerror += colordist * colordist * GREENWEIGHT;
426 pixerror += colordist * colordist * BLUEWEIGHT;
427 if (pixerror < pixerrorbest) {
428 pixerrorbest = pixerror;
459 pixerror = colordist * colordist * REDWEIGHT;
461 pixerror += colordist * colordist * GREENWEIGHT;
463 pixerror += colordist * colordist * BLUEWEIGHT;
464 if (pixerror < pixerrorbest) {
465 pixerrorbest = pixerror;