Lines Matching refs:xform
165 tjtransform xform; in main() local
176 memset(&xform, 0, sizeof(tjtransform)); in main()
215 xform.options |= TJXOPT_GRAY; in main()
217 xform.op = TJXOP_HFLIP; in main()
219 xform.op = TJXOP_VFLIP; in main()
221 xform.op = TJXOP_TRANSPOSE; in main()
223 xform.op = TJXOP_TRANSVERSE; in main()
225 xform.op = TJXOP_ROT90; in main()
227 xform.op = TJXOP_ROT180; in main()
229 xform.op = TJXOP_ROT270; in main()
231 xform.customFilter = customFilter; in main()
233 if (sscanf(argv[++i], "%dx%d+%d+%d", &xform.r.w, &xform.r.h, &xform.r.x, in main()
234 &xform.r.y) < 4 || in main()
235 xform.r.x < 0 || xform.r.y < 0 || xform.r.w < 1 || xform.r.h < 1) in main()
237 xform.options |= TJXOPT_CROP; in main()
263 int doTransform = (xform.op != TJXOP_NONE || xform.options != 0 || in main()
264 xform.customFilter != NULL); in main()
289 xform.options |= TJXOPT_TRIM; in main()
291 &xform, flags) < 0) in main()