Lines Matching refs:crop_width
131 int32_t& crop_width, int32_t& crop_height, float zoom_ratio) in toActiveArray() argument
146 float width = crop_width * mActiveArrayW / mSensorW; in toActiveArray()
159 crop_width = std::round(width); in toActiveArray()
162 boundToSize(crop_left, crop_top, crop_width, crop_height, in toActiveArray()
182 int32_t& crop_width, int32_t& crop_height, float zoom_ratio) in toSensor() argument
190 applyZoomRatioHelper(crop_left, crop_top, crop_width, crop_height, zoom_ratio, in toSensor()
212 int32_t& crop_width, int32_t& crop_height, float zoom_ratio, bool to_sensor) in applyZoomRatioHelper() argument
226 float width = crop_width / zoom_ratio; in applyZoomRatioHelper()
239 crop_width = std::round(width); 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()
266 int32_t& crop_width, int32_t& crop_height, float zoom_ratio) in applyZoomRatio() argument
273 applyZoomRatioHelper(crop_left, crop_top, crop_width, crop_height, zoom_ratio, in applyZoomRatio()