Searched refs:alpha_code (Results 1 – 1 of 1) sorted by relevance
1536 alpha_code; in ReadDXT5Pixels() local1587 alpha_code = (size_t) (alpha_bits >> (3*(4*j+i))) & 0x7; in ReadDXT5Pixels()1588 if (alpha_code == 0) in ReadDXT5Pixels()1590 else if (alpha_code == 1) in ReadDXT5Pixels()1593 alpha = ((8-alpha_code) * a0 + (alpha_code-1) * a1) / 7; in ReadDXT5Pixels()1594 else if (alpha_code == 6) in ReadDXT5Pixels()1596 else if (alpha_code == 7) in ReadDXT5Pixels()1599 alpha = (((6-alpha_code) * a0 + (alpha_code-1) * a1) / 5); in ReadDXT5Pixels()