Lines Matching refs:pf
49 dotile=0, pf=TJPF_BGR, yuvpad=1, warmup=1, dowrite=1;
112 int ps=tjPixelSize[pf];
169 pitch, height, pf, flags)==-1)
175 width, pitch, height, pf, flags)==-1)
230 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf,
245 int rindex=index2+tjRedOffset[pf];
246 int gindex=index2+tjGreenOffset[pf];
247 int bindex=index2+tjBlueOffset[pf];
266 if(savebmp(tempstr, dstbuf, w, h, pf,
290 int ps=tjPixelSize[pf];
292 const char *pfStr=pixFormatStr[pf];
360 if(tjEncodeYUV3(handle, srcptr2, width, pitch, height, pf, yuvbuf,
370 if(tjCompress2(handle, srcptr2, width, pitch, height, pf,
495 int ps=tjPixelSize[pf], tile;
518 pf=TJPF_CMYK; ps=tjPixelSize[pf];
534 formatName(subsamp, cs, tempstr), pixFormatStr[pf],
571 printf("%-4s (%s) %-5s %-5s ", pixFormatStr[pf],
835 if(!strcasecmp(argv[i], "-rgb")) pf=TJPF_RGB;
836 if(!strcasecmp(argv[i], "-rgbx")) pf=TJPF_RGBX;
837 if(!strcasecmp(argv[i], "-bgr")) pf=TJPF_BGR;
838 if(!strcasecmp(argv[i], "-bgrx")) pf=TJPF_BGRX;
839 if(!strcasecmp(argv[i], "-xbgr")) pf=TJPF_XBGR;
840 if(!strcasecmp(argv[i], "-xrgb")) pf=TJPF_XRGB;
841 if(!strcasecmp(argv[i], "-cmyk")) pf=TJPF_CMYK;
940 if(loadbmp(argv[1], &srcbuf, &w, &h, pf, (flags&TJFLAG_BOTTOMUP)!=0)==-1)
976 if(pf!=TJPF_CMYK)