Lines Matching refs:cw
76 int32_t cw = mArrayWidth; in updateCaptureRequest() local
82 cw = entry.data.i32[2]; in updateCaptureRequest()
129 float cropAspect = static_cast<float>(cw) / ch; in updateCaptureRequest()
138 xShift = cw; in updateCaptureRequest()
143 cw; // letterbox or 1:1, full width in updateCaptureRequest()
146 cw / mRotateAspect; // letterbox, not full height in updateCaptureRequest()
150 transformMat[2] = rh / cw; // +x -> +y in updateCaptureRequest()
151 xShift = (cw + rw) / 2; // left edge of crop to right edge of rotated in updateCaptureRequest()
156 transformMat[2] = -rh / cw; // +x -> -y in updateCaptureRequest()
157 xShift = (cw - rw) / 2; // left edge of crop to left edge of rotated in updateCaptureRequest()
192 int32_t cw = mArrayWidth; in updateCaptureResult() local
198 cw = entry.data.i32[2]; in updateCaptureResult()
253 float cropAspect = static_cast<float>(cw) / ch; in updateCaptureResult()
263 xShift = cw; in updateCaptureResult()
270 cw; // letterbox or 1:1, full width in updateCaptureResult()
273 cw / mRotateAspect; // letterbox, not full height in updateCaptureResult()
274 rx = cx + (cw - rw) / 2; in updateCaptureResult()
279 transformMat[2] = -cw / rh; // +x -> -y in updateCaptureResult()
280 xShift = -(cw - rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()
285 transformMat[2] = cw / rh; // +x -> +y in updateCaptureResult()
286 xShift = (cw + rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()