Lines Matching refs:_tmpbuf
872 JSAMPLE *_tmpbuf[MAX_COMPONENTS], *_tmpbuf2[MAX_COMPONENTS]; in tjEncodeYUVPlanes() local
886 tmpbuf[i]=NULL; _tmpbuf[i]=NULL; in tjEncodeYUVPlanes()
960 _tmpbuf[i]=(JSAMPLE *)malloc( in tjEncodeYUVPlanes()
963 if(!_tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
969 (unsigned char *)PAD((size_t)_tmpbuf[i], 16); in tjEncodeYUVPlanes()
1020 if(_tmpbuf[i]!=NULL) free(_tmpbuf[i]); in tjEncodeYUVPlanes()
1090 JSAMPLE *_tmpbuf=NULL, *ptr; JSAMPROW *tmpbuf[MAX_COMPONENTS]; in tjCompressFromYUVPlanes() local
1157 if((_tmpbuf=(JSAMPLE *)malloc(sizeof(JSAMPLE)*tmpbufsize))==NULL) in tjCompressFromYUVPlanes()
1159 ptr=_tmpbuf; in tjCompressFromYUVPlanes()
1209 if(_tmpbuf) free(_tmpbuf); in tjCompressFromYUVPlanes()
1548 JSAMPLE *_tmpbuf[MAX_COMPONENTS]; in tjDecodeYUVPlanes() local
1564 tmpbuf[i]=NULL; _tmpbuf[i]=NULL; inbuf[i]=NULL; in tjDecodeYUVPlanes()
1648 _tmpbuf[i]=(JSAMPLE *)malloc(PAD(compptr->width_in_blocks*DCTSIZE, 16) in tjDecodeYUVPlanes()
1650 if(!_tmpbuf[i]) _throw("tjDecodeYUVPlanes(): Memory allocation failure"); in tjDecodeYUVPlanes()
1656 (unsigned char *)PAD((size_t)_tmpbuf[i], 16); in tjDecodeYUVPlanes()
1698 if(_tmpbuf[i]!=NULL) free(_tmpbuf[i]); in tjDecodeYUVPlanes()
1749 JSAMPLE *_tmpbuf=NULL, *ptr; JSAMPROW *tmpbuf[MAX_COMPONENTS]; in tjDecompressToYUVPlanes() local
1837 if((_tmpbuf=(JSAMPLE *)malloc(sizeof(JSAMPLE)*tmpbufsize))==NULL) in tjDecompressToYUVPlanes()
1839 ptr=_tmpbuf; in tjDecompressToYUVPlanes()
1910 if(_tmpbuf) free(_tmpbuf); in tjDecompressToYUVPlanes()