Home | History | Annotate | Download | only in libagl

Lines Matching refs:b2

103     int b2 = (x >>  8) & 0xff;
106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0);
167 // bits: b31 b30 b29 ... b3 b2 b1 b0
168 // bits >> 1: b31 b31 b30 ... b4 b3 b2 b1
169 // &: b31 (b31 & b30) (b29 & b28) ... (b2 & b1) (b1 & b0)
251 int r2, g2, b2, r3, g3, b3, a3;
261 b2 = avg23(b0, b1);
270 b2 = (b0 + b1) >> 1;
276 (b2 << 1) | 0x1;
280 c[2] = (r2 << 11) | (g2 << 5) | b2;
375 int b2 = avg23(b0, b1);
383 c[2] = rgb565SepTo888(r2, g2, b2);
532 int b2 = avg23(b0, b1);
540 c[2] = rgb565SepTo888(r2, g2, b2);