libcamera/src
Paul Elder ab48009a81 apps: cam: Print control enum values more nicely
Now that enum names can be obtained from ControlId, use that information
to print out the list of supported enum values in --list-controls.

Example output (with a dummy AwbMode ControlInfo added to vimc):

$ cam -c 1 --list-controls
Using camera platform/vimc.0 Sensor B as cam0
Control: AwbMode:
  - AwbTungsten (2)
  - AwbFluorescent (3)
  - AwbDaylight (5)
Control: Brightness: [-1.000000..1.000000]
Control: Contrast: [0.000000..2.000000]
Control: Saturation: [0.000000..2.000000]

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2024-09-25 23:54:14 +03:00
..
android libcamera: Avoid variable-length arrays 2024-07-31 01:22:13 +03:00
apps apps: cam: Print control enum values more nicely 2024-09-25 23:54:14 +03:00
gstreamer libcamera: Fix header grouping 2024-08-12 14:57:35 +03:00
ipa libcamera: libipa: camera_sensor: Add Sony IMX214 sensor properties 2024-09-23 15:51:24 +01:00
libcamera libcamera: controls: Add enum names and values map to ControlId 2024-09-25 23:53:44 +03:00
py py: gen-py-controls: Convert to jinja2 templates 2024-08-16 00:28:32 +03:00
v4l2 v4l2: Support setting frame rate in the V4L2 Adaptation layer 2024-09-10 22:17:28 +02:00
meson.build v4l2: Move the v4l2 compat layer to libexec/libcamera 2023-05-04 20:05:02 +01:00