Lines Matching refs:b2
103 int b2 = (x >> 8) & 0xff; in swap() local
106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0); in swap()
251 int r2, g2, b2, r3, g3, b3, a3; in decodeDXT1() local
261 b2 = avg23(b0, b1); in decodeDXT1()
270 b2 = (b0 + b1) >> 1; in decodeDXT1()
276 (b2 << 1) | 0x1; in decodeDXT1()
280 c[2] = (r2 << 11) | (g2 << 5) | b2; in decodeDXT1()
375 int b2 = avg23(b0, b1); in decodeDXT3() local
383 c[2] = rgb565SepTo888(r2, g2, b2); in decodeDXT3()
532 int b2 = avg23(b0, b1); in decodeDXT5() local
540 c[2] = rgb565SepTo888(r2, g2, b2); in decodeDXT5()