Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
H A Dtexcompress_rgtc_tmp.h84 int alphaabsmin = 0, alphaabsmax = 0; in encode_rgtc_ubyte() local
92 alphaabsmin = 1; in encode_rgtc_ubyte()
105 if (((alphabase[0] > alphabase[1]) && !(alphaabsmin && alphaabsmax)) in encode_rgtc_ubyte()
106 || (alphabase[0] == alphabase[1] && !alphaabsmin && !alphaabsmax)) { /* one color, either max or min */ in encode_rgtc_ubyte()
125 /* it's possible this encoding is better even if both alphaabsmin and alphaabsmax are true */ in encode_rgtc_ubyte()
129 if (alphaabsmin) alphause[0] = T_MIN; in encode_rgtc_ubyte()
196 /* it's not very likely this encoding is better if both alphaabsmin and alphaabsmax in encode_rgtc_ubyte()
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_s3tc_tmp.h579 GLboolean alphaabsmin = GL_FALSE; in encodedxt5alpha() local
588 alphaabsmin = GL_TRUE; in encodedxt5alpha()
601 if ((alphabase[0] > alphabase[1]) && !(alphaabsmin && alphaabsmax)) { /* one color, either max or min */ in encodedxt5alpha()
603 /* || (alphabase[0] == alphabase[1] && !alphaabsmin && !alphaabsmax) */ in encodedxt5alpha()
619 /* it's possible this encoding is better even if both alphaabsmin and alphaabsmax are true */ in encodedxt5alpha()
623 if (alphaabsmin) alphause[0] = 0; in encodedxt5alpha()
687 /* it's not very likely this encoding is better if both alphaabsmin and alphaabsmax in encodedxt5alpha()

Completed in 4 milliseconds