Home
last modified time | relevance | path

Searched refs:rgbBuf (Results 1 – 2 of 2) sorted by relevance

/external/libvncserver/common/
Dturbojpeg.c544 unsigned char *rgbBuf=NULL; in tjCompress2() local
568 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjCompress2()
569 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
570 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjCompress2()
608 if(rgbBuf) free(rgbBuf); in tjCompress2()
753 unsigned char *rgbBuf=NULL; in tjDecompress2() local
812 rgbBuf=(unsigned char *)malloc(width*height*3); in tjDecompress2()
813 if(!rgbBuf) _throw("tjDecompress2(): Memory allocation failure"); in tjDecompress2()
815 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecompress2()
836 fromRGB(rgbBuf, _dstBuf, width, _pitch, height, pixelFormat); in tjDecompress2()
[all …]
/external/libjpeg-turbo/
Dturbojpeg.c772 unsigned char *rgbBuf=NULL; in tjCompress2() local
789 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjCompress2()
790 if(!rgbBuf) _throw("tjCompress2(): Memory allocation failure"); in tjCompress2()
791 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
908 rgbBuf=(unsigned char *)malloc(width*height*RGB_PIXELSIZE); in tjEncodeYUVPlanes()
909 if(!rgbBuf) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
910 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); in tjEncodeYUVPlanes()
1019 if(rgbBuf) free(rgbBuf); in tjEncodeYUVPlanes()
[all …]