Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h79 TYPE alphabase[2], alphause[2]; in TAG() local
88 alphabase[0] = T_MAX; alphabase[1] = T_MIN; in TAG()
96 if (srccolors[j][i] > alphabase[1]) in TAG()
97 alphabase[1] = srccolors[j][i]; in TAG()
98 if (srccolors[j][i] < alphabase[0]) in TAG()
99 alphabase[0] = srccolors[j][i]; in TAG()
105 if (((alphabase[0] > alphabase[1]) && !(alphaabsmin && alphaabsmax)) in TAG()
106 …|| (alphabase[0] == alphabase[1] && !alphaabsmin && !alphaabsmax)) { /* one color, either max or m… in TAG()
130 else alphause[0] = alphabase[0]; in TAG()
132 else alphause[1] = alphabase[1]; in TAG()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h574 GLubyte alphabase[2], alphause[2]; in encodedxt5alpha() local
584 alphabase[0] = 0xff; alphabase[1] = 0x0; in encodedxt5alpha()
592 if (srccolors[j][i][3] > alphabase[1]) in encodedxt5alpha()
593 alphabase[1] = srccolors[j][i][3]; in encodedxt5alpha()
594 if (srccolors[j][i][3] < alphabase[0]) in encodedxt5alpha()
595 alphabase[0] = srccolors[j][i][3]; in encodedxt5alpha()
601 …if ((alphabase[0] > alphabase[1]) && !(alphaabsmin && alphaabsmax)) { /* one color, either max or … in encodedxt5alpha()
624 else alphause[0] = alphabase[0]; in encodedxt5alpha()
626 else alphause[1] = alphabase[1]; in encodedxt5alpha()
696 … acutValues[aindex] = (alphabase[0] * (10 - (2*aindex + 1)) + alphabase[1] * (2*aindex + 1)) / 10; in encodedxt5alpha()
[all …]