Searched refs:ind0 (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexcompress_s3tc_tmp.h314 GLubyte coldiffred, coldiffgreen, coldiffblue, coldiffmax, factor, ind0, ind1; local in function:fancybasecolorsearch
329 ind1 = 1; ind0 = 0;
332 ind1 = 0; ind0 = 1;
337 if ((testcolor[ind1][0] - testcolor[ind0][1]) > 0) {
343 if ((testcolor[ind0][0] + factor * coldiffred) <= 255)
344 testcolor[ind0][0] += factor * coldiffred;
345 else testcolor[ind0][0] = 255;
347 if ((testcolor[ind1][2] - testcolor[ind0][2]) > 0) {
353 if ((testcolor[ind0][2] + factor * coldiffblue) <= 255)
354 testcolor[ind0][
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexcompress_s3tc_tmp.h314 GLubyte coldiffred, coldiffgreen, coldiffblue, coldiffmax, factor, ind0, ind1; local in function:fancybasecolorsearch
329 ind1 = 1; ind0 = 0;
332 ind1 = 0; ind0 = 1;
337 if ((testcolor[ind1][0] - testcolor[ind0][1]) > 0) {
343 if ((testcolor[ind0][0] + factor * coldiffred) <= 255)
344 testcolor[ind0][0] += factor * coldiffred;
345 else testcolor[ind0][0] = 255;
347 if ((testcolor[ind1][2] - testcolor[ind0][2]) > 0) {
353 if ((testcolor[ind0][2] + factor * coldiffblue) <= 255)
354 testcolor[ind0][
[all...]

Completed in 4 milliseconds