Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching refs:rgbBuf

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