libcamera  v0.3.1+1-c9152bad
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  * Control 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 enum {
24  AE_ENABLE = 1,
25  AE_LOCKED = 2,
26  AE_METERING_MODE = 3,
27  AE_CONSTRAINT_MODE = 4,
28  AE_EXPOSURE_MODE = 5,
29  EXPOSURE_VALUE = 6,
30  EXPOSURE_TIME = 7,
31  ANALOGUE_GAIN = 8,
32  AE_FLICKER_MODE = 9,
33  AE_FLICKER_PERIOD = 10,
34  AE_FLICKER_DETECTED = 11,
35  BRIGHTNESS = 12,
36  CONTRAST = 13,
37  LUX = 14,
38  AWB_ENABLE = 15,
39  AWB_MODE = 16,
40  AWB_LOCKED = 17,
41  COLOUR_GAINS = 18,
42  COLOUR_TEMPERATURE = 19,
43  SATURATION = 20,
44  SENSOR_BLACK_LEVELS = 21,
45  SHARPNESS = 22,
46  FOCUS_FO_M = 23,
47  COLOUR_CORRECTION_MATRIX = 24,
48  SCALER_CROP = 25,
49  DIGITAL_GAIN = 26,
50  FRAME_DURATION = 27,
51  FRAME_DURATION_LIMITS = 28,
52  SENSOR_TEMPERATURE = 29,
53  SENSOR_TIMESTAMP = 30,
54  AF_MODE = 31,
55  AF_RANGE = 32,
56  AF_SPEED = 33,
57  AF_METERING = 34,
58  AF_WINDOWS = 35,
59  AF_TRIGGER = 36,
60  AF_PAUSE = 37,
61  LENS_POSITION = 38,
62  AF_STATE = 39,
63  AF_PAUSE_STATE = 40,
64  HDR_MODE = 41,
65  HDR_CHANNEL = 42,
66  GAMMA = 43,
67 };
68 
69 extern const Control<bool> AeEnable;
70 extern const Control<bool> AeLocked;
76 };
77 extern const std::array<const ControlValue, 4> AeMeteringModeValues;
78 extern const std::map<std::string, int32_t> AeMeteringModeNameValueMap;
79 extern const Control<int32_t> AeMeteringMode;
85 };
86 extern const std::array<const ControlValue, 4> AeConstraintModeValues;
87 extern const std::map<std::string, int32_t> AeConstraintModeNameValueMap;
94 };
95 extern const std::array<const ControlValue, 4> AeExposureModeValues;
96 extern const std::map<std::string, int32_t> AeExposureModeNameValueMap;
97 extern const Control<int32_t> AeExposureMode;
98 extern const Control<float> ExposureValue;
99 extern const Control<int32_t> ExposureTime;
100 extern const Control<float> AnalogueGain;
105 };
106 extern const std::array<const ControlValue, 3> AeFlickerModeValues;
107 extern const std::map<std::string, int32_t> AeFlickerModeNameValueMap;
108 extern const Control<int32_t> AeFlickerMode;
109 extern const Control<int32_t> AeFlickerPeriod;
111 extern const Control<float> Brightness;
112 extern const Control<float> Contrast;
113 extern const Control<float> Lux;
114 extern const Control<bool> AwbEnable;
116  AwbAuto = 0,
124 };
125 extern const std::array<const ControlValue, 8> AwbModeValues;
126 extern const std::map<std::string, int32_t> AwbModeNameValueMap;
127 extern const Control<int32_t> AwbMode;
128 extern const Control<bool> AwbLocked;
131 extern const Control<float> Saturation;
133 extern const Control<float> Sharpness;
134 extern const Control<int32_t> FocusFoM;
136 extern const Control<Rectangle> ScalerCrop;
137 extern const Control<float> DigitalGain;
138 extern const Control<int64_t> FrameDuration;
140 extern const Control<float> SensorTemperature;
141 extern const Control<int64_t> SensorTimestamp;
146 };
147 extern const std::array<const ControlValue, 3> AfModeValues;
148 extern const std::map<std::string, int32_t> AfModeNameValueMap;
149 extern const Control<int32_t> AfMode;
154 };
155 extern const std::array<const ControlValue, 3> AfRangeValues;
156 extern const std::map<std::string, int32_t> AfRangeNameValueMap;
157 extern const Control<int32_t> AfRange;
161 };
162 extern const std::array<const ControlValue, 2> AfSpeedValues;
163 extern const std::map<std::string, int32_t> AfSpeedNameValueMap;
164 extern const Control<int32_t> AfSpeed;
168 };
169 extern const std::array<const ControlValue, 2> AfMeteringValues;
170 extern const std::map<std::string, int32_t> AfMeteringNameValueMap;
171 extern const Control<int32_t> AfMetering;
176 };
177 extern const std::array<const ControlValue, 2> AfTriggerValues;
178 extern const std::map<std::string, int32_t> AfTriggerNameValueMap;
179 extern const Control<int32_t> AfTrigger;
184 };
185 extern const std::array<const ControlValue, 3> AfPauseValues;
186 extern const std::map<std::string, int32_t> AfPauseNameValueMap;
187 extern const Control<int32_t> AfPause;
188 extern const Control<float> LensPosition;
194 };
195 extern const std::array<const ControlValue, 4> AfStateValues;
196 extern const std::map<std::string, int32_t> AfStateNameValueMap;
197 extern const Control<int32_t> AfState;
202 };
203 extern const std::array<const ControlValue, 3> AfPauseStateValues;
204 extern const std::map<std::string, int32_t> AfPauseStateNameValueMap;
205 extern const Control<int32_t> AfPauseState;
212 };
213 extern const std::array<const ControlValue, 5> HdrModeValues;
214 extern const std::map<std::string, int32_t> HdrModeNameValueMap;
215 extern const Control<int32_t> HdrMode;
221 };
222 extern const std::array<const ControlValue, 4> HdrChannelValues;
223 extern const std::map<std::string, int32_t> HdrChannelNameValueMap;
224 extern const Control<int32_t> HdrChannel;
225 extern const Control<float> Gamma;
226 
227 extern const ControlIdMap controls;
228 
229 
230 namespace draft {
231 
232 #define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS
233 
234 enum {
235  AE_PRECAPTURE_TRIGGER = 10001,
236  NOISE_REDUCTION_MODE = 10002,
237  COLOR_CORRECTION_ABERRATION_MODE = 10003,
238  AE_STATE = 10004,
239  AWB_STATE = 10005,
240  SENSOR_ROLLING_SHUTTER_SKEW = 10006,
241  LENS_SHADING_MAP_MODE = 10007,
242  PIPELINE_DEPTH = 10008,
243  MAX_LATENCY = 10009,
244  TEST_PATTERN_MODE = 10010,
245 };
246 
251 };
252 extern const std::array<const ControlValue, 3> AePrecaptureTriggerValues;
253 extern const std::map<std::string, int32_t> AePrecaptureTriggerNameValueMap;
261 };
262 extern const std::array<const ControlValue, 5> NoiseReductionModeValues;
263 extern const std::map<std::string, int32_t> NoiseReductionModeNameValueMap;
269 };
270 extern const std::array<const ControlValue, 3> ColorCorrectionAberrationModeValues;
271 extern const std::map<std::string, int32_t> ColorCorrectionAberrationModeNameValueMap;
280 };
281 extern const std::array<const ControlValue, 6> AeStateValues;
282 extern const std::map<std::string, int32_t> AeStateNameValueMap;
283 extern const Control<int32_t> AeState;
288  AwbLocked = 3,
289 };
290 extern const std::array<const ControlValue, 4> AwbStateValues;
291 extern const std::map<std::string, int32_t> AwbStateNameValueMap;
292 extern const Control<int32_t> AwbState;
297 };
298 extern const std::array<const ControlValue, 2> LensShadingMapModeValues;
299 extern const std::map<std::string, int32_t> LensShadingMapModeNameValueMap;
301 extern const Control<int32_t> PipelineDepth;
302 extern const Control<int32_t> MaxLatency;
310 };
311 extern const std::array<const ControlValue, 6> TestPatternModeValues;
312 extern const std::map<std::string, int32_t> TestPatternModeNameValueMap;
313 extern const Control<int32_t> TestPatternMode;
314 
315 } /* namespace draft */
316 
317 
318 } /* namespace controls */
319 
320 } /* namespace libcamera */
Custom constraint mode.
Definition: control_ids.h:84
const std::array< const ControlValue, 6 > TestPatternModeValues
List of all TestPatternMode supported values.
Highlight constraint mode. This mode adjusts the exposure levels in order to try and avoid over-expos...
Definition: control_ids.h:82
Exposure mode allowing only short exposure times.
Definition: control_ids.h:91
Default constraint mode. This mode aims to balance the exposure of different parts of the image so as...
Definition: control_ids.h:81
Multiple frames will be combined to produce "night mode" images. It is up to the implementation exact...
Definition: control_ids.h:211
Noise reduction is applied at different levels to different streams.
Definition: control_ids.h:260
AeFlickerModeEnum
Supported AeFlickerMode values.
Definition: control_ids.h:101
const Control< float > Saturation
Specify a fixed saturation parameter. Normal saturation is given by the value 1.0; larger values prod...
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition: control_ids.h:192
const Control< int32_t > AeFlickerMode
Set the flicker mode, which determines whether, and how, the AGC/AEC algorithm attempts to hide flick...
Incandescent AWB lamp mode.
Definition: control_ids.h:117
const Control< float > AnalogueGain
Analogue gain value applied in the sensor device. The value of the control specifies the gain multipl...
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:256
const Control< int32_t > AfMode
Control to set 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. ColourGains can only be appl...
const Control< Span< const Rectangle > > AfWindows
Sets the focus windows used by the AF algorithm when AfMetering is set to AfMeteringWindows. The units used are pixels within the rectangle returned by the ScalerCropMaximum property.
The AF algorithm is in continuous mode. This means that the lens can re-start a scan spontaneously at...
Definition: control_ids.h:145
Multiple exposures will be generated and merged to create HDR images. Each image will be tagged with ...
Definition: control_ids.h:209
Custom exposure mode.
Definition: control_ids.h:93
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:160
const std::array< const ControlValue, 5 > NoiseReductionModeValues
List of all NoiseReductionMode supported values.
AwbModeEnum
Supported AwbMode values.
Definition: control_ids.h:115
const Control< int32_t > AfPauseState
Only applicable in continuous (AfModeContinuous) mode, this reports whether the algorithm is currentl...
This is a long exposure image.
Definition: control_ids.h:220
AfSpeedEnum
Supported AfSpeed values.
Definition: control_ids.h:158
All pixel data is replaced with an 8-bar color pattern. The vertical bars (left-to-right) are as foll...
Definition: control_ids.h:306
const std::array< const ControlValue, 3 > AfModeValues
List of all AfMode supported values.
const Control< bool > AeEnable
Enable or disable the AE.
The AF algorithm is in auto mode. This means that the algorithm will never move the lens or change st...
Definition: control_ids.h:144
const Control< int32_t > AeFlickerDetected
Flicker period detected in microseconds. The value reported here indicates the currently detected fli...
Continuous AF is paused. No further state changes or lens movements will occur until the AfPauseResum...
Definition: control_ids.h:201
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:121
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:119
High quality noise reduction at the expense of frame rate.
Definition: control_ids.h:258
const Control< int32_t > ColourTemperature
Report the current estimate of the colour temperature, in kelvin, for this frame. The ColourTemperatu...
AePrecaptureTriggerEnum
Supported AePrecaptureTrigger values.
Definition: control_ids.h:247
Start an AF scan. Ignored if a scan is in progress.
Definition: control_ids.h:174
Top-level libcamera namespace.
Definition: backtrace.h:17
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:309
Each pixel in [R, G_even, G_odd, B] is replaced by its respective color channel provided in test patt...
Definition: control_ids.h:305
The AF algorithm should decide for itself where it will measure focus.
Definition: control_ids.h:166
const Control< float > Lux
Report an estimate of the current illuminance level in lux. The Lux control can only be returned in m...
The camera will cancel any active or completed metering sequence. The AE algorithm is reset to its in...
Definition: control_ids.h:250
Default exposure mode.
Definition: control_ids.h:90
The AF algorithm is in auto mode (AfModeAuto), and a scan has been started using the AfTrigger contro...
Definition: control_ids.h:191
AwbStateEnum
Supported AwbState values.
Definition: control_ids.h:284
Centre-weighted metering mode.
Definition: control_ids.h:72
The AF algorithm should use the rectangles defined by the AfWindows control to measure focus...
Definition: control_ids.h:167
Custom AWB mode.
Definition: control_ids.h:123
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:71
The AWB algorithm has converged.
Definition: control_ids.h:287
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. This is typically obtained by a thermal sensor...
Minimal noise reduction is applied without reducing the frame rate.
Definition: control_ids.h:259
const std::map< std::string, int32_t > AfTriggerNameValueMap
Map of all AfTrigger supported value names (in std::string format) to value.
The AE algorithm is inactive.
Definition: control_ids.h:274
const std::array< const ControlValue, 8 > AwbModeValues
List of all AwbMode supported values.
Spot metering mode.
Definition: control_ids.h:73
AeExposureModeEnum
Supported AeExposureMode values.
Definition: control_ids.h:89
Describe a control and its intrinsic properties.
Definition: controls.h:254
HDR is disabled. Metadata for this frame will not include the HdrChannel control. ...
Definition: control_ids.h:207
The AE algorithm is locked.
Definition: control_ids.h:277
const Control< int32_t > AePrecaptureTrigger
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
const Control< int32_t > AfState
Reports the current state of the AF algorithm in conjunction with the reported AfMode value and (in c...
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.
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. The modes supported are platform speci...
const Control< int32_t > AfRange
Control to set the range of focus distances that is scanned. An implementation may choose not to impl...
const Control< int32_t > TestPatternMode
Control to select the test pattern mode. Currently identical to ANDROID_SENSOR_TEST_PATTERN_MODE.
All pixel data is replaced by a pseudo-random sequence generated from a PN9 512-bit sequence (typical...
Definition: control_ids.h:308
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:159
const Control< int32_t > AfTrigger
This control starts an autofocus scan when AfMode is set to AfModeAuto, and can also be used to termi...
Pause the continuous autofocus algorithm immediately, whether or not any kind of scan is underway...
Definition: control_ids.h:181
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. This should describe the...
const std::array< const ControlValue, 6 > AeStateValues
List of all AeState supported values.
const Control< int32_t > AeConstraintMode
Specify a constraint mode for the AE algorithm to use. These determine how the measured scene brightn...
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, in the order R, Gr, Gb, B. These values are returned as numbers out of a 16-bit pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels control can only be returned in metadata.
Continuous AF is running and the algorithm may restart a scan spontaneously.
Definition: control_ids.h:199
Continuous AF has been sent an AfPauseDeferred control, and will pause as soon as any in-progress sca...
Definition: control_ids.h:200
Noise reduction is applied without reducing the frame rate.
Definition: control_ids.h:257
Shadows constraint mode. This mode adjusts the exposure levels in order to try and avoid under-exposi...
Definition: control_ids.h:83
const Control< int32_t > AwbState
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
const Control< int32_t > AeState
Control to report the current AE algorithm state. Currently identical to ANDROID_CONTROL_AE_STATE.
The trigger is idle.
Definition: control_ids.h:248
This is similar to AfPauseImmediate, and if the AfState is currently reporting AfStateFocused or AfSt...
Definition: control_ids.h:182
const Control< int32_t > AfMetering
Instruct the AF algorithm how it should decide which parts of the image should be used to measure foc...
const Control< float > Sharpness
A value of 0.0 means no sharpening. The minimum value means minimal sharpening, and shall be 0...
Cloudy AWB lighting mode.
Definition: control_ids.h:122
The AE algorithm has converged.
Definition: control_ids.h:276
const std::array< const ControlValue, 4 > AeMeteringModeValues
List of all AeMeteringMode supported values.
const Control< int32_t > ExposureTime
Exposure time (shutter speed) for the frame applied in the sensor device. This value is specified in ...
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:190
Indoor AWB lighting mode.
Definition: control_ids.h:120
Cancel an AF scan. This does not cause the lens to move anywhere else. Ignored if no scan is in progr...
Definition: control_ids.h:175
The pre-capture AE metering is started by the camera.
Definition: control_ids.h:249
No test pattern mode is used. The camera device returns frames from the image sensor.
Definition: control_ids.h:304
Resume continuous autofocus operation. The algorithm starts again from exactly where it left off...
Definition: control_ids.h:183
const Control< int32_t > AfSpeed
Control that determines whether the AF algorithm is to move the lens as quickly as possible or more s...
NoiseReductionModeEnum
Supported NoiseReductionMode values.
Definition: control_ids.h:255
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter. The EV parameter will only be applied if the AE algorithm i...
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. The metering modes determine which parts of the ...
AfPauseEnum
Supported AfPause values.
Definition: control_ids.h:180
The AE algorithm has started a pre-capture metering session.
Definition: control_ids.h:279
const Control< float > Gamma
Specify a fixed gamma value. Default must be 2.2 which closely mimics sRGB gamma. Note that this is c...
HdrChannelEnum
Supported HdrChannel values.
Definition: control_ids.h:216
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:285
AfPauseStateEnum
Supported AfPauseState values.
Definition: control_ids.h:198
const Control< int32_t > AfPause
This control has no effect except when in continuous autofocus mode (AfModeContinuous). It can be used to pause any lens movements while (for example) images are captured. The algorithm remains inactive until it is instructed to resume.
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. ...
This is a medium exposure image.
Definition: control_ids.h:219
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:268
TestPatternModeEnum
Supported TestPatternMode values.
Definition: control_ids.h:303
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. Positive values (up to 1.0) produce brighter images; negative v...
const Control< int32_t > HdrMode
Control to set the mode to be used for High Dynamic Range (HDR) imaging. HDR techniques typically inc...
Search over the whole colour temperature range.
Definition: control_ids.h:116
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:273
The AE algorithm would need a flash for good results.
Definition: control_ids.h:278
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:165
const std::array< const ControlValue, 3 > AeFlickerModeValues
List of all AeFlickerMode supported values.
const Control< int32_t > HdrChannel
This value is reported back to the application so that it can discover whether this capture correspon...
LensShadingMapModeEnum
Supported LensShadingMapMode values.
Definition: control_ids.h:294
No flicker avoidance is performed.
Definition: control_ids.h:102
const std::array< const ControlValue, 4 > AfStateValues
List of all AfState supported values.
AfTriggerEnum
Supported AfTrigger values.
Definition: control_ids.h:173
Multiple frames all at a single exposure will be used to create HDR images. These images should be re...
Definition: control_ids.h:210
Matrix metering mode.
Definition: control_ids.h:74
Tungsten AWB lamp mode.
Definition: control_ids.h:118
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:266
const Control< bool > AeLocked
Report the lock status of a running AE algorithm.
const ControlIdMap controls
List of all supported libcamera controls.
Definition: controls_ids.cpp:1645
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:307
This is a short exposure image.
Definition: control_ids.h:218
AfModeEnum
Supported AfMode values.
Definition: control_ids.h:142
const Control< int32_t > AeExposureMode
Specify an exposure mode for the AE algorithm to use. These specify how the desired total exposure is...
The AWB algorithm has not converged yet.
Definition: control_ids.h:286
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:217
Manual flicker avoidance. Suppress flicker effects caused by lighting running with a period specified...
Definition: control_ids.h:103
const Control< int32_t > AeFlickerPeriod
Manual flicker period in microseconds. This value sets the current flicker period to avoid...
The full range of focus distances is scanned just as with AfRangeNormal but this time including the v...
Definition: control_ids.h:153
The lens shading map mode is available.
Definition: control_ids.h:296
const Control< float > Contrast
Specify a fixed contrast parameter. Normal contrast is given by the value 1.0; larger values produce ...
Automatic flicker period detection and avoidance. The system will automatically determine the most li...
Definition: control_ids.h:104
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 std::map< std::string, int32_t > AeStateNameValueMap
Map of all AeState supported value names (in std::string format) to value.
const Control< float > LensPosition
Acts as a control to instruct the lens to move to a particular position and also reports back the pos...
AeConstraintModeEnum
Supported AeConstraintMode values.
Definition: control_ids.h:80
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:303
ColorCorrectionAberrationModeEnum
Supported ColorCorrectionAberrationMode values.
Definition: control_ids.h:265
No lens shading map mode is available.
Definition: control_ids.h:295
Multiple exposures will be generated in an alternating fashion. However, they will not be merged toge...
Definition: control_ids.h:208
HdrModeEnum
Supported HdrMode values.
Definition: control_ids.h:206
Exposure mode allowing long exposure times.
Definition: control_ids.h:92
const Control< int32_t > FocusFoM
Reports a Figure of Merit (FoM) to indicate how in-focus the frame is. A larger FocusFoM value indica...
A wide range of focus distances is scanned, all the way from infinity down to close distances...
Definition: control_ids.h:151
Custom metering mode.
Definition: control_ids.h:75
The AF algorithm is in manual mode. In this mode it will never perform any action nor move the lens o...
Definition: control_ids.h:143
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition: control_ids.h:193
Only close distances are scanned.
Definition: control_ids.h:152
AfStateEnum
Supported AfState values.
Definition: control_ids.h:189
const std::map< std::string, int32_t > AfRangeNameValueMap
Map of all AfRange supported value names (in std::string format) to value.
The AE algorithm has not converged yet.
Definition: control_ids.h:275
const std::map< std::string, int32_t > AfMeteringNameValueMap
Map of all AfMetering supported value names (in std::string format) to value.
AfRangeEnum
Supported AfRange values.
Definition: control_ids.h:150
Aberration correction will not slow down the frame rate.
Definition: control_ids.h:267
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. This control is meant to be returned in metadata.
const Control< Rectangle > ScalerCrop
Sets the image portion that will be scaled to form the whole of the final output image. The (x,y) location of this rectangle is relative to the PixelArrayActiveAreas that is being used. The units remain native sensor pixels, even if the sensor is being used in a binning or skipping mode.