Lines Matching defs:mask
549 int mask = (a[i]&0xFF) + ((r[i]&0xFF)*0x100) + ((g[i]&0xFF)*0x10000) + ((b[i]&0xFF)*0x1000000);
550 stream.writeInt(mask);
1485 * mask is 0x001F, the green mask is 0x03E0, and the red mask
1486 * is 0x7C00; and a 5-6-5 16-bit image, where the blue mask
1487 * is 0x001F, the green mask is 0x07E0, and the red mask is
1513 protected void writeMaskToPalette(int mask, int i,
1515 b[i] = (byte)(0xff & (mask >> 24));
1516 g[i] = (byte)(0xff & (mask >> 16));
1517 r[i] = (byte)(0xff & (mask >> 8));
1518 a[i] = (byte)(0xff & mask);