mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 16:45:07 +03:00
libcamera: controls: Rename ControlRange to ControlInfo
To prepare for storage of additional information in the ControlRange structure, rename it to ControlInfo. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
73b7ba9da5
commit
e5a9e6e9cd
15 changed files with 100 additions and 101 deletions
|
@ -41,9 +41,9 @@ protected:
|
|||
return TestFail;
|
||||
}
|
||||
|
||||
const ControlRange &brightness = infoMap.find(V4L2_CID_BRIGHTNESS)->second;
|
||||
const ControlRange &contrast = infoMap.find(V4L2_CID_CONTRAST)->second;
|
||||
const ControlRange &saturation = infoMap.find(V4L2_CID_SATURATION)->second;
|
||||
const ControlInfo &brightness = infoMap.find(V4L2_CID_BRIGHTNESS)->second;
|
||||
const ControlInfo &contrast = infoMap.find(V4L2_CID_CONTRAST)->second;
|
||||
const ControlInfo &saturation = infoMap.find(V4L2_CID_SATURATION)->second;
|
||||
|
||||
/* Test getting controls. */
|
||||
ControlList ctrls(infoMap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue