Home | History | Annotate | Download | only in libjpeg_turbo

Lines Matching refs:_throw

65 #define _throw(c) {sprintf(lasterror, "%s", c);  return -1;}
68 if(!j) _throw("Invalid handle");
126 _throw("Invalid argument in tjCompress()");
127 if(ps!=3 && ps!=4) _throw("This compressor can only take 24-bit or 32-bit RGB input");
128 if(!j->initc) _throw("Instance has not been initialized for compression");
182 _throw("Memory allocation failed in tjInitCompress()");
256 _throw("Invalid argument in tjDecompressHeader()");
257 if(!j->initd) _throw("Instance has not been initialized for decompression");
273 if(*width<1 || *height<1) _throw("Invalid data returned in header");
289 _throw("Invalid argument in tjDecompress()");
290 if(ps!=3 && ps!=4) _throw("This compressor can only take 24-bit or 32-bit RGB input");
291 if(!j->initd) _throw("Instance has not been initialized for decompression");
311 _throw("Memory allocation failed in tjInitDecompress()");