libcamera/src
Barnabás Pőcze 8b2533d0ac libcamera: pipeline: uvcvideo: Fix ExposureTimeMode control setting
The mapping in `UVCCameraData::processControl()` is not entirely correct
because the control value is retrieved as a `bool` instead of `int32_t`.
Additionally, the available modes are not taken into account.

Retrieve the control value with the right type, `int32_t`, check if the
requested mode is available, and if so, set the appropriate V4L2 control
value selected by `addControl()` earlier.

Fixes: bad8d591f8 ("libcamera: uvcvideo: Register ExposureTimeMode control")
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
2025-04-01 16:13:00 +02:00
..
android meson: Don't unnecessarily fallback to libyuv wrap 2024-11-26 19:05:17 +02:00
apps apps: cam: Highlight default enumerator 2025-03-21 16:40:50 +01:00
gstreamer gstreamer: Add Y444 format support to the YUV list 2025-03-19 08:59:47 +00:00
ipa libcamera: software_isp: Reset stored exposure in black level 2025-04-01 10:47:39 +03:00
libcamera libcamera: pipeline: uvcvideo: Fix ExposureTimeMode control setting 2025-04-01 16:13:00 +02:00
py libcamera: camera_manager: Take camera id in std::string_view 2025-04-01 12:08:24 +02:00
v4l2 meson: Convert v4l2 into a feature option 2025-01-10 12:35:10 +01:00
meson.build libcamera: meson: Fix libyuv detection 2025-03-01 22:36:24 +00:00