summaryrefslogtreecommitdiff
path: root/src/android/data
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2025-01-23 13:09:14 +0100
committerStefan Klug <stefan.klug@ideasonboard.com>2025-02-11 13:20:28 +0100
commitee918b370a08b362de75ee590cfc46fe8e38a0f0 (patch)
treec25a4b6e7fb850ff61baee57f47c704fb4c91000 /src/android/data
parent9b1f609e5b754ce7adc0219a08b72714ae783e43 (diff)
ipa: rkisp1: agc: Initialize enum controls with a list of values
The controls ExposureTimeMode and AnalogueGainMode are shown in camshark as normal int entries instead of enum popups. The reason is that ControlInfos for these controls are constructed using min/max instead of a list of valid ControlValues. Camshark (and cam) uses the values() vector to deduce if the control is an enum or not. It might be debatable if this is the correct check, but all other ControlInfos for enum controls in libcamera are initialized using a list. Modify the construction of the ControlInfos to use the Span based constructor to fix that issue. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/android/data')
0 files changed, 0 insertions, 0 deletions