Lines Matching refs:rgbBuf
737 unsigned char *rgbBuf=NULL; in tjCompress2() local
761 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjCompress2()
762 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
763 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjCompress2()
801 if(rgbBuf) free(rgbBuf); in tjCompress2()
842 unsigned char *rgbBuf=NULL; in tjEncodeYUVPlanes() local
878 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjEncodeYUVPlanes()
879 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
880 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjEncodeYUVPlanes()
976 if(rgbBuf) free(rgbBuf); in tjEncodeYUVPlanes()
1342 unsigned char *rgbBuf=NULL; in tjDecompress2() local
1400 rgbBuf=(unsigned char *)malloc(width*height*3); in tjDecompress2()
1401 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
1403 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecompress2()
1424 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat); in tjDecompress2()
1430 if(rgbBuf) free(rgbBuf); in tjDecompress2()
1513 unsigned char *rgbBuf=NULL; in tjDecodeYUVPlanes() local
1587 rgbBuf=(unsigned char *)malloc(width*height*3); in tjDecodeYUVPlanes()
1588 if(!rgbBuf) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1590 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecodeYUVPlanes()
1645 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat); in tjDecodeYUVPlanes()
1651 if(rgbBuf) free(rgbBuf); in tjDecodeYUVPlanes()