[PATCH v5 0/2] Add U16 & U32 support in controls
Harvey Yang
chenghaoyang at chromium.org
Tue Oct 29 17:07:11 CET 2024
Hi folks,
This series of patches adds Unsigned int 16 & 32 support in controls,
which are needed for metadata & ext controls perspectively.
This passes gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1300098
Updates in v5:
- Fixed setControls() and getControls() with new types supported.
Updates in v4:
- Added U32 & U16 entries in V4L2Device::getControls.
Updates in v3:
- Commit messages.
- Added unit tests.
Updates in v2:
- Added default potential array `size = 0;`.
- Removed unrelated debug message changes.
BR,
Harvey
Yudhistira Erlandinata (2):
libcamera: Extend u32 control type
libcamera: Extend u16 control type
include/libcamera/controls.h | 14 ++++++
src/libcamera/controls.cpp | 20 ++++++++-
src/libcamera/v4l2_device.cpp | 67 ++++++++++++++++++++++++---
test/controls/control_value.cpp | 80 +++++++++++++++++++++++++++++++++
4 files changed, 174 insertions(+), 7 deletions(-)
--
2.47.0.163.g1226f6d8fa-goog
More information about the libcamera-devel
mailing list