libcamera: v4l2_controls: Remove V4L2ControlList class
The V4L2ControlList class only provides a convenience constructor for the ControlList, which can easily be moved to the ControlList class and may benefit it later (to construct a ControlList from controls supported by a camera). Move the constructor and remove V4L2ControlList. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -279,7 +279,7 @@ void PipelineHandlerVimc::stop(Camera *camera)
|
||||
|
||||
int PipelineHandlerVimc::processControls(VimcCameraData *data, Request *request)
|
||||
{
|
||||
V4L2ControlList controls(data->sensor_->controls());
|
||||
ControlList controls(data->sensor_->controls());
|
||||
|
||||
for (auto it : request->controls()) {
|
||||
const ControlId &id = *it.first;
|
||||
|
||||
Reference in New Issue
Block a user