Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h314 GLubyte coldiffred, coldiffgreen, coldiffblue, coldiffmax, factor, ind0, ind1; in fancybasecolorsearch() local
317 coldiffgreen = 2 * abs(testcolor[0][1] - testcolor[1][1]); in fancybasecolorsearch()
320 if (coldiffmax < coldiffgreen) coldiffmax = coldiffgreen; in fancybasecolorsearch()
334 if ((testcolor[ind1][1] + factor * coldiffgreen) <= 255) in fancybasecolorsearch()
335 testcolor[ind1][1] += factor * coldiffgreen; in fancybasecolorsearch()