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