• Home
  • Raw
  • Download

Lines Matching refs:alphabase

571    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()
709 alphadist = srccolors[j][i][3] - alphabase[0]; in encodedxt5alpha()
713 alphadist = srccolors[j][i][3] - (alphabase[0] * 4 + alphabase[1] * 1) / 5; in encodedxt5alpha()
717 alphadist = srccolors[j][i][3] - (alphabase[0] * 3 + alphabase[1] * 2) / 5; in encodedxt5alpha()
721 alphadist = srccolors[j][i][3] - (alphabase[0] * 2 + alphabase[1] * 3) / 5; in encodedxt5alpha()
725 alphadist = srccolors[j][i][3] - (alphabase[0] * 1 + alphabase[1] * 4) / 5; in encodedxt5alpha()
729 alphadist = srccolors[j][i][3] - alphabase[1]; in encodedxt5alpha()
748 …colors[j][i][3] > alphatest[1]) && (srccolors[j][i][3] < (255 -(alphabase[1] - alphabase[0]) / 28)… in encodedxt5alpha()
750 … ((srccolors[j][i][3] < alphatest[0]) && (srccolors[j][i][3] > (alphabase[1] - alphabase[0]) / 28)) in encodedxt5alpha()
882 writedxt5encodedalphablock( blkaddr, alphabase[0], alphabase[1], alphaenc2 ); in encodedxt5alpha()