Searched refs:active_array_dimension (Results 1 – 5 of 5) sorted by relevance
/hardware/google/camera/common/hal/utils/ |
D | utils.h | 70 void ConvertZoomRatio(float zoom_ratio, const Dimension& active_array_dimension, 76 void ClampBoundary(const Dimension& active_array_dimension, T* x, T* y, 83 static_cast<T>(active_array_dimension.width - 1)); 85 static_cast<T>(active_array_dimension.height - 1)); 89 static_cast<T>(active_array_dimension.width - *x)); 93 static_cast<T>(active_array_dimension.height - *y)); 100 const Dimension& active_array_dimension, 108 0.5f * active_array_dimension.width * (zoom_ratio - 1.0f); 110 0.5f * active_array_dimension.height * (zoom_ratio - 1.0f); 126 ClampBoundary(active_array_dimension, x, y, width, height);
|
D | zoom_ratio_mapper.h | 29 Dimension active_array_dimension; member 45 void ApplyZoomRatio(const Dimension& active_array_dimension, 51 const Dimension& active_array_dimension, 57 const Dimension& active_array_dimension, 63 const Dimension& active_array_dimension,
|
D | zoom_ratio_mapper.cc | 40 memcpy(&active_array_dimension_, ¶ms->active_array_dimension, in Initialize() 117 void ZoomRatioMapper::ApplyZoomRatio(const Dimension& active_array_dimension, in ApplyZoomRatio() argument 144 UpdateRects(zoom_ratio, tag_id, active_array_dimension, is_request, in ApplyZoomRatio() 149 UpdateWeightedRects(zoom_ratio, tag_id, active_array_dimension, is_request, in ApplyZoomRatio() 155 UpdatePoints(zoom_ratio, tag_id, active_array_dimension, metadata); in ApplyZoomRatio() 161 const Dimension& active_array_dimension, in UpdateRects() argument 181 utils::ConvertZoomRatio(zoom_ratio, active_array_dimension, &left, &top, in UpdateRects() 184 utils::RevertZoomRatio(zoom_ratio, active_array_dimension, true, &left, in UpdateRects() 204 const Dimension& active_array_dimension, const bool is_request, in UpdateWeightedRects() argument 229 utils::ConvertZoomRatio(zoom_ratio, active_array_dimension, &left, &top, in UpdateWeightedRects() [all …]
|
D | utils.cc | 362 const Dimension& active_array_dimension, int32_t* left, in ConvertZoomRatio() argument 371 *left = std::round(*left / zoom_ratio + 0.5f * active_array_dimension.width * in ConvertZoomRatio() 373 *top = std::round(*top / zoom_ratio + 0.5f * active_array_dimension.height * in ConvertZoomRatio() 379 utils::ClampBoundary(active_array_dimension, left, top, width, height); in ConvertZoomRatio()
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | camera_device_session.cc | 427 params.active_array_dimension = { in InitializeZoomRatioMapper() 451 Dimension active_array_dimension = { in InitializeZoomRatioMapper() local 455 active_array_dimension); in InitializeZoomRatioMapper()
|