Lines Matching refs:rgbBuf
772 unsigned char *rgbBuf=NULL; in tjCompress2() local
796 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjCompress2()
797 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
798 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjCompress2()
837 if(rgbBuf) free(rgbBuf); in tjCompress2()
879 unsigned char *rgbBuf=NULL; in tjEncodeYUVPlanes() local
915 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjEncodeYUVPlanes()
916 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
917 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjEncodeYUVPlanes()
1014 if(rgbBuf) free(rgbBuf); in tjEncodeYUVPlanes()
1382 unsigned char *rgbBuf=NULL; in tjDecompress2() local
1440 rgbBuf=(unsigned char *)malloc(width*height*3); in tjDecompress2()
1441 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
1443 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecompress2()
1464 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat); in tjDecompress2()
1470 if(rgbBuf) free(rgbBuf); in tjDecompress2()
1554 unsigned char *rgbBuf=NULL; in tjDecodeYUVPlanes() local
1628 rgbBuf=(unsigned char *)malloc(width*height*3); in tjDecodeYUVPlanes()
1629 if(!rgbBuf) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1631 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecodeYUVPlanes()
1686 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat); in tjDecodeYUVPlanes()
1692 if(rgbBuf) free(rgbBuf); in tjDecodeYUVPlanes()