Lines Matching defs:px
202 #define EXTRACT_ARGB32(px,a,r,g,b) \
204 a = ((px) & 0xff000000) >> 24; \
205 r = ((px) & 0x00ff0000) >> 16; \
206 g = ((px) & 0x0000ff00) >> 8; \
207 b = ((px) & 0x000000ff);
209 #define ASSEMBLE_ARGB32(px,a,r,g,b) \
210 guint32 px = (a << 24) | (r << 16) | (g << 8) | b;
226 inline void ExtractARGB32(guint32 px, guint32 &a, guint32 &r, guint32 &g, guint &b)
228 a = ((px) & 0xff000000) >> 24;
229 r = ((px) & 0x00ff0000) >> 16;
230 g = ((px) & 0x0000ff00) >> 8;
231 b = ((px) & 0x000000ff);
234 inline void ExtractRGB32(guint32 px, guint32 &r, guint32 &g, guint &b)
236 r = ((px) & 0x00ff0000) >> 16;
237 g = ((px) & 0x0000ff00) >> 8;
238 b = ((px) & 0x000000ff);