Lines Matching defs:pixel
37 * XCB Image fast pixel ops.
44 * bits-per-pixel, and B is the endianness (if needed)
48 * Also note that the pixel type is chosen to be appropriate
58 int pixel)
64 uint8_t p = pixel << bit;
73 int pixel)
77 uint8_t p = pixel << bit;
108 uint8_t pixel)
110 image->data[x + y * image->stride] = pixel;
125 uint32_t pixel)
128 row[x << 2] = pixel >> 24;
129 row[(x << 2) + 1] = pixel >> 16;
130 row[(x << 2) + 2] = pixel >> 8;
131 row[(x << 2) + 3] = pixel;
138 uint32_t pixel)
141 row[x << 2] = pixel;
142 row[(x << 2) + 1] = pixel >> 8;
143 row[(x << 2) + 2] = pixel >> 16;
144 row[(x << 2) + 3] = pixel >> 24;
153 uint32_t pixel = row[x << 2] << 24;
154 pixel |= row[(x << 2) + 1] << 16;
155 pixel |= row[(x << 2) + 2] << 8;
156 return pixel | row[(x << 2) + 3];
165 uint32_t pixel = row[x << 2];
166 pixel |= row[(x << 2) + 1] << 8;
167 pixel |= row[(x << 2) + 2] << 16;
168 return pixel | row[(x << 2) + 3] << 24;