Home | History | Annotate | Download | only in common

Lines Matching refs:rgbBuf

544 	unsigned char *rgbBuf=NULL;
568 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE);
569 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure");
570 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf);
608 if(rgbBuf) free(rgbBuf);
753 unsigned char *rgbBuf=NULL;
812 rgbBuf=(unsigned char *)malloc(width*height*3);
813 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure");
815 _dstBuf=dstBuf; dstBuf=rgbBuf;
836 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat);
842 if(rgbBuf) free(rgbBuf);