mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 17:05:08 +03:00
libcamera: pipeline_handler: Drop controls() and properties() functions
The PipelineHandler controls() and properties() functions are only used by the Camera class. Now that the controls and properties are stored in the Camera::Private class, we can drop those functions and access the private data directly in Camera::controls() and Camera::properties(). Suggested-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
1815a0290f
commit
034b5d3699
3 changed files with 2 additions and 26 deletions
|
@ -46,9 +46,6 @@ public:
|
|||
bool lock();
|
||||
void unlock();
|
||||
|
||||
const ControlInfoMap &controls(const Camera *camera) const;
|
||||
const ControlList &properties(const Camera *camera) const;
|
||||
|
||||
virtual CameraConfiguration *generateConfiguration(Camera *camera,
|
||||
const StreamRoles &roles) = 0;
|
||||
virtual int configure(Camera *camera, CameraConfiguration *config) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue