Home | History | Annotate | Download | only in test

Lines Matching refs:pf

47 int flags=0, decomponly=0, quiet=0, dotile=0, pf=TJPF_BGR;
86 int ps=tjPixelSize[pf];
116 pitch, scaledh, pf, flags)==-1)
130 pitch, height, pf, flags)==-1)
160 if(savebmp(tempstr, dstbuf, scaledw, scaledh, bmpPF[pf], pitch,
175 int rindex=index2+tjRedOffset[pf];
176 int gindex=index2+tjGreenOffset[pf];
177 int bindex=index2+tjBlueOffset[pf];
195 if(savebmp(tempstr, dstbuf, w, h, bmpPF[pf], pitch,
217 int ps=tjPixelSize[pf], ntilesw=1, ntilesh=1, pitch=w*ps;
223 printf(">>>>> %s (%s) <--> JPEG %s Q%d <<<<<\n", pixFormatStr[pf],
250 printf("%s\t%s\t%s\t%d\t", pixFormatStr[pf],
258 if(tjCompress2(handle, srcbuf, tilew, pitch, tileh, pf, &jpegbuf[0],
274 if(tjCompress2(handle, srcptr2, width, pitch, height, pf,
390 pixFormatStr[pf], (flags&TJFLAG_BOTTOMUP)? "Bottom-up":"Top-down");
425 printf("%s\t%s\t%s\t", pixFormatStr[pf],
576 if(!strcasecmp(argv[i], "-rgb")) pf=TJPF_RGB;
577 if(!strcasecmp(argv[i], "-rgbx")) pf=TJPF_RGBX;
578 if(!strcasecmp(argv[i], "-bgr")) pf=TJPF_BGR;
579 if(!strcasecmp(argv[i], "-bgrx")) pf=TJPF_BGRX;
580 if(!strcasecmp(argv[i], "-xbgr")) pf=TJPF_XBGR;
581 if(!strcasecmp(argv[i], "-xrgb")) pf=TJPF_XRGB;
622 if(loadbmp(argv[1], &srcbuf, &w, &h, bmpPF[pf], 1,