libcamera: request: Fix documentation of controls() method
The documentation of the controls() method refers to the methods
ControlList::operator[]() and ControlList::update(), which do not exist.
Instead refer to ControlList::get() and ControlList::set() to achieve a
similar documentation.
Fixes: a8c40942b9
("libcamera: controls: Improve the API towards applications")
Signed-off-by: Marian Cichy <m.cichy@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
79b48225ad
commit
f908d49cce
1 changed files with 2 additions and 2 deletions
|
@ -138,8 +138,8 @@ void Request::reuse(ReuseFlag flags)
|
||||||
*
|
*
|
||||||
* Requests store a list of controls to be applied to all frames captured for
|
* Requests store a list of controls to be applied to all frames captured for
|
||||||
* the request. They are created with an empty list of controls that can be
|
* the request. They are created with an empty list of controls that can be
|
||||||
* accessed through this method and updated with ControlList::operator[]() or
|
* accessed through this method. Control values can be retrieved using
|
||||||
* ControlList::update().
|
* ControlList::get() and updated using ControlList::set().
|
||||||
*
|
*
|
||||||
* Only controls supported by the camera to which this request will be
|
* Only controls supported by the camera to which this request will be
|
||||||
* submitted shall be included in the controls list. Attempting to add an
|
* submitted shall be included in the controls list. Attempting to add an
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue