Lines Matching refs:alpha1
473 uint64_t alpha1 = alpha & 0xff; in decodeDXT5() local
476 if (alpha0 != prev_alpha0 || alpha1 != prev_alpha1) { in decodeDXT5()
478 prev_alpha1 = alpha1; in decodeDXT5()
481 a[1] = alpha1; in decodeDXT5()
482 int a01 = alpha0 + alpha1 - 1; in decodeDXT5()
483 if (alpha0 > alpha1) { in decodeDXT5()
484 a[2] = div7(6*alpha0 + alpha1); in decodeDXT5()
485 a[4] = div7(4*alpha0 + 3*alpha1); in decodeDXT5()
486 a[6] = div7(2*alpha0 + 5*alpha1); in decodeDXT5()
496 a[2] = div5(4*alpha0 + alpha1); in decodeDXT5()
497 a[4] = div5(2*alpha0 + 3*alpha1); in decodeDXT5()