D | jpegut.c | 195 void gentestjpeg(tjhandle hnd, unsigned char *jpegbuf, unsigned long *size, in gentestjpeg() argument 222 _catch(tjCompress(hnd, bmpbuf, w, 0, h, ps, jpegbuf, size, subsamp, qual, flags)); in gentestjpeg() 234 void gentestbmp(tjhandle hnd, unsigned char *jpegbuf, unsigned long jpegsize, in gentestbmp() argument 252 _catch(tjDecompressHeader(hnd, jpegbuf, jpegsize, &_w, &_h)); in gentestbmp() 265 _catch(tjDecompress(hnd, jpegbuf, jpegsize, bmpbuf, w, w*ps, h, ps, flags)); in gentestbmp() 279 tjhandle hnd=NULL, dhnd=NULL; unsigned char *jpegbuf=NULL; in dotest() local 287 if((hnd=tjInitCompress())==NULL) in dotest() 292 gentestjpeg(hnd, jpegbuf, &size, w, h, ps, basefilename, subsamp, 100, 0); in dotest() 295 gentestjpeg(hnd, jpegbuf, &size, w, h, ps, basefilename, subsamp, 100, TJ_BGR); in dotest() 298 gentestjpeg(hnd, jpegbuf, &size, w, h, ps, basefilename, subsamp, 100, TJ_BOTTOMUP); in dotest() [all …]
|