Lines Matching refs:xShift
132 float xShift = 0; in updateCaptureRequest() local
138 xShift = cw; in updateCaptureRequest()
151 xShift = (cw + rw) / 2; // left edge of crop to right edge of rotated in updateCaptureRequest()
157 xShift = (cw - rw) / 2; // left edge of crop to left edge of rotated in updateCaptureRequest()
173 transformPoints(entry.data.i32 + i, 2, transformMat, xShift, yShift, cx, cy); in updateCaptureRequest()
256 float xShift = 0; in updateCaptureResult() local
263 xShift = cw; in updateCaptureResult()
280 xShift = -(cw - rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()
286 xShift = (cw + rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()
302 transformPoints(entry.data.i32 + i, 2, transformMat, xShift, yShift, rx, ry); in updateCaptureResult()
309 transformPoints(entry.data.i32, entry.count / 2, transformMat, xShift, yShift, rx, ry); in updateCaptureResult()
321 float xShift, float yShift, float ox, float oy) { in transformPoints() argument
325 int32_t nx = std::round(transformMat[0] * x0 + transformMat[1] * y0 + xShift + ox); in transformPoints()