Home | History | Annotate | Download | only in common

Lines Matching refs:FROMRGB

352 #define FROMRGB(PS, ROFFSET, GOFFSET, BOFFSET, SETALPHA) {  \
369 static void fromRGB(unsigned char *src, unsigned char *dst, int width,
376 FROMRGB(3, 0, 1, 2,);
381 FROMRGB(3, 2, 1, 0,);
386 FROMRGB(4, 0, 1, 2,);
391 FROMRGB(4, 0, 1, 2, dst[3]=0xFF;);
396 FROMRGB(4, 2, 1, 0,);
401 FROMRGB(4, 2, 1, 0, dst[3]=0xFF;); return;
406 FROMRGB(4, 1, 2, 3,); return;
411 FROMRGB(4, 1, 2, 3, dst[0]=0xFF;); return;
416 FROMRGB(4, 3, 2, 1,); return;
421 FROMRGB(4, 3, 2, 1, dst[0]=0xFF;); return;
836 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat);