Searched refs:jpegsize (Results 1 – 2 of 2) sorted by relevance
/external/libvncserver/test/ |
D | tjbench.c | 79 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, in decomptest() argument 115 if(tjDecompress2(handle, jpegbuf[0], jpegsize[0], dstbuf, scaledw, in decomptest() 129 if(tjDecompress2(handle, jpegbuf[tile], jpegsize[tile], dstptr2, width, in decomptest() 216 unsigned long *jpegsize=NULL; in dotest() local 236 if((jpegsize=(unsigned long *)malloc(sizeof(unsigned long) in dotest() 239 memset(jpegsize, 0, sizeof(unsigned long)*ntilesw*ntilesh); in dotest() 259 &jpegsize[0], subsamp, jpegqual, flags)==-1) in dotest() 275 &jpegbuf[tile], &jpegsize[tile], subsamp, jpegqual, flags)==-1) in dotest() 277 totaljpegsize+=jpegsize[tile]; in dotest() 313 if(fwrite(jpegbuf[0], jpegsize[0], 1, file)!=1) in dotest() [all …]
|
/external/libjpeg-turbo/ |
D | tjbench.c | 105 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, in decomp() argument 164 if(tjDecompressToYUV2(handle, jpegbuf[tile], jpegsize[tile], yuvbuf, in decomp() 174 if(tjDecompress2(handle, jpegbuf[tile], jpegsize[tile], dstptr2, in decomp() 285 unsigned long *jpegsize=NULL; in fullTest() local 307 if((jpegsize=(unsigned long *)malloc(sizeof(unsigned long) in fullTest() 310 memset(jpegsize, 0, sizeof(unsigned long)*ntilesw*ntilesh); in fullTest() 360 subsamp, &jpegbuf[tile], &jpegsize[tile], jpegqual, flags)==-1) in fullTest() 366 &jpegbuf[tile], &jpegsize[tile], subsamp, jpegqual, flags)==-1) in fullTest() 369 totaljpegsize+=jpegsize[tile]; in fullTest() 431 if(fwrite(jpegbuf[0], jpegsize[0], 1, file)!=1) in fullTest() [all …]
|