libcamera/test/v4l2_videodevice
Laurent Pinchart 79ab0e925a libcamera: v4l2_device: Simplify usage of getControls()
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>
2020-04-28 20:44:48 +03:00
..
buffer_cache.cpp libcamera: PixelFormat: Make constructor explicit 2020-03-18 18:02:40 +01:00
buffer_sharing.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
capture_async.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
controls.cpp libcamera: v4l2_device: Simplify usage of getControls() 2020-04-28 20:44:48 +03:00
double_open.cpp libcamera: Rename V4L2Device to V4L2VideoDevice 2019-06-19 15:46:44 +02:00
formats.cpp libcamera: v4l2PixelFormat: Replace hex with fourCC 2020-03-27 15:17:30 +00:00
meson.build test: v4l2_videodevice: Add test for V4L2BufferCache 2020-03-06 17:45:48 +01:00
request_buffers.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
stream_on_off.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
v4l2_m2mdevice.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
v4l2_videodevice_test.cpp libcamera: v4l2_videodevice: Make V4L2PixelFormat constructor explicit 2020-03-19 17:14:21 +02:00
v4l2_videodevice_test.h test: v4l2_videodevice: Switch to FrameBuffer interface 2020-01-12 16:10:37 +01:00