libcamera/src/v4l2
Nejc Galof 5456e02d3f v4l2: Support setting frame rate in the V4L2 Adaptation layer
The V4L2 adaptation layer can already support streaming with components
such as OpenCV, however it is not accepting, or handling any requests to
configure the frame rate.

In V4L2 the frame rate is set by configuring the timeperframe component
of the v4l2_streamparm structure through the VIDIOC_S_PARM ioctl.

Extend the V4L2 compatibility layer to accept the VIDIOC_S_PARM ioctls
and provide an interface for setting controls on the V4L2Camera class to
set the requested rate when starting the camera.

Signed-off-by: Nejc Galof <galof.nejc@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
2024-09-10 22:17:28 +02:00
..
libcamerify.in v4l2: Provide libcamerify wrapper script 2022-02-04 09:39:46 +00:00
meson.build v4l2: meson: Keep defines sorted alphabetically 2024-03-27 23:20:52 +02:00
v4l2_camera.cpp v4l2: Support setting frame rate in the V4L2 Adaptation layer 2024-09-10 22:17:28 +02:00
v4l2_camera.h v4l2: Support setting frame rate in the V4L2 Adaptation layer 2024-09-10 22:17:28 +02:00
v4l2_camera_file.cpp libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
v4l2_camera_file.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
v4l2_camera_proxy.cpp v4l2: Support setting frame rate in the V4L2 Adaptation layer 2024-09-10 22:17:28 +02:00
v4l2_camera_proxy.h v4l2: Support setting frame rate in the V4L2 Adaptation layer 2024-09-10 22:17:28 +02:00
v4l2_compat.cpp libcamera: v4l2: Remove unused includes 2024-09-02 21:54:18 +03:00
v4l2_compat_manager.cpp libcamera: v4l2: Remove unused includes 2024-09-02 21:54:18 +03:00
v4l2_compat_manager.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00