Lines Matching refs:rgbBuf

763 	unsigned char *rgbBuf=NULL;  in tjCompress2()  local
787 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjCompress2()
788 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
789 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjCompress2()
828 if(rgbBuf) free(rgbBuf); in tjCompress2()
870 unsigned char *rgbBuf=NULL; in tjEncodeYUVPlanes() local
906 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjEncodeYUVPlanes()
907 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
908 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjEncodeYUVPlanes()
1005 if(rgbBuf) free(rgbBuf); in tjEncodeYUVPlanes()
1373 unsigned char *rgbBuf=NULL; in tjDecompress2() local
1431 rgbBuf=(unsigned char *)malloc(width*height*3); in tjDecompress2()
1432 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
1434 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecompress2()
1455 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat); in tjDecompress2()
1461 if(rgbBuf) free(rgbBuf); in tjDecompress2()
1545 unsigned char *rgbBuf=NULL; in tjDecodeYUVPlanes() local
1619 rgbBuf=(unsigned char *)malloc(width*height*3); in tjDecodeYUVPlanes()
1620 if(!rgbBuf) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1622 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecodeYUVPlanes()
1677 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat); in tjDecodeYUVPlanes()
1683 if(rgbBuf) free(rgbBuf); in tjDecodeYUVPlanes()