summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-10-20 18:00:59 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-10-26 17:51:55 +0100
commit25a870dbd3f88d55bd228fb6e1bfe5cbda4050cd (patch)
tree22d2b998f760293468b1d44178929786fba69896 /src
parent4692ef1a10e3a35efd3a38019c222c94ef9af10c (diff)
libcamera: control_ids: Remove max values in enumerations
The libcamera control definition schema includes a placeholder maximum value for each enumeration of supported values. As it is now possible to create ControlInfo from the list of enumerated values, it is not necessary to generate the placeholder value anymore. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/control_ids.yaml12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml
index 26b93a65..0bf566c7 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -48,9 +48,6 @@ controls:
- name: MeteringCustom
value: 3
description: Custom metering mode.
- - name: MeteringModeMax
- value: 3
- description: Maximum allowed value (place any new values above here).
# AeConstraintMode needs further attention:
# - Auto-generate max enum value.
@@ -85,9 +82,6 @@ controls:
- name: ConstraintCustom
value: 3
description: Custom constraint mode.
- - name: ConstraintModeMax
- value: 3
- description: Maximum allowed value (place any new values above here).
# AeExposureMode needs further attention:
# - Auto-generate max enum value.
@@ -112,9 +106,6 @@ controls:
- name: ExposureCustom
value: 3
description: Custom exposure mode.
- - name: ExposureModeMax
- value: 3
- description: Maximum allowed value (place any new values above here).
- ExposureValue:
type: float
@@ -204,9 +195,6 @@ controls:
- name: AwbCustom
value: 7
description: Custom AWB mode.
- - name: AwbModeMax
- value: 7
- description: Maximum allowed value (place any new values above here).
- AwbLocked:
type: bool