tjbench.c | 91 int subsamp, int jpegqual, char *filename, int tilew, int tileh) 98 int yuvsize=tjBufSizeYUV(w, h, subsamp), bufsize; 173 snprintf(tempstr, 1024, "%s_%s%s.yuv", filename, subName[subsamp], 191 snprintf(tempstr, 1024, "%s_%s%s_%s.%s", filename, subName[subsamp], 201 if(subsamp==TJ_GRAYSCALE) 242 void dotestyuv(unsigned char *srcbuf, int w, int h, int subsamp, 252 yuvsize=tjBufSizeYUV(w, h, subsamp); 258 (flags&TJFLAG_BOTTOMUP)? "Bottom-up":"Top-down", subNameLong[subsamp]); 262 (flags&TJFLAG_BOTTOMUP)? "BU":"TD", subNameLong[subsamp]); 268 if(tjEncodeYUV2(handle, srcbuf, w, 0, h, pf, dstbuf, subsamp, flags)==-1 470 int w=0, h=0, subsamp=-1, _w, _h, _tilew, _tileh, local 726 int minarg=2, retval=0, subsamp=-1; local [all...] |