• Home
  • Raw
  • Download

Lines Matching refs:alphabase

574    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()
712 alphadist = srccolors[j][i][3] - alphabase[0]; in encodedxt5alpha()
716 alphadist = srccolors[j][i][3] - (alphabase[0] * 4 + alphabase[1] * 1) / 5; in encodedxt5alpha()
720 alphadist = srccolors[j][i][3] - (alphabase[0] * 3 + alphabase[1] * 2) / 5; in encodedxt5alpha()
724 alphadist = srccolors[j][i][3] - (alphabase[0] * 2 + alphabase[1] * 3) / 5; in encodedxt5alpha()
728 alphadist = srccolors[j][i][3] - (alphabase[0] * 1 + alphabase[1] * 4) / 5; in encodedxt5alpha()
732 alphadist = srccolors[j][i][3] - alphabase[1]; in encodedxt5alpha()
751 …colors[j][i][3] > alphatest[1]) && (srccolors[j][i][3] < (255 -(alphabase[1] - alphabase[0]) / 28)… in encodedxt5alpha()
753 … ((srccolors[j][i][3] < alphatest[0]) && (srccolors[j][i][3] > (alphabase[1] - alphabase[0]) / 28)) in encodedxt5alpha()
885 writedxt5encodedalphablock( blkaddr, alphabase[0], alphabase[1], alphaenc2 ); in encodedxt5alpha()