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.h571 GLubyte alphabase[2], alphause[2]; in encodedxt5alpha() local
581 alphabase[0] = 0xff; alphabase[1] = 0x0; in encodedxt5alpha()
589 if (srccolors[j][i][3] > alphabase[1]) in encodedxt5alpha()
590 alphabase[1] = srccolors[j][i][3]; in encodedxt5alpha()
591 if (srccolors[j][i][3] < alphabase[0]) in encodedxt5alpha()
592 alphabase[0] = srccolors[j][i][3]; in encodedxt5alpha()
598 …if ((alphabase[0] > alphabase[1]) && !(alphaabsmin && alphaabsmax)) { /* one color, either max or … in encodedxt5alpha()
621 else alphause[0] = alphabase[0]; in encodedxt5alpha()
623 else alphause[1] = alphabase[1]; in encodedxt5alpha()
693 … acutValues[aindex] = (alphabase[0] * (10 - (2*aindex + 1)) + alphabase[1] * (2*aindex + 1)) / 10; in encodedxt5alpha()
[all …]