Home
last modified time | relevance | path

Searched refs:alpha0 (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/opengl/libagl/
Ddxt.cpp471 uint64_t alpha0 = alpha & 0xff; in decodeDXT5() local
476 if (alpha0 != prev_alpha0 || alpha1 != prev_alpha1) { in decodeDXT5()
477 prev_alpha0 = alpha0; in decodeDXT5()
480 a[0] = alpha0; 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()
[all …]