summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/camera.cpp4
-rw-r--r--src/libcamera/pipeline_handler.cpp21
2 files changed, 2 insertions, 23 deletions
diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
index a22cc7b8..c20e0501 100644
--- a/src/libcamera/camera.cpp
+++ b/src/libcamera/camera.cpp
@@ -800,7 +800,7 @@ int Camera::release()
*/
const ControlInfoMap &Camera::controls() const
{
- return _d()->pipe_->controls(this);
+ return _d()->controlInfo_;
}
/**
@@ -813,7 +813,7 @@ const ControlInfoMap &Camera::controls() const
*/
const ControlList &Camera::properties() const
{
- return _d()->pipe_->properties(this);
+ return _d()->properties_;
}
/**
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index 62d29cbe..597d4c6a 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -177,27 +177,6 @@ void PipelineHandler::unlock()
}
/**
- * \brief Retrieve the list of controls for a camera
- * \param[in] camera The camera
- * \context This function is \threadsafe.
- * \return A ControlInfoMap listing the controls support by \a camera
- */
-const ControlInfoMap &PipelineHandler::controls(const Camera *camera) const
-{
- return camera->_d()->controlInfo_;
-}
-
-/**
- * \brief Retrieve the list of properties for a camera
- * \param[in] camera The camera
- * \return A ControlList of properties supported by \a camera
- */
-const ControlList &PipelineHandler::properties(const Camera *camera) const
-{
- return camera->_d()->properties_;
-}
-
-/**
* \fn PipelineHandler::generateConfiguration()
* \brief Generate a camera configuration for a specified camera
* \param[in] camera The camera to generate a default configuration for