[v2,0/2] Add U16 & U32 support in controls
mbox series

Message ID 20241022095737.4127210-1-chenghaoyang@chromium.org
Headers show
Series
  • Add U16 & U32 support in controls
Related show

Message

Harvey Yang Oct. 22, 2024, 9:56 a.m. UTC
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/1294974

Updates in v2:
- Added default potential array `size = 0;`.
- Removed unrelated debug message changes.

BR,
Harvey

Yudhistira Erlandinata (2):
  libcamera: Allow enumerating u32 control type
  libcamera: Add Unsigned 16-bits Control Type

 include/libcamera/controls.h  | 14 ++++++++++++++
 src/libcamera/controls.cpp    | 20 ++++++++++++++++++--
 src/libcamera/v4l2_device.cpp | 22 ++++++++++++++++++++++
 3 files changed, 54 insertions(+), 2 deletions(-)