Searched refs:active_array_dimension (Results 1 – 7 of 7) sorted by relevance
/hardware/google/camera/common/hal/utils/ |
D | zoom_ratio_mapper.cc | 57 memcpy(&active_array_dimension_, ¶ms->active_array_dimension, in Initialize() 76 Dimension active_array_dimension = active_array_dimension_; in GetActiveArrayDimension() local 83 active_array_dimension = override_dimension; in GetActiveArrayDimension() 115 return active_array_dimension; in GetActiveArrayDimension() 118 return active_array_dimension; in GetActiveArrayDimension() 133 Dimension active_array_dimension = GetActiveArrayDimension( in UpdateCaptureRequest() local 135 ApplyZoomRatio(active_array_dimension, true, request->settings.get()); in UpdateCaptureRequest() 162 Dimension active_array_dimension = GetActiveArrayDimension( in UpdateCaptureResult() local 164 ApplyZoomRatio(active_array_dimension, false, result->result_metadata.get()); in UpdateCaptureResult() 179 void ZoomRatioMapper::ApplyZoomRatio(const Dimension& active_array_dimension, in ApplyZoomRatio() argument [all …]
|
D | utils.h | 99 void ConvertZoomRatio(float zoom_ratio, const Dimension& active_array_dimension, 105 void ClampBoundary(const Dimension& active_array_dimension, T* x, T* y, 112 static_cast<T>(active_array_dimension.width - 1)); 114 static_cast<T>(active_array_dimension.height - 1)); 118 static_cast<T>(active_array_dimension.width - *x)); 122 static_cast<T>(active_array_dimension.height - *y)); 129 const Dimension& active_array_dimension, 137 0.5f * active_array_dimension.width * (zoom_ratio - 1.0f); 139 0.5f * active_array_dimension.height * (zoom_ratio - 1.0f); 155 ClampBoundary(active_array_dimension, x, y, width, height);
|
D | zoom_ratio_mapper.h | 29 Dimension active_array_dimension; member 53 void ApplyZoomRatio(const Dimension& active_array_dimension, 59 const Dimension& active_array_dimension, 65 const Dimension& active_array_dimension, 71 const Dimension& active_array_dimension,
|
D | utils.cc | 456 const Dimension& active_array_dimension, int32_t* left, in ConvertZoomRatio() argument 465 *left = std::round(*left / zoom_ratio + 0.5f * active_array_dimension.width * in ConvertZoomRatio() 467 *top = std::round(*top / zoom_ratio + 0.5f * active_array_dimension.height * in ConvertZoomRatio() 473 utils::ClampBoundary(active_array_dimension, left, top, width, height); in ConvertZoomRatio()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedCameraDeviceSessionHWLImpl.cpp | 54 Dimension* active_array_dimension) const { in GetActiveArrayDimensionToBeUsed() 56 if (settings == nullptr || active_array_dimension == nullptr || in GetActiveArrayDimensionToBeUsed() 65 *active_array_dimension = dim_it->second.second; in GetActiveArrayDimensionToBeUsed() 70 *active_array_dimension = dim_it->second.first; in GetActiveArrayDimensionToBeUsed() 72 *active_array_dimension = dim_it->second.second; in GetActiveArrayDimensionToBeUsed()
|
D | EmulatedCameraDeviceSessionHWLImpl.h | 62 Dimension* active_array_dimension) const override;
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | camera_device_session.cc | 484 params.active_array_dimension = { in InitializeZoomRatioMapper() 513 Dimension active_array_dimension = { in InitializeZoomRatioMapper() local 517 active_array_dimension); in InitializeZoomRatioMapper()
|