Lines Matching refs:toRGB
381 #define TORGB(PS, ROFFSET, GOFFSET, BOFFSET) { \
397 static unsigned char *toRGB(unsigned char *src, int width, int pitch,
405 retval=dst; TORGB(3, 0, 1, 2);
410 retval=dst; TORGB(3, 2, 1, 0);
416 retval=dst; TORGB(4, 0, 1, 2);
422 retval=dst; TORGB(4, 2, 1, 0);
428 retval=dst; TORGB(4, 1, 2, 3);
434 retval=dst; TORGB(4, 3, 2, 1);
763 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
880 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);