libcamera  v0.4.0+139-39419ce4
Supporting cameras in Linux since 2019
control_ids.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  * Copyright (C) 2019, Google Inc.
4  *
5  * Controls ID list
6  *
7  * This file is auto-generated. Do not edit.
8  */
9 
10 #pragma once
11 
12 #include <array>
13 #include <map>
14 #include <stdint.h>
15 #include <string>
16 
17 #include <libcamera/controls.h>
18 
19 namespace libcamera {
20 
21 namespace controls {
22 
23 extern const ControlIdMap controls;
24 
25 
26 enum {
27  AE_ENABLE = 1,
28  AE_STATE = 2,
29  AE_METERING_MODE = 3,
30  AE_CONSTRAINT_MODE = 4,
31  AE_EXPOSURE_MODE = 5,
32  EXPOSURE_VALUE = 6,
33  EXPOSURE_TIME = 7,
34  EXPOSURE_TIME_MODE = 8,
35  ANALOGUE_GAIN = 9,
36  ANALOGUE_GAIN_MODE = 10,
37  AE_FLICKER_MODE = 11,
38  AE_FLICKER_PERIOD = 12,
39  AE_FLICKER_DETECTED = 13,
40  BRIGHTNESS = 14,
41  CONTRAST = 15,
42  LUX = 16,
43  AWB_ENABLE = 17,
44  AWB_MODE = 18,
45  AWB_LOCKED = 19,
46  COLOUR_GAINS = 20,
47  COLOUR_TEMPERATURE = 21,
48  SATURATION = 22,
49  SENSOR_BLACK_LEVELS = 23,
50  SHARPNESS = 24,
51  FOCUS_FO_M = 25,
52  COLOUR_CORRECTION_MATRIX = 26,
53  SCALER_CROP = 27,
54  DIGITAL_GAIN = 28,
55  FRAME_DURATION = 29,
56  FRAME_DURATION_LIMITS = 30,
57  SENSOR_TEMPERATURE = 31,
58  SENSOR_TIMESTAMP = 32,
59  AF_MODE = 33,
60  AF_RANGE = 34,
61  AF_SPEED = 35,
62  AF_METERING = 36,
63  AF_WINDOWS = 37,
64  AF_TRIGGER = 38,
65  AF_PAUSE = 39,
66  LENS_POSITION = 40,
67  AF_STATE = 41,
68  AF_PAUSE_STATE = 42,
69  HDR_MODE = 43,
70  HDR_CHANNEL = 44,
71  GAMMA = 45,
72  DEBUG_METADATA_ENABLE = 46,
73 };
74 
75 
76 extern const Control<bool> AeEnable;
81 };
82 extern const std::array<const ControlValue, 3> AeStateValues;
83 extern const std::map<std::string, int32_t> AeStateNameValueMap;
84 extern const Control<int32_t> AeState;
90 };
91 extern const std::array<const ControlValue, 4> AeMeteringModeValues;
92 extern const std::map<std::string, int32_t> AeMeteringModeNameValueMap;
93 extern const Control<int32_t> AeMeteringMode;
99 };
100 extern const std::array<const ControlValue, 4> AeConstraintModeValues;
101 extern const std::map<std::string, int32_t> AeConstraintModeNameValueMap;
108 };
109 extern const std::array<const ControlValue, 4> AeExposureModeValues;
110 extern const std::map<std::string, int32_t> AeExposureModeNameValueMap;
111 extern const Control<int32_t> AeExposureMode;
112 extern const Control<float> ExposureValue;
113 extern const Control<int32_t> ExposureTime;
117 };
118 extern const std::array<const ControlValue, 2> ExposureTimeModeValues;
119 extern const std::map<std::string, int32_t> ExposureTimeModeNameValueMap;
121 extern const Control<float> AnalogueGain;
125 };
126 extern const std::array<const ControlValue, 2> AnalogueGainModeValues;
127 extern const std::map<std::string, int32_t> AnalogueGainModeNameValueMap;
133 };
134 extern const std::array<const ControlValue, 3> AeFlickerModeValues;
135 extern const std::map<std::string, int32_t> AeFlickerModeNameValueMap;
136 extern const Control<int32_t> AeFlickerMode;
137 extern const Control<int32_t> AeFlickerPeriod;
139 extern const Control<float> Brightness;
140 extern const Control<float> Contrast;
141 extern const Control<float> Lux;
142 extern const Control<bool> AwbEnable;
144  AwbAuto = 0,
152 };
153 extern const std::array<const ControlValue, 8> AwbModeValues;
154 extern const std::map<std::string, int32_t> AwbModeNameValueMap;
155 extern const Control<int32_t> AwbMode;
156 extern const Control<bool> AwbLocked;
159 extern const Control<float> Saturation;
161 extern const Control<float> Sharpness;
162 extern const Control<int32_t> FocusFoM;
164 extern const Control<Rectangle> ScalerCrop;
165 extern const Control<float> DigitalGain;
166 extern const Control<int64_t> FrameDuration;
168 extern const Control<float> SensorTemperature;
169 extern const Control<int64_t> SensorTimestamp;
174 };
175 extern const std::array<const ControlValue, 3> AfModeValues;
176 extern const std::map<std::string, int32_t> AfModeNameValueMap;
177 extern const Control<int32_t> AfMode;
182 };
183 extern const std::array<const ControlValue, 3> AfRangeValues;
184 extern const std::map<std::string, int32_t> AfRangeNameValueMap;
185 extern const Control<int32_t> AfRange;
189 };
190 extern const std::array<const ControlValue, 2> AfSpeedValues;
191 extern const std::map<std::string, int32_t> AfSpeedNameValueMap;
192 extern const Control<int32_t> AfSpeed;
196 };
197 extern const std::array<const ControlValue, 2> AfMeteringValues;
198 extern const std::map<std::string, int32_t> AfMeteringNameValueMap;
199 extern const Control<int32_t> AfMetering;
204 };
205 extern const std::array<const ControlValue, 2> AfTriggerValues;
206 extern const std::map<std::string, int32_t> AfTriggerNameValueMap;
207 extern const Control<int32_t> AfTrigger;
212 };
213 extern const std::array<const ControlValue, 3> AfPauseValues;
214 extern const std::map<std::string, int32_t> AfPauseNameValueMap;
215 extern const Control<int32_t> AfPause;
216 extern const Control<float> LensPosition;
222 };
223 extern const std::array<const ControlValue, 4> AfStateValues;
224 extern const std::map<std::string, int32_t> AfStateNameValueMap;
225 extern const Control<int32_t> AfState;
230 };
231 extern const std::array<const ControlValue, 3> AfPauseStateValues;
232 extern const std::map<std::string, int32_t> AfPauseStateNameValueMap;
233 extern const Control<int32_t> AfPauseState;
240 };
241 extern const std::array<const ControlValue, 5> HdrModeValues;
242 extern const std::map<std::string, int32_t> HdrModeNameValueMap;
243 extern const Control<int32_t> HdrMode;
249 };
250 extern const std::array<const ControlValue, 4> HdrChannelValues;
251 extern const std::map<std::string, int32_t> HdrChannelNameValueMap;
252 extern const Control<int32_t> HdrChannel;
253 extern const Control<float> Gamma;
255 
256 namespace draft {
257 
258 #define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS
259 
260 
261 enum {
262  AE_PRECAPTURE_TRIGGER = 10001,
263  NOISE_REDUCTION_MODE = 10002,
264  COLOR_CORRECTION_ABERRATION_MODE = 10003,
265  AWB_STATE = 10004,
266  SENSOR_ROLLING_SHUTTER_SKEW = 10005,
267  LENS_SHADING_MAP_MODE = 10006,
268  PIPELINE_DEPTH = 10007,
269  MAX_LATENCY = 10008,
270  TEST_PATTERN_MODE = 10009,
271  FACE_DETECT_MODE = 10010,
272  FACE_DETECT_FACE_RECTANGLES = 10011,
273  FACE_DETECT_FACE_SCORES = 10012,
274  FACE_DETECT_FACE_LANDMARKS = 10013,
275  FACE_DETECT_FACE_IDS = 10014,
276 };
277 
278 
283 };
284 extern const std::array<const ControlValue, 3> AePrecaptureTriggerValues;
285 extern const std::map<std::string, int32_t> AePrecaptureTriggerNameValueMap;
293 };
294 extern const std::array<const ControlValue, 5> NoiseReductionModeValues;
295 extern const std::map<std::string, int32_t> NoiseReductionModeNameValueMap;
301 };
302 extern const std::array<const ControlValue, 3> ColorCorrectionAberrationModeValues;
303 extern const std::map<std::string, int32_t> ColorCorrectionAberrationModeNameValueMap;
309  AwbLocked = 3,
310 };
311 extern const std::array<const ControlValue, 4> AwbStateValues;
312 extern const std::map<std::string, int32_t> AwbStateNameValueMap;
313 extern const Control<int32_t> AwbState;
318 };
319 extern const std::array<const ControlValue, 2> LensShadingMapModeValues;
320 extern const std::map<std::string, int32_t> LensShadingMapModeNameValueMap;
322 extern const Control<int32_t> PipelineDepth;
323 extern const Control<int32_t> MaxLatency;
331 };
332 extern const std::array<const ControlValue, 6> TestPatternModeValues;
333 extern const std::map<std::string, int32_t> TestPatternModeNameValueMap;
334 extern const Control<int32_t> TestPatternMode;
339 };
340 extern const std::array<const ControlValue, 3> FaceDetectModeValues;
341 extern const std::map<std::string, int32_t> FaceDetectModeNameValueMap;
342 extern const Control<int32_t> FaceDetectMode;
347 
348 } /* namespace draft */
349 
350 namespace debug {
351 
352 #define LIBCAMERA_HAS_DEBUG_VENDOR_CONTROLS
353 
354 
355 
356 
357 } /* namespace debug */
358 
359 } /* namespace controls */
360 
361 } /* namespace libcamera */
Custom constraint mode.
Definition: control_ids.h:98
const std::array< const ControlValue, 6 > TestPatternModeValues
List of all TestPatternMode supported values.
Highlight constraint mode.
Definition: control_ids.h:96
Exposure mode allowing only short exposure times.
Definition: control_ids.h:105
Pipeline performs face detection and reports the FaceDetectFaceRectangles and FaceDetectFaceScores co...
Definition: control_ids.h:337
Default constraint mode.
Definition: control_ids.h:95
Multiple frames will be combined to produce "night mode" images.
Definition: control_ids.h:239
Noise reduction is applied at different levels to different streams.
Definition: control_ids.h:292
AeFlickerModeEnum
Supported AeFlickerMode values.
Definition: control_ids.h:129
const Control< float > Saturation
Specify a fixed saturation parameter.
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition: control_ids.h:220
const Control< int32_t > AeFlickerMode
Set the flicker avoidance mode for AGC/AEC.
const std::array< const ControlValue, 2 > ExposureTimeModeValues
List of all ExposureTimeMode supported values.
Incandescent AWB lamp mode.
Definition: control_ids.h:145
const Control< float > AnalogueGain
Analogue gain value applied in the sensor device.
const std::map< std::string, int32_t > NoiseReductionModeNameValueMap
Map of all NoiseReductionMode supported value names (in std::string format) to value.
No noise reduction is applied.
Definition: control_ids.h:288
const Control< Span< const uint8_t > > FaceDetectFaceScores
Confidence score of each of the detected faces. The range of score is [0, 100]. The number of values ...
The analogue gain will not be updated by the AEGC algorithm.
Definition: control_ids.h:124
const Control< int32_t > AfMode
The mode of the AF (autofocus) algorithm.
const Control< int32_t > NoiseReductionMode
Control to select the noise reduction algorithm mode. Currently identical to ANDROID_NOISE_REDUCTION_...
const std::array< const ControlValue, 5 > HdrModeValues
List of all HdrMode supported values.
const Control< Span< const int64_t, 2 > > FrameDurationLimits
The minimum and maximum (in that order) frame duration, expressed in microseconds.
const std::array< const ControlValue, 4 > HdrChannelValues
List of all HdrChannel supported values.
const Control< Span< const float, 2 > > ColourGains
Pair of gain values for the Red and Blue colour channels, in that order.
const Control< Span< const Rectangle > > AfWindows
The focus windows used by the AF algorithm when AfMetering is set to AfMeteringWindows.
The AF algorithm is in continuous mode.
Definition: control_ids.h:173
const Control< int32_t > AnalogueGainMode
Controls the source of the analogue gain that is applied to the image sensor.
Multiple exposures will be generated and merged to create HDR images.
Definition: control_ids.h:237
Custom exposure mode.
Definition: control_ids.h:107
const std::map< std::string, int32_t > AeConstraintModeNameValueMap
Map of all AeConstraintMode supported value names (in std::string format) to value.
Move the lens more quickly.
Definition: control_ids.h:188
const Control< int32_t > ExposureTimeMode
Controls the source of the exposure time that is applied to the image sensor.
const std::array< const ControlValue, 5 > NoiseReductionModeValues
List of all NoiseReductionMode supported values.
AwbModeEnum
Supported AwbMode values.
Definition: control_ids.h:143
const Control< int32_t > AfPauseState
Report whether the autofocus is currently running, paused or pausing.
This is a long exposure image.
Definition: control_ids.h:248
AfSpeedEnum
Supported AfSpeed values.
Definition: control_ids.h:186
All pixel data is replaced with an 8-bar color pattern. The vertical bars (left-to-right) are as foll...
Definition: control_ids.h:327
const std::array< const ControlValue, 3 > AfModeValues
List of all AfMode supported values.
const Control< bool > AeEnable
Enable or disable the AEGC algorithm. When this control is set to true, both ExposureTimeMode and Ana...
The AF algorithm is in auto mode.
Definition: control_ids.h:172
const Control< int32_t > AeFlickerDetected
Flicker period detected in microseconds.
Continuous AF is paused.
Definition: control_ids.h:229
const Control< int32_t > ColorCorrectionAberrationMode
Control to select the color correction aberration mode. Currently identical to ANDROID_COLOR_CORRECTI...
Daylight AWB lighting mode.
Definition: control_ids.h:149
const Control< int32_t > PipelineDepth
Specifies the number of pipeline stages the frame went through from when it was exposed to when the f...
Fluorescent AWB lamp mode.
Definition: control_ids.h:147
High quality noise reduction at the expense of frame rate.
Definition: control_ids.h:290
const Control< int32_t > ColourTemperature
ColourTemperature of the frame, in kelvin.
AePrecaptureTriggerEnum
Supported AePrecaptureTrigger values.
Definition: control_ids.h:279
Start an AF scan.
Definition: control_ids.h:202
Top-level libcamera namespace.
Definition: bound_method.h:15
const std::array< const ControlValue, 2 > AfTriggerValues
List of all AfTrigger supported values.
The first custom test pattern. All custom patterns that are available only on this camera device are ...
Definition: control_ids.h:330
Each pixel in [R, G_even, G_odd, B] is replaced by its respective color channel provided in test patt...
Definition: control_ids.h:326
Let the AF algorithm decide for itself where it will measure focus.
Definition: control_ids.h:194
const std::array< const ControlValue, 3 > FaceDetectModeValues
List of all FaceDetectMode supported values.
const Control< float > Lux
Report an estimate of the current illuminance level in lux.
The camera will cancel any active or completed metering sequence. The AE algorithm is reset to its in...
Definition: control_ids.h:282
Default exposure mode.
Definition: control_ids.h:104
The AF algorithm is in auto mode (AfModeAuto), and a scan has been started using the AfTrigger contro...
Definition: control_ids.h:219
AwbStateEnum
Supported AwbState values.
Definition: control_ids.h:305
Centre-weighted metering mode.
Definition: control_ids.h:86
Use the rectangles defined by the AfWindows control to measure focus.
Definition: control_ids.h:195
Custom AWB mode.
Definition: control_ids.h:151
const Control< float > DigitalGain
Digital gain value applied during the processing steps applied to the image as captured from the sens...
AeMeteringModeEnum
Supported AeMeteringMode values.
Definition: control_ids.h:85
The AWB algorithm has converged.
Definition: control_ids.h:308
const Control< bool > AwbLocked
Report the lock status of a running AWB algorithm.
const Control< float > SensorTemperature
Temperature measure from the camera sensor in Celsius.
Minimal noise reduction is applied without reducing the frame rate.
Definition: control_ids.h:291
const std::map< std::string, int32_t > AfTriggerNameValueMap
Map of all AfTrigger supported value names (in std::string format) to value.
const std::array< const ControlValue, 8 > AwbModeValues
List of all AwbMode supported values.
Spot metering mode.
Definition: control_ids.h:87
AeExposureModeEnum
Supported AeExposureMode values.
Definition: control_ids.h:103
Describe a control and its intrinsic properties.
Definition: controls.h:312
const Control< Span< const Point > > FaceDetectFaceLandmarks
Array of human face landmark coordinates in format [..., left_eye_i, right_eye_i, mouth_i...
HDR is disabled.
Definition: control_ids.h:235
const Control< int32_t > AePrecaptureTrigger
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
const Control< int32_t > AfState
The current state of the AF algorithm.
const Control< int64_t > SensorRollingShutterSkew
Control to report the time between the start of exposure of the first row and the start of exposure o...
const std::array< const ControlValue, 3 > AePrecaptureTriggerValues
List of all AePrecaptureTrigger supported values.
Pipeline doesn&#39;t perform face detection and doesn&#39;t report any control related to face detection...
Definition: control_ids.h:336
const std::map< std::string, int32_t > AePrecaptureTriggerNameValueMap
Map of all AePrecaptureTrigger supported value names (in std::string format) to value.
const Control< int32_t > AwbMode
Specify the range of illuminants to use for the AWB algorithm.
const Control< int32_t > AfRange
The range of focus distances that is scanned.
const Control< int32_t > TestPatternMode
Control to select the test pattern mode. Currently identical to ANDROID_SENSOR_TEST_PATTERN_MODE.
The AEGC algorithm is actively computing new values, for either the exposure time or the analogue gai...
Definition: control_ids.h:79
All pixel data is replaced by a pseudo-random sequence generated from a PN9 512-bit sequence (typical...
Definition: control_ids.h:329
const Control< int32_t > LensShadingMapMode
Control to report if the lens shading map is available. Currently identical to ANDROID_STATISTICS_LEN...
Move the lens at its usual speed.
Definition: control_ids.h:187
const Control< int32_t > AfTrigger
Start an autofocus scan.
Pause the continuous autofocus algorithm immediately.
Definition: control_ids.h:209
const Control< bool > DebugMetadataEnable
Enable or disable the debug metadata.
const std::map< std::string, int32_t > AwbStateNameValueMap
Map of all AwbState supported value names (in std::string format) to value.
const Control< Span< const float, 9 > > ColourCorrectionMatrix
The 3x3 matrix that converts camera RGB to sRGB within the imaging pipeline.
const Control< int32_t > AeConstraintMode
Specify a constraint mode for the AE algorithm to use.
const std::map< std::string, int32_t > ColorCorrectionAberrationModeNameValueMap
Map of all ColorCorrectionAberrationMode supported value names (in std::string format) to value...
const std::map< std::string, int32_t > AfStateNameValueMap
Map of all AfState supported value names (in std::string format) to value.
const std::array< const ControlValue, 4 > AwbStateValues
List of all AwbState supported values.
const std::map< std::string, int32_t > HdrChannelNameValueMap
Map of all HdrChannel supported value names (in std::string format) to value.
const std::array< const ControlValue, 3 > ColorCorrectionAberrationModeValues
List of all ColorCorrectionAberrationMode supported values.
const Control< Span< const int32_t, 4 > > SensorBlackLevels
Reports the sensor black levels used for processing a frame.
Continuous AF is running and the algorithm may restart a scan spontaneously.
Definition: control_ids.h:227
Continuous AF has been sent an AfPauseDeferred control, and will pause as soon as any in-progress sca...
Definition: control_ids.h:228
Noise reduction is applied without reducing the frame rate.
Definition: control_ids.h:289
Shadows constraint mode.
Definition: control_ids.h:97
const Control< int32_t > AwbState
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
The trigger is idle.
Definition: control_ids.h:280
Pause the continuous autofocus algorithm at the end of the scan.
Definition: control_ids.h:210
const Control< int32_t > AfMetering
The parts of the image used by the AF algorithm to measure focus.
const Control< float > Sharpness
Intensity of the sharpening applied to the image.
Cloudy AWB lighting mode.
Definition: control_ids.h:150
Pipeline performs face detection and reports all the controls related to face detection including Fac...
Definition: control_ids.h:338
const std::array< const ControlValue, 3 > AeStateValues
List of all AeState supported values.
const std::array< const ControlValue, 4 > AeMeteringModeValues
List of all AeMeteringMode supported values.
const Control< int32_t > ExposureTime
Exposure time for the frame applied in the sensor device.
The exposure time will not be updated by the AE algorithm.
Definition: control_ids.h:116
const std::array< const ControlValue, 4 > AeExposureModeValues
List of all AeExposureMode supported values.
The AF algorithm is in manual mode (AfModeManual) or in auto mode (AfModeAuto) and a scan has not yet...
Definition: control_ids.h:218
const std::map< std::string, int32_t > AnalogueGainModeNameValueMap
Map of all AnalogueGainMode supported value names (in std::string format) to value.
Indoor AWB lighting mode.
Definition: control_ids.h:148
Cancel an AF scan.
Definition: control_ids.h:203
The pre-capture AE metering is started by the camera.
Definition: control_ids.h:281
No test pattern mode is used. The camera device returns frames from the image sensor.
Definition: control_ids.h:325
Resume continuous autofocus operation.
Definition: control_ids.h:211
const Control< int32_t > AfSpeed
Determine whether the AF is to move the lens as quickly as possible or more steadily.
NoiseReductionModeEnum
Supported NoiseReductionMode values.
Definition: control_ids.h:287
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter.
The AEGC algorithm is inactive.
Definition: control_ids.h:78
const std::array< const ControlValue, 3 > AfPauseStateValues
List of all AfPauseState supported values.
const Control< int32_t > AeMeteringMode
Specify a metering mode for the AE algorithm to use.
AfPauseEnum
Supported AfPause values.
Definition: control_ids.h:208
const Control< float > Gamma
Specify a fixed gamma value.
HdrChannelEnum
Supported HdrChannel values.
Definition: control_ids.h:244
const std::map< std::string, int32_t > AfModeNameValueMap
Map of all AfMode supported value names (in std::string format) to value.
const std::map< std::string, int32_t > HdrModeNameValueMap
Map of all HdrMode supported value names (in std::string format) to value.
const std::map< std::string, int32_t > AeExposureModeNameValueMap
Map of all AeExposureMode supported value names (in std::string format) to value. ...
The AWB algorithm is inactive.
Definition: control_ids.h:306
AfPauseStateEnum
Supported AfPauseState values.
Definition: control_ids.h:226
const Control< Span< const int32_t > > FaceDetectFaceIds
Each detected face is given a unique ID that is valid for as long as the face is visible to the camer...
const Control< int32_t > AfPause
Pause lens movements when in continuous autofocus mode.
const std::array< const ControlValue, 4 > AeConstraintModeValues
List of all AeConstraintMode supported values.
const std::map< std::string, int32_t > AeMeteringModeNameValueMap
Map of all AeMeteringMode supported value names (in std::string format) to value. ...
AnalogueGainModeEnum
Supported AnalogueGainMode values.
Definition: control_ids.h:122
This is a medium exposure image.
Definition: control_ids.h:247
const std::map< std::string, int32_t > AfSpeedNameValueMap
Map of all AfSpeed supported value names (in std::string format) to value.
const Control< bool > AwbEnable
Enable or disable the AWB.
High quality aberration correction which might reduce the frame rate.
Definition: control_ids.h:300
TestPatternModeEnum
Supported TestPatternMode values.
Definition: control_ids.h:324
const std::map< std::string, int32_t > LensShadingMapModeNameValueMap
Map of all LensShadingMapMode supported value names (in std::string format) to value.
const Control< float > Brightness
Specify a fixed brightness parameter.
const Control< int32_t > HdrMode
Set the mode to be used for High Dynamic Range (HDR) imaging.
Search over the whole colour temperature range.
Definition: control_ids.h:144
const std::array< const ControlValue, 2 > AfMeteringValues
List of all AfMetering supported values.
const std::array< const ControlValue, 3 > AfRangeValues
List of all AfRange supported values.
AeStateEnum
Supported AeState values.
Definition: control_ids.h:77
const std::map< std::string, int32_t > AwbModeNameValueMap
Map of all AwbMode supported value names (in std::string format) to value.
AfMeteringEnum
Supported AfMetering values.
Definition: control_ids.h:193
The AEGC algorithm has converged.
Definition: control_ids.h:80
const std::array< const ControlValue, 3 > AeFlickerModeValues
List of all AeFlickerMode supported values.
const Control< int32_t > HdrChannel
The HDR channel used to capture the frame.
const Control< int32_t > AeState
Report the AEGC algorithm state.
LensShadingMapModeEnum
Supported LensShadingMapMode values.
Definition: control_ids.h:315
No flicker avoidance is performed.
Definition: control_ids.h:130
FaceDetectModeEnum
Supported FaceDetectMode values.
Definition: control_ids.h:335
const std::array< const ControlValue, 4 > AfStateValues
List of all AfState supported values.
AfTriggerEnum
Supported AfTrigger values.
Definition: control_ids.h:201
Multiple frames all at a single exposure will be used to create HDR images.
Definition: control_ids.h:238
The analogue gain will be calculated automatically and set by the AEGC algorithm. ...
Definition: control_ids.h:123
Matrix metering mode.
Definition: control_ids.h:88
Tungsten AWB lamp mode.
Definition: control_ids.h:146
const std::map< std::string, int32_t > FaceDetectModeNameValueMap
Map of all FaceDetectMode supported value names (in std::string format) to value. ...
const Control< int32_t > MaxLatency
The maximum number of frames that can occur after a request (different than the previous) has been su...
const std::map< std::string, int32_t > AfPauseNameValueMap
Map of all AfPause supported value names (in std::string format) to value.
No aberration correction is applied.
Definition: control_ids.h:298
const ControlIdMap controls
List of all supported libcamera controls.
Definition: control_ids.cpp:2205
const Control< Span< const Rectangle > > FaceDetectFaceRectangles
Boundary rectangles of the detected faces. The number of values is the number of detected faces...
The exposure time will be calculated automatically and set by the AE algorithm.
Definition: control_ids.h:115
const std::array< const ControlValue, 2 > AfSpeedValues
List of all AfSpeed supported values.
const std::array< const ControlValue, 3 > AfPauseValues
List of all AfPause supported values.
The test pattern is similar to TestPatternModeColorBars, except that each bar should start at its spe...
Definition: control_ids.h:328
This is a short exposure image.
Definition: control_ids.h:246
AfModeEnum
Supported AfMode values.
Definition: control_ids.h:170
const Control< int32_t > AeExposureMode
Specify an exposure mode for the AE algorithm to use.
The AWB algorithm has not converged yet.
Definition: control_ids.h:307
Framework to manage controls related to an object.
const std::map< std::string, int32_t > AeFlickerModeNameValueMap
Map of all AeFlickerMode supported value names (in std::string format) to value.
This image does not correspond to any of the captures used to create an HDR image.
Definition: control_ids.h:245
const std::array< const ControlValue, 2 > AnalogueGainModeValues
List of all AnalogueGainMode supported values.
Manual flicker avoidance.
Definition: control_ids.h:131
const Control< int32_t > AeFlickerPeriod
Manual flicker period in microseconds.
The full range of focus distances is scanned.
Definition: control_ids.h:181
The lens shading map mode is available.
Definition: control_ids.h:317
const Control< float > Contrast
Specify a fixed contrast parameter.
Automatic flicker period detection and avoidance.
Definition: control_ids.h:132
const std::map< std::string, int32_t > TestPatternModeNameValueMap
Map of all TestPatternMode supported value names (in std::string format) to value.
const std::map< std::string, int32_t > AfPauseStateNameValueMap
Map of all AfPauseState supported value names (in std::string format) to value.
const Control< float > LensPosition
Set and report the focus lens position.
AeConstraintModeEnum
Supported AeConstraintMode values.
Definition: control_ids.h:94
const Control< int64_t > SensorTimestamp
The time when the first row of the image sensor active array is exposed.
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition: controls.h:364
ColorCorrectionAberrationModeEnum
Supported ColorCorrectionAberrationMode values.
Definition: control_ids.h:297
No lens shading map mode is available.
Definition: control_ids.h:316
Multiple exposures will be generated in an alternating fashion.
Definition: control_ids.h:236
HdrModeEnum
Supported HdrMode values.
Definition: control_ids.h:234
Exposure mode allowing long exposure times.
Definition: control_ids.h:106
const Control< int32_t > FocusFoM
Reports a Figure of Merit (FoM) to indicate how in-focus the frame is.
A wide range of focus distances is scanned.
Definition: control_ids.h:179
Custom metering mode.
Definition: control_ids.h:89
const Control< int32_t > FaceDetectMode
Control to select the face detection mode used by the pipeline.
The AF algorithm is in manual mode.
Definition: control_ids.h:171
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition: control_ids.h:221
Only close distances are scanned.
Definition: control_ids.h:180
AfStateEnum
Supported AfState values.
Definition: control_ids.h:217
const std::map< std::string, int32_t > AfRangeNameValueMap
Map of all AfRange supported value names (in std::string format) to value.
const std::map< std::string, int32_t > AfMeteringNameValueMap
Map of all AfMetering supported value names (in std::string format) to value.
ExposureTimeModeEnum
Supported ExposureTimeMode values.
Definition: control_ids.h:114
AfRangeEnum
Supported AfRange values.
Definition: control_ids.h:178
const std::map< std::string, int32_t > ExposureTimeModeNameValueMap
Map of all ExposureTimeMode supported value names (in std::string format) to value.
const std::map< std::string, int32_t > AeStateNameValueMap
Map of all AeState supported value names (in std::string format) to value.
Aberration correction will not slow down the frame rate.
Definition: control_ids.h:299
const std::array< const ControlValue, 2 > LensShadingMapModeValues
List of all LensShadingMapMode supported values.
const Control< int64_t > FrameDuration
The instantaneous frame duration from start of frame exposure to start of next exposure, expressed in microseconds.
const Control< Rectangle > ScalerCrop
Sets the image portion that will be scaled to form the whole of the final output image.