Lines Matching refs:xinfo
1893 jpeg_transform_info *xinfo = NULL; in tjTransform() local
1921 if ((xinfo = in tjTransform()
1924 MEMZERO(xinfo, sizeof(jpeg_transform_info) * n); in tjTransform()
1934 xinfo[i].transform = xformtypes[t[i].op]; in tjTransform()
1935 xinfo[i].perfect = (t[i].options & TJXOPT_PERFECT) ? 1 : 0; in tjTransform()
1936 xinfo[i].trim = (t[i].options & TJXOPT_TRIM) ? 1 : 0; in tjTransform()
1937 xinfo[i].force_grayscale = (t[i].options & TJXOPT_GRAY) ? 1 : 0; in tjTransform()
1938 xinfo[i].crop = (t[i].options & TJXOPT_CROP) ? 1 : 0; in tjTransform()
1939 if (n != 1 && t[i].op == TJXOP_HFLIP) xinfo[i].slow_hflip = 1; in tjTransform()
1940 else xinfo[i].slow_hflip = 0; in tjTransform()
1942 if (xinfo[i].crop) { in tjTransform()
1943 xinfo[i].crop_xoffset = t[i].r.x; xinfo[i].crop_xoffset_set = JCROP_POS; in tjTransform()
1944 xinfo[i].crop_yoffset = t[i].r.y; xinfo[i].crop_yoffset_set = JCROP_POS; in tjTransform()
1946 xinfo[i].crop_width = t[i].r.w; xinfo[i].crop_width_set = JCROP_POS; in tjTransform()
1948 xinfo[i].crop_width = JCROP_UNSET; in tjTransform()
1950 xinfo[i].crop_height = t[i].r.h; xinfo[i].crop_height_set = JCROP_POS; in tjTransform()
1952 xinfo[i].crop_height = JCROP_UNSET; in tjTransform()
1964 if (!jtransform_request_workspace(dinfo, &xinfo[i])) in tjTransform()
1967 if (xinfo[i].crop) { in tjTransform()
1968 if ((t[i].r.x % xinfo[i].iMCU_sample_width) != 0 || in tjTransform()
1969 (t[i].r.y % xinfo[i].iMCU_sample_height) != 0) { in tjTransform()
1973 xinfo[i].iMCU_sample_width, xinfo[i].iMCU_sample_height); in tjTransform()
1985 if (!xinfo[i].crop) { in tjTransform()
1988 w = xinfo[i].crop_width; h = xinfo[i].crop_height; in tjTransform()
1996 dstcoefs = jtransform_adjust_parameters(dinfo, cinfo, srccoefs, &xinfo[i]); in tjTransform()
2005 jtransform_execute_transformation(dinfo, cinfo, srccoefs, &xinfo[i]); in tjTransform()
2046 free(xinfo); in tjTransform()