The V4L2Device::getControls() function takes a ControlList that needs to be pre-populated with dummy entries for the controls that need to be read. This is a cumbersome API, especially when reading a single control. Make it nicer by passing the list of V4L2 controls as a vector of control IDs, and returning a ControlList. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> |
||
---|---|---|
.. | ||
buffer_cache.cpp | ||
buffer_sharing.cpp | ||
capture_async.cpp | ||
controls.cpp | ||
double_open.cpp | ||
formats.cpp | ||
meson.build | ||
request_buffers.cpp | ||
stream_on_off.cpp | ||
v4l2_m2mdevice.cpp | ||
v4l2_videodevice_test.cpp | ||
v4l2_videodevice_test.h |