Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h79 TYPE alphabase[2], alphause[2]; in TAG() local
129 if (alphaabsmin) alphause[0] = T_MIN; in TAG()
130 else alphause[0] = alphabase[0]; in TAG()
131 if (alphaabsmax) alphause[1] = T_MAX; in TAG()
132 else alphause[1] = alphabase[1]; in TAG()
136 … acutValues[aindex] = (alphause[0] * (2*aindex + 1) + alphause[1] * (14 - (2*aindex + 1))) / 14; in TAG()
145 alphadist = srccolors[j][i] - alphause[1]; in TAG()
149 alphadist = srccolors[j][i] - (alphause[1] * 6 + alphause[0] * 1) / 7; in TAG()
153 alphadist = srccolors[j][i] - (alphause[1] * 5 + alphause[0] * 2) / 7; in TAG()
157 alphadist = srccolors[j][i] - (alphause[1] * 4 + alphause[0] * 3) / 7; in TAG()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h571 GLubyte alphabase[2], alphause[2]; in encodedxt5alpha() local
620 if (alphaabsmin) alphause[0] = 0; in encodedxt5alpha()
621 else alphause[0] = alphabase[0]; in encodedxt5alpha()
622 if (alphaabsmax) alphause[1] = 255; in encodedxt5alpha()
623 else alphause[1] = alphabase[1]; in encodedxt5alpha()
627 … acutValues[aindex] = (alphause[0] * (2*aindex + 1) + alphause[1] * (14 - (2*aindex + 1))) / 14; in encodedxt5alpha()
636 alphadist = srccolors[j][i][3] - alphause[1]; in encodedxt5alpha()
640 alphadist = srccolors[j][i][3] - (alphause[1] * 6 + alphause[0] * 1) / 7; in encodedxt5alpha()
644 alphadist = srccolors[j][i][3] - (alphause[1] * 5 + alphause[0] * 2) / 7; in encodedxt5alpha()
648 alphadist = srccolors[j][i][3] - (alphause[1] * 4 + alphause[0] * 3) / 7; in encodedxt5alpha()
[all …]