Lines Matching refs:crop_left
130 void QCamera3CropRegionMapper::toActiveArray(int32_t& crop_left, int32_t& crop_top, in toActiveArray() argument
144 float left = crop_left * mActiveArrayW / mSensorW; in toActiveArray()
157 crop_left = std::round(left); in toActiveArray()
162 boundToSize(crop_left, crop_top, crop_width, crop_height, in toActiveArray()
181 void QCamera3CropRegionMapper::toSensor(int32_t& crop_left, int32_t& crop_top, in toSensor() argument
190 applyZoomRatioHelper(crop_left, crop_top, crop_width, crop_height, zoom_ratio, in toSensor()
211 void QCamera3CropRegionMapper::applyZoomRatioHelper(int32_t& crop_left, int32_t& crop_top, in applyZoomRatioHelper() argument
222 float left = crop_left / zoom_ratio + in applyZoomRatioHelper()
237 crop_left = std::round(left); in applyZoomRatioHelper()
243 crop_left, crop_top, crop_width, crop_height); in applyZoomRatioHelper()
244 boundToSize(crop_left, crop_top, crop_width, crop_height, in applyZoomRatioHelper()
248 crop_left, crop_top, crop_width, crop_height); in applyZoomRatioHelper()
265 void QCamera3CropRegionMapper::applyZoomRatio(int32_t& crop_left, int32_t& crop_top, in applyZoomRatio() argument
273 applyZoomRatioHelper(crop_left, crop_top, crop_width, crop_height, zoom_ratio, in applyZoomRatio()