unsigned char *rgbBuf=NULL;
#endif
+ getinstance(handle);
+
for(i=0; i<MAX_COMPONENTS; i++)
{
tmpbuf[i]=NULL; _tmpbuf[i]=NULL;
tmpbuf2[i]=NULL; _tmpbuf2[i]=NULL; outbuf[i]=NULL;
}
- getinstance(handle);
if((this->init&COMPRESS)==0)
_throw("tjEncodeYUV2(): Instance has not been initialized for compression");
tmpbufsize=0, usetmpbuf=0, th[MAX_COMPONENTS];
JSAMPLE *_tmpbuf=NULL, *ptr=dstBuf; JSAMPROW *tmpbuf[MAX_COMPONENTS];
+ getinstance(handle);
+
for(i=0; i<MAX_COMPONENTS; i++)
{
tmpbuf[i]=NULL; outbuf[i]=NULL;
}
- getinstance(handle);
if((this->init&DECOMPRESS)==0)
_throw("tjDecompressToYUV(): Instance has not been initialized for decompression");