diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2025-01-13 15:59:44 -0600 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-01-20 21:36:40 +0200 |
commit | 7abd4139051c9a53d5a9f17b7ac64d438b6172ad (patch) | |
tree | d5c4fc328aa50a4ffeb82448b6609a88bfbc70e1 /utils/codegen/ipc/generators/libcamera_templates | |
parent | 85cb179f289d29d05babf7b2a0fdcfed5d94ba54 (diff) |
libcamera: camera: Pre-process AeEnable control
Handle the AeEnable under the hood in the Camera class, such that
AeEnable activates ExposureTimeMode and AnalogueGain together. This
allows applications the convenience of setting auto/manual mode of all
of the AE-related controls, as well as protecting applications against a
nasty behavior change if an aperture control is added in the future.
This also moves common handling code out of the IPA.
While we also want to inject AeEnable in Camera::controls() so that IPAs
don't have to report it, it is technically difficult at the moment as
ControlInfoMaps are not easily modifiable.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/codegen/ipc/generators/libcamera_templates')
0 files changed, 0 insertions, 0 deletions