[0/2] libcamera: controls: Add enum information to
mbox series

Message ID 20240910180729.2096985-1-paul.elder@ideasonboard.com
Headers show
Series
  • libcamera: controls: Add enum information to
Related show

Message

Paul Elder Sept. 10, 2024, 6:07 p.m. UTC
Add information about enum names and values to ControlId. This makes it
easier for applications to query the names of enums.

Patch 2 expands cam to print the supported enum values more nicely in
--list-controls.

Paul Elder (2):
  libcamera: controls: Add enum names and values map to ControlId
  apps: cam: Print control enum values more nicely

 include/libcamera/controls.h     | 15 +++++++++------
 src/apps/cam/camera_session.cpp  | 12 ++++++++++--
 src/libcamera/control_ids.cpp.in |  4 +++-
 src/libcamera/controls.cpp       | 29 +++++++++++++++++++++++++++++
 4 files changed, 51 insertions(+), 9 deletions(-)