libcamera: /build/libcamera/src/build/include/libcamera/control_ids.h Source File

libcamera v0.3.2 Supporting cameras in Linux since 2019

Loading...
Searching...
No Matches
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
19namespace libcamera {
20
21 namespace controls {
22
23extern const ControlIdMap controls;
24
25enum {
26 AE_ENABLE = 1,
27 AE_LOCKED = 2,
28 AE_METERING_MODE = 3,
29 AE_CONSTRAINT_MODE = 4,
30 AE_EXPOSURE_MODE = 5,
31 EXPOSURE_VALUE = 6,
32 EXPOSURE_TIME = 7,
33 ANALOGUE_GAIN = 8,
34 AE_FLICKER_MODE = 9,
35 AE_FLICKER_PERIOD = 10,
36 AE_FLICKER_DETECTED = 11,
37 BRIGHTNESS = 12,
38 CONTRAST = 13,
39 LUX = 14,
40 AWB_ENABLE = 15,
41 AWB_MODE = 16,
42 AWB_LOCKED = 17,
43 COLOUR_GAINS = 18,
44 COLOUR_TEMPERATURE = 19,
45 SATURATION = 20,
46 SENSOR_BLACK_LEVELS = 21,
47 SHARPNESS = 22,
48 FOCUS_FO_M = 23,
49 COLOUR_CORRECTION_MATRIX = 24,
50 SCALER_CROP = 25,
51 DIGITAL_GAIN = 26,
52 FRAME_DURATION = 27,
53 FRAME_DURATION_LIMITS = 28,
54 SENSOR_TEMPERATURE = 29,
55 SENSOR_TIMESTAMP = 30,
56 AF_MODE = 31,
57 AF_RANGE = 32,
58 AF_SPEED = 33,
59 AF_METERING = 34,
60 AF_WINDOWS = 35,
61 AF_TRIGGER = 36,
62 AF_PAUSE = 37,
63 LENS_POSITION = 38,
64 AF_STATE = 39,
65 AF_PAUSE_STATE = 40,
66 HDR_MODE = 41,
67 HDR_CHANNEL = 42,
68 GAMMA = 43,
69};
70
71extern const Control<bool> AeEnable;
72extern const Control<bool> AeLocked;
73 enum AeMeteringModeEnum {
74 MeteringCentreWeighted = 0,
75 MeteringSpot = 1,
76 MeteringMatrix = 2,
77 MeteringCustom = 3,
78};
79extern const std::array<const ControlValue, 4> AeMeteringModeValues;
80extern const std::map<std::string, int32_t> AeMeteringModeNameValueMap;
81extern const Control<int32_t> AeMeteringMode;
82 enum AeConstraintModeEnum {
83 ConstraintNormal = 0,
84 ConstraintHighlight = 1,
85 ConstraintShadows = 2,
86 ConstraintCustom = 3,
87};
88extern const std::array<const ControlValue, 4> AeConstraintModeValues;
89extern const std::map<std::string, int32_t> AeConstraintModeNameValueMap;
90extern const Control<int32_t> AeConstraintMode;
91 enum AeExposureModeEnum {
92 ExposureNormal = 0,
93 ExposureShort = 1,
94 ExposureLong = 2,
95 ExposureCustom = 3,
96};
97extern const std::array<const ControlValue, 4> AeExposureModeValues;
98extern const std::map<std::string, int32_t> AeExposureModeNameValueMap;
99extern const Control<int32_t> AeExposureMode;
100extern const Control<float> ExposureValue;
101extern const Control<int32_t> ExposureTime;
102extern const Control<float> AnalogueGain;
103 enum AeFlickerModeEnum {
104 FlickerOff = 0,
105 FlickerManual = 1,
106 FlickerAuto = 2,
107};
108extern const std::array<const ControlValue, 3> AeFlickerModeValues;
109extern const std::map<std::string, int32_t> AeFlickerModeNameValueMap;
110extern const Control<int32_t> AeFlickerMode;
111extern const Control<int32_t> AeFlickerPeriod;
112extern const Control<int32_t> AeFlickerDetected;
113extern const Control<float> Brightness;
114extern const Control<float> Contrast;
115extern const Control<float> Lux;
116extern const Control<bool> AwbEnable;
117 enum AwbModeEnum {
118 AwbAuto = 0,
119 AwbIncandescent = 1,
120 AwbTungsten = 2,
121 AwbFluorescent = 3,
122 AwbIndoor = 4,
123 AwbDaylight = 5,
124 AwbCloudy = 6,
125 AwbCustom = 7,
126};
127extern const std::array<const ControlValue, 8> AwbModeValues;
128extern const std::map<std::string, int32_t> AwbModeNameValueMap;
129extern const Control<int32_t> AwbMode;
130extern const Control<bool> AwbLocked;
131extern const Control<Span<const float, 2>> ColourGains;
132extern const Control<int32_t> ColourTemperature;
133extern const Control<float> Saturation;
134extern const Control<Span<const int32_t, 4>> SensorBlackLevels;
135extern const Control<float> Sharpness;
136extern const Control<int32_t> FocusFoM;
137extern const Control<Span<const float, 9>> ColourCorrectionMatrix;
138extern const Control<Rectangle> ScalerCrop;
139extern const Control<float> DigitalGain;
140extern const Control<int64_t> FrameDuration;
141extern const Control<Span<const int64_t, 2>> FrameDurationLimits;
142extern const Control<float> SensorTemperature;
143extern const Control<int64_t> SensorTimestamp;
144 enum AfModeEnum {
145 AfModeManual = 0,
146 AfModeAuto = 1,
147 AfModeContinuous = 2,
148};
149extern const std::array<const ControlValue, 3> AfModeValues;
150extern const std::map<std::string, int32_t> AfModeNameValueMap;
151extern const Control<int32_t> AfMode;
152 enum AfRangeEnum {
153 AfRangeNormal = 0,
154 AfRangeMacro = 1,
155 AfRangeFull = 2,
156};
157extern const std::array<const ControlValue, 3> AfRangeValues;
158extern const std::map<std::string, int32_t> AfRangeNameValueMap;
159extern const Control<int32_t> AfRange;
160 enum AfSpeedEnum {
161 AfSpeedNormal = 0,
162 AfSpeedFast = 1,
163};
164extern const std::array<const ControlValue, 2> AfSpeedValues;
165extern const std::map<std::string, int32_t> AfSpeedNameValueMap;
166extern const Control<int32_t> AfSpeed;
167 enum AfMeteringEnum {
168 AfMeteringAuto = 0,
169 AfMeteringWindows = 1,
170};
171extern const std::array<const ControlValue, 2> AfMeteringValues;
172extern const std::map<std::string, int32_t> AfMeteringNameValueMap;
173extern const Control<int32_t> AfMetering;
174extern const Control<Span<const Rectangle>> AfWindows;
175 enum AfTriggerEnum {
176 AfTriggerStart = 0,
177 AfTriggerCancel = 1,
178};
179extern const std::array<const ControlValue, 2> AfTriggerValues;
180extern const std::map<std::string, int32_t> AfTriggerNameValueMap;
181extern const Control<int32_t> AfTrigger;
182 enum AfPauseEnum {
183 AfPauseImmediate = 0,
184 AfPauseDeferred = 1,
185 AfPauseResume = 2,
186};
187extern const std::array<const ControlValue, 3> AfPauseValues;
188extern const std::map<std::string, int32_t> AfPauseNameValueMap;
189extern const Control<int32_t> AfPause;
190extern const Control<float> LensPosition;
191 enum AfStateEnum {
192 AfStateIdle = 0,
193 AfStateScanning = 1,
194 AfStateFocused = 2,
195 AfStateFailed = 3,
196};
197extern const std::array<const ControlValue, 4> AfStateValues;
198extern const std::map<std::string, int32_t> AfStateNameValueMap;
199extern const Control<int32_t> AfState;
200 enum AfPauseStateEnum {
201 AfPauseStateRunning = 0,
202 AfPauseStatePausing = 1,
203 AfPauseStatePaused = 2,
204};
205extern const std::array<const ControlValue, 3> AfPauseStateValues;
206extern const std::map<std::string, int32_t> AfPauseStateNameValueMap;
207extern const Control<int32_t> AfPauseState;
208 enum HdrModeEnum {
209 HdrModeOff = 0,
210 HdrModeMultiExposureUnmerged = 1,
211 HdrModeMultiExposure = 2,
212 HdrModeSingleExposure = 3,
213 HdrModeNight = 4,
214};
215extern const std::array<const ControlValue, 5> HdrModeValues;
216extern const std::map<std::string, int32_t> HdrModeNameValueMap;
217extern const Control<int32_t> HdrMode;
218 enum HdrChannelEnum {
219 HdrChannelNone = 0,
220 HdrChannelShort = 1,
221 HdrChannelMedium = 2,
222 HdrChannelLong = 3,
223};
224extern const std::array<const ControlValue, 4> HdrChannelValues;
225extern const std::map<std::string, int32_t> HdrChannelNameValueMap;
226extern const Control<int32_t> HdrChannel;
227extern const Control<float> Gamma;
228
229 namespace draft {
230
231#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS
232
233enum {
234 AE_PRECAPTURE_TRIGGER = 10001,
235 NOISE_REDUCTION_MODE = 10002,
236 COLOR_CORRECTION_ABERRATION_MODE = 10003,
237 AE_STATE = 10004,
238 AWB_STATE = 10005,
239 SENSOR_ROLLING_SHUTTER_SKEW = 10006,
240 LENS_SHADING_MAP_MODE = 10007,
241 PIPELINE_DEPTH = 10008,
242 MAX_LATENCY = 10009,
243 TEST_PATTERN_MODE = 10010,
244};
245
246 enum AePrecaptureTriggerEnum {
247 AePrecaptureTriggerIdle = 0,
248 AePrecaptureTriggerStart = 1,
249 AePrecaptureTriggerCancel = 2,
250};
251extern const std::array<const ControlValue, 3> AePrecaptureTriggerValues;
252extern const std::map<std::string, int32_t> AePrecaptureTriggerNameValueMap;
253extern const Control<int32_t> AePrecaptureTrigger;
254 enum NoiseReductionModeEnum {
255 NoiseReductionModeOff = 0,
256 NoiseReductionModeFast = 1,
257 NoiseReductionModeHighQuality = 2,
258 NoiseReductionModeMinimal = 3,
259 NoiseReductionModeZSL = 4,
260};
261extern const std::array<const ControlValue, 5> NoiseReductionModeValues;
262extern const std::map<std::string, int32_t> NoiseReductionModeNameValueMap;
263extern const Control<int32_t> NoiseReductionMode;
264 enum ColorCorrectionAberrationModeEnum {
265 ColorCorrectionAberrationOff = 0,
266 ColorCorrectionAberrationFast = 1,
267 ColorCorrectionAberrationHighQuality = 2,
268};
269extern const std::array<const ControlValue, 3> ColorCorrectionAberrationModeValues;
270extern const std::map<std::string, int32_t> ColorCorrectionAberrationModeNameValueMap;
271extern const Control<int32_t> ColorCorrectionAberrationMode;
272 enum AeStateEnum {
273 AeStateInactive = 0,
274 AeStateSearching = 1,
275 AeStateConverged = 2,
276 AeStateLocked = 3,
277 AeStateFlashRequired = 4,
278 AeStatePrecapture = 5,
279};
280extern const std::array<const ControlValue, 6> AeStateValues;
281extern const std::map<std::string, int32_t> AeStateNameValueMap;
282extern const Control<int32_t> AeState;
283 enum AwbStateEnum {
284 AwbStateInactive = 0,
285 AwbStateSearching = 1,
286 AwbConverged = 2,
287 AwbLocked = 3,
288};
289extern const std::array<const ControlValue, 4> AwbStateValues;
290extern const std::map<std::string, int32_t> AwbStateNameValueMap;
291extern const Control<int32_t> AwbState;
292extern const Control<int64_t> SensorRollingShutterSkew;
293 enum LensShadingMapModeEnum {
294 LensShadingMapModeOff = 0,
295 LensShadingMapModeOn = 1,
296};
297extern const std::array<const ControlValue, 2> LensShadingMapModeValues;
298extern const std::map<std::string, int32_t> LensShadingMapModeNameValueMap;
299extern const Control<int32_t> LensShadingMapMode;
300extern const Control<int32_t> PipelineDepth;
301extern const Control<int32_t> MaxLatency;
302 enum TestPatternModeEnum {
303 TestPatternModeOff = 0,
304 TestPatternModeSolidColor = 1,
305 TestPatternModeColorBars = 2,
306 TestPatternModeColorBarsFadeToGray = 3,
307 TestPatternModePn9 = 4,
308 TestPatternModeCustom1 = 256,
309};
310extern const std::array<const ControlValue, 6> TestPatternModeValues;
311extern const std::map<std::string, int32_t> TestPatternModeNameValueMap;
312extern const Control<int32_t> TestPatternMode;
313
314} /* namespace draft */
315
316 namespace rpi {
317
318#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS
319
320enum {
321 STATS_OUTPUT_ENABLE = 20001,
322 BCM2835_STATS_OUTPUT = 20002,
323};
324
325extern const Control<bool> StatsOutputEnable;
326extern const Control<Span<const uint8_t>> Bcm2835StatsOutput;
327
328} /* namespace rpi */
329
330} /* namespace controls */
331
332} /* namespace libcamera */
libcamera::Control
Describe a control and its intrinsic properties.
Definition controls.h:255
controls.h
Framework to manage controls related to an object.
libcamera::controls::draft::NoiseReductionMode
const Control< int32_t > NoiseReductionMode
Control to select the noise reduction algorithm mode. Currently identical to ANDROID_NOISE_REDUCTION_...
libcamera::controls::draft::TestPatternMode
const Control< int32_t > TestPatternMode
Control to select the test pattern mode. Currently identical to ANDROID_SENSOR_TEST_PATTERN_MODE.
libcamera::controls::draft::AwbStateValues
const std::array< const ControlValue, 4 > AwbStateValues
List of all AwbState supported values.
libcamera::controls::draft::LensShadingMapModeNameValueMap
const std::map< std::string, int32_t > LensShadingMapModeNameValueMap
Map of all LensShadingMapMode supported value names (in std::string format) to value.
libcamera::controls::draft::AeStateEnum
AeStateEnum
Supported AeState values.
Definition control_ids.h:272
libcamera::controls::draft::AeStateLocked
@ AeStateLocked
The AE algorithm is locked.
Definition control_ids.h:276
libcamera::controls::draft::AeStateInactive
@ AeStateInactive
The AE algorithm is inactive.
Definition control_ids.h:273
libcamera::controls::draft::AeStateFlashRequired
@ AeStateFlashRequired
The AE algorithm would need a flash for good results.
Definition control_ids.h:277
libcamera::controls::draft::AeStateSearching
@ AeStateSearching
The AE algorithm has not converged yet.
Definition control_ids.h:274
libcamera::controls::draft::AeStatePrecapture
@ AeStatePrecapture
The AE algorithm has started a pre-capture metering session.
Definition control_ids.h:278
libcamera::controls::draft::AeStateConverged
@ AeStateConverged
The AE algorithm has converged.
Definition control_ids.h:275
libcamera::controls::draft::NoiseReductionModeEnum
NoiseReductionModeEnum
Supported NoiseReductionMode values.
Definition control_ids.h:254
libcamera::controls::draft::NoiseReductionModeHighQuality
@ NoiseReductionModeHighQuality
High quality noise reduction at the expense of frame rate.
Definition control_ids.h:257
libcamera::controls::draft::NoiseReductionModeMinimal
@ NoiseReductionModeMinimal
Minimal noise reduction is applied without reducing the frame rate.
Definition control_ids.h:258
libcamera::controls::draft::NoiseReductionModeOff
@ NoiseReductionModeOff
No noise reduction is applied.
Definition control_ids.h:255
libcamera::controls::draft::NoiseReductionModeZSL
@ NoiseReductionModeZSL
Noise reduction is applied at different levels to different streams.
Definition control_ids.h:259
libcamera::controls::draft::NoiseReductionModeFast
@ NoiseReductionModeFast
Noise reduction is applied without reducing the frame rate.
Definition control_ids.h:256
libcamera::controls::draft::AwbStateEnum
AwbStateEnum
Supported AwbState values.
Definition control_ids.h:283
libcamera::controls::draft::AwbConverged
@ AwbConverged
The AWB algorithm has converged.
Definition control_ids.h:286
libcamera::controls::draft::AwbStateSearching
@ AwbStateSearching
The AWB algorithm has not converged yet.
Definition control_ids.h:285
libcamera::controls::draft::AwbStateInactive
@ AwbStateInactive
The AWB algorithm is inactive.
Definition control_ids.h:284
libcamera::controls::draft::AwbLocked
@ AwbLocked
The AWB algorithm is locked.
Definition control_ids.h:287
libcamera::controls::draft::AwbState
const Control< int32_t > AwbState
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
libcamera::controls::draft::AePrecaptureTriggerValues
const std::array< const ControlValue, 3 > AePrecaptureTriggerValues
List of all AePrecaptureTrigger supported values.
libcamera::controls::draft::LensShadingMapMode
const Control< int32_t > LensShadingMapMode
Control to report if the lens shading map is available. Currently identical to ANDROID_STATISTICS_LEN...
libcamera::controls::draft::ColorCorrectionAberrationMode
const Control< int32_t > ColorCorrectionAberrationMode
Control to select the color correction aberration mode. Currently identical to ANDROID_COLOR_CORRECTI...
libcamera::controls::draft::AeStateNameValueMap
const std::map< std::string, int32_t > AeStateNameValueMap
Map of all AeState supported value names (in std::string format) to value.
libcamera::controls::draft::TestPatternModeValues
const std::array< const ControlValue, 6 > TestPatternModeValues
List of all TestPatternMode supported values.
libcamera::controls::draft::MaxLatency
const Control< int32_t > MaxLatency
The maximum number of frames that can occur after a request (different than the previous) has been su...
libcamera::controls::draft::ColorCorrectionAberrationModeValues
const std::array< const ControlValue, 3 > ColorCorrectionAberrationModeValues
List of all ColorCorrectionAberrationMode supported values.
libcamera::controls::draft::PipelineDepth
const Control< int32_t > PipelineDepth
Specifies the number of pipeline stages the frame went through from when it was exposed to when the f...
libcamera::controls::draft::LensShadingMapModeEnum
LensShadingMapModeEnum
Supported LensShadingMapMode values.
Definition control_ids.h:293
libcamera::controls::draft::LensShadingMapModeOn
@ LensShadingMapModeOn
The lens shading map mode is available.
Definition control_ids.h:295
libcamera::controls::draft::LensShadingMapModeOff
@ LensShadingMapModeOff
No lens shading map mode is available.
Definition control_ids.h:294
libcamera::controls::draft::NoiseReductionModeValues
const std::array< const ControlValue, 5 > NoiseReductionModeValues
List of all NoiseReductionMode supported values.
libcamera::controls::draft::AeStateValues
const std::array< const ControlValue, 6 > AeStateValues
List of all AeState supported values.
libcamera::controls::draft::ColorCorrectionAberrationModeNameValueMap
const std::map< std::string, int32_t > ColorCorrectionAberrationModeNameValueMap
Map of all ColorCorrectionAberrationMode supported value names (in std::string format) to value.
libcamera::controls::draft::TestPatternModeEnum
TestPatternModeEnum
Supported TestPatternMode values.
Definition control_ids.h:302
libcamera::controls::draft::TestPatternModeSolidColor
@ TestPatternModeSolidColor
Each pixel in [R, G_even, G_odd, B] is replaced by its respective color channel provided in test patt...
Definition control_ids.h:304
libcamera::controls::draft::TestPatternModeCustom1
@ TestPatternModeCustom1
The first custom test pattern. All custom patterns that are available only on this camera device are ...
Definition control_ids.h:308
libcamera::controls::draft::TestPatternModeOff
@ TestPatternModeOff
No test pattern mode is used. The camera device returns frames from the image sensor.
Definition control_ids.h:303
libcamera::controls::draft::TestPatternModeColorBarsFadeToGray
@ TestPatternModeColorBarsFadeToGray
The test pattern is similar to TestPatternModeColorBars, except that each bar should start at its spe...
Definition control_ids.h:306
libcamera::controls::draft::TestPatternModePn9
@ TestPatternModePn9
All pixel data is replaced by a pseudo-random sequence generated from a PN9 512-bit sequence (typical...
Definition control_ids.h:307
libcamera::controls::draft::TestPatternModeColorBars
@ TestPatternModeColorBars
All pixel data is replaced with an 8-bar color pattern. The vertical bars (left-to-right) are as foll...
Definition control_ids.h:305
libcamera::controls::draft::NoiseReductionModeNameValueMap
const std::map< std::string, int32_t > NoiseReductionModeNameValueMap
Map of all NoiseReductionMode supported value names (in std::string format) to value.
libcamera::controls::draft::AwbStateNameValueMap
const std::map< std::string, int32_t > AwbStateNameValueMap
Map of all AwbState supported value names (in std::string format) to value.
libcamera::controls::draft::AePrecaptureTrigger
const Control< int32_t > AePrecaptureTrigger
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
libcamera::controls::draft::TestPatternModeNameValueMap
const std::map< std::string, int32_t > TestPatternModeNameValueMap
Map of all TestPatternMode supported value names (in std::string format) to value.
libcamera::controls::draft::SensorRollingShutterSkew
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...
libcamera::controls::draft::ColorCorrectionAberrationModeEnum
ColorCorrectionAberrationModeEnum
Supported ColorCorrectionAberrationMode values.
Definition control_ids.h:264
libcamera::controls::draft::ColorCorrectionAberrationOff
@ ColorCorrectionAberrationOff
No aberration correction is applied.
Definition control_ids.h:265
libcamera::controls::draft::ColorCorrectionAberrationFast
@ ColorCorrectionAberrationFast
Aberration correction will not slow down the frame rate.
Definition control_ids.h:266
libcamera::controls::draft::ColorCorrectionAberrationHighQuality
@ ColorCorrectionAberrationHighQuality
High quality aberration correction which might reduce the frame rate.
Definition control_ids.h:267
libcamera::controls::draft::AeState
const Control< int32_t > AeState
Control to report the current AE algorithm state. Currently identical to ANDROID_CONTROL_AE_STATE.
libcamera::controls::draft::AePrecaptureTriggerNameValueMap
const std::map< std::string, int32_t > AePrecaptureTriggerNameValueMap
Map of all AePrecaptureTrigger supported value names (in std::string format) to value.
libcamera::controls::draft::LensShadingMapModeValues
const std::array< const ControlValue, 2 > LensShadingMapModeValues
List of all LensShadingMapMode supported values.
libcamera::controls::draft::AePrecaptureTriggerEnum
AePrecaptureTriggerEnum
Supported AePrecaptureTrigger values.
Definition control_ids.h:246
libcamera::controls::draft::AePrecaptureTriggerIdle
@ AePrecaptureTriggerIdle
The trigger is idle.
Definition control_ids.h:247
libcamera::controls::draft::AePrecaptureTriggerStart
@ AePrecaptureTriggerStart
The pre-capture AE metering is started by the camera.
Definition control_ids.h:248
libcamera::controls::draft::AePrecaptureTriggerCancel
@ AePrecaptureTriggerCancel
The camera will cancel any active or completed metering sequence. The AE algorithm is reset to its in...
Definition control_ids.h:249
libcamera::controls::rpi::Bcm2835StatsOutput
const Control< Span< const uint8_t > > Bcm2835StatsOutput
Span of the BCM2835 ISP generated statistics for the current frame.
libcamera::controls::rpi::StatsOutputEnable
const Control< bool > StatsOutputEnable
Toggles the Raspberry Pi IPA to output the hardware generated statistics.
libcamera::controls::AfRange
const Control< int32_t > AfRange
The range of focus distances that is scanned.
libcamera::controls::AfState
const Control< int32_t > AfState
The current state of the AF algorithm.
libcamera::controls::AnalogueGain
const Control< float > AnalogueGain
Analogue gain value applied in the sensor device.
libcamera::controls::AfRangeValues
const std::array< const ControlValue, 3 > AfRangeValues
List of all AfRange supported values.
libcamera::controls::Saturation
const Control< float > Saturation
Specify a fixed saturation parameter.
libcamera::controls::AfSpeedValues
const std::array< const ControlValue, 2 > AfSpeedValues
List of all AfSpeed supported values.
libcamera::controls::ExposureTime
const Control< int32_t > ExposureTime
Exposure time (shutter speed) for the frame applied in the sensor device.
libcamera::controls::ScalerCrop
const Control< Rectangle > ScalerCrop
Sets the image portion that will be scaled to form the whole of the final output image.
libcamera::controls::HdrChannel
const Control< int32_t > HdrChannel
The HDR channel used to capture the frame.
libcamera::controls::AfModeEnum
AfModeEnum
Supported AfMode values.
Definition control_ids.h:144
libcamera::controls::AfModeAuto
@ AfModeAuto
The AF algorithm is in auto mode.
Definition control_ids.h:146
libcamera::controls::AfModeContinuous
@ AfModeContinuous
The AF algorithm is in continuous mode.
Definition control_ids.h:147
libcamera::controls::AfModeManual
@ AfModeManual
The AF algorithm is in manual mode.
Definition control_ids.h:145
libcamera::controls::AfPauseEnum
AfPauseEnum
Supported AfPause values.
Definition control_ids.h:182
libcamera::controls::AfPauseImmediate
@ AfPauseImmediate
Pause the continuous autofocus algorithm immediately.
Definition control_ids.h:183
libcamera::controls::AfPauseResume
@ AfPauseResume
Resume continuous autofocus operation.
Definition control_ids.h:185
libcamera::controls::AfPauseDeferred
@ AfPauseDeferred
Pause the continuous autofocus algorithm at the end of the scan.
Definition control_ids.h:184
libcamera::controls::AfWindows
const Control< Span< const Rectangle > > AfWindows
The focus windows used by the AF algorithm when AfMetering is set to AfMeteringWindows.
libcamera::controls::AeFlickerModeValues
const std::array< const ControlValue, 3 > AeFlickerModeValues
List of all AeFlickerMode supported values.
libcamera::controls::AfTriggerValues
const std::array< const ControlValue, 2 > AfTriggerValues
List of all AfTrigger supported values.
libcamera::controls::AfModeValues
const std::array< const ControlValue, 3 > AfModeValues
List of all AfMode supported values.
libcamera::controls::AeMeteringModeValues
const std::array< const ControlValue, 4 > AeMeteringModeValues
List of all AeMeteringMode supported values.
libcamera::controls::AfPauseValues
const std::array< const ControlValue, 3 > AfPauseValues
List of all AfPause supported values.
libcamera::controls::AwbEnable
const Control< bool > AwbEnable
Enable or disable the AWB.
libcamera::controls::AfTriggerEnum
AfTriggerEnum
Supported AfTrigger values.
Definition control_ids.h:175
libcamera::controls::AfTriggerCancel
@ AfTriggerCancel
Cancel an AF scan.
Definition control_ids.h:177
libcamera::controls::AfTriggerStart
@ AfTriggerStart
Start an AF scan.
Definition control_ids.h:176
libcamera::controls::AfMeteringNameValueMap
const std::map< std::string, int32_t > AfMeteringNameValueMap
Map of all AfMetering supported value names (in std::string format) to value.
libcamera::controls::AwbMode
const Control< int32_t > AwbMode
Specify the range of illuminants to use for the AWB algorithm.
libcamera::controls::ExposureValue
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter.
libcamera::controls::AfPause
const Control< int32_t > AfPause
Pause lens movements when in continuous autofocus mode.
libcamera::controls::LensPosition
const Control< float > LensPosition
Set and report the focus lens position.
libcamera::controls::AfStateEnum
AfStateEnum
Supported AfState values.
Definition control_ids.h:191
libcamera::controls::AfStateScanning
@ AfStateScanning
The AF algorithm is in auto mode (AfModeAuto), and a scan has been started using the AfTrigger contro...
Definition control_ids.h:193
libcamera::controls::AfStateIdle
@ AfStateIdle
The AF algorithm is in manual mode (AfModeManual) or in auto mode (AfModeAuto) and a scan has not yet...
Definition control_ids.h:192
libcamera::controls::AfStateFailed
@ AfStateFailed
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:195
libcamera::controls::AfStateFocused
@ AfStateFocused
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:194
libcamera::controls::AfStateValues
const std::array< const ControlValue, 4 > AfStateValues
List of all AfState supported values.
libcamera::controls::AeExposureModeValues
const std::array< const ControlValue, 4 > AeExposureModeValues
List of all AeExposureMode supported values.
libcamera::controls::AfMeteringValues
const std::array< const ControlValue, 2 > AfMeteringValues
List of all AfMetering supported values.
libcamera::controls::AeMeteringModeNameValueMap
const std::map< std::string, int32_t > AeMeteringModeNameValueMap
Map of all AeMeteringMode supported value names (in std::string format) to value.
libcamera::controls::AeExposureMode
const Control< int32_t > AeExposureMode
Specify an exposure mode for the AE algorithm to use.
libcamera::controls::AeFlickerPeriod
const Control< int32_t > AeFlickerPeriod
Manual flicker period in microseconds.
libcamera::controls::AfSpeed
const Control< int32_t > AfSpeed
Determine whether the AF is to move the lens as quickly as possible or more steadily.
libcamera::controls::SensorTemperature
const Control< float > SensorTemperature
Temperature measure from the camera sensor in Celsius.
libcamera::controls::HdrModeEnum
HdrModeEnum
Supported HdrMode values.
Definition control_ids.h:208
libcamera::controls::HdrModeNight
@ HdrModeNight
Multiple frames will be combined to produce "night mode" images.
Definition control_ids.h:213
libcamera::controls::HdrModeSingleExposure
@ HdrModeSingleExposure
Multiple frames all at a single exposure will be used to create HDR images.
Definition control_ids.h:212
libcamera::controls::HdrModeMultiExposureUnmerged
@ HdrModeMultiExposureUnmerged
Multiple exposures will be generated in an alternating fashion.
Definition control_ids.h:210
libcamera::controls::HdrModeMultiExposure
@ HdrModeMultiExposure
Multiple exposures will be generated and merged to create HDR images.
Definition control_ids.h:211
libcamera::controls::HdrModeOff
@ HdrModeOff
HDR is disabled.
Definition control_ids.h:209
libcamera::controls::AeFlickerModeNameValueMap
const std::map< std::string, int32_t > AeFlickerModeNameValueMap
Map of all AeFlickerMode supported value names (in std::string format) to value.
libcamera::controls::ColourGains
const Control< Span< const float, 2 > > ColourGains
Pair of gain values for the Red and Blue colour channels, in that order.
libcamera::controls::AfMode
const Control< int32_t > AfMode
The mode of the AF (autofocus) algorithm.
libcamera::controls::AeConstraintMode
const Control< int32_t > AeConstraintMode
Specify a constraint mode for the AE algorithm to use.
libcamera::controls::FocusFoM
const Control< int32_t > FocusFoM
Reports a Figure of Merit (FoM) to indicate how in-focus the frame is.
libcamera::controls::AwbModeEnum
AwbModeEnum
Supported AwbMode values.
Definition control_ids.h:117
libcamera::controls::AwbIncandescent
@ AwbIncandescent
Incandescent AWB lamp mode.
Definition control_ids.h:119
libcamera::controls::AwbDaylight
@ AwbDaylight
Daylight AWB lighting mode.
Definition control_ids.h:123
libcamera::controls::AwbAuto
@ AwbAuto
Search over the whole colour temperature range.
Definition control_ids.h:118
libcamera::controls::AwbTungsten
@ AwbTungsten
Tungsten AWB lamp mode.
Definition control_ids.h:120
libcamera::controls::AwbIndoor
@ AwbIndoor
Indoor AWB lighting mode.
Definition control_ids.h:122
libcamera::controls::AwbFluorescent
@ AwbFluorescent
Fluorescent AWB lamp mode.
Definition control_ids.h:121
libcamera::controls::AwbCloudy
@ AwbCloudy
Cloudy AWB lighting mode.
Definition control_ids.h:124
libcamera::controls::AwbCustom
@ AwbCustom
Custom AWB mode.
Definition control_ids.h:125
libcamera::controls::AfPauseNameValueMap
const std::map< std::string, int32_t > AfPauseNameValueMap
Map of all AfPause supported value names (in std::string format) to value.
libcamera::controls::controls
const ControlIdMap controls
List of all supported libcamera controls.
Definition control_ids.cpp:1808
libcamera::controls::HdrModeNameValueMap
const std::map< std::string, int32_t > HdrModeNameValueMap
Map of all HdrMode supported value names (in std::string format) to value.
libcamera::controls::HdrChannelNameValueMap
const std::map< std::string, int32_t > HdrChannelNameValueMap
Map of all HdrChannel supported value names (in std::string format) to value.
libcamera::controls::AfSpeedNameValueMap
const std::map< std::string, int32_t > AfSpeedNameValueMap
Map of all AfSpeed supported value names (in std::string format) to value.
libcamera::controls::AfRangeEnum
AfRangeEnum
Supported AfRange values.
Definition control_ids.h:152
libcamera::controls::AfRangeNormal
@ AfRangeNormal
A wide range of focus distances is scanned.
Definition control_ids.h:153
libcamera::controls::AfRangeMacro
@ AfRangeMacro
Only close distances are scanned.
Definition control_ids.h:154
libcamera::controls::AfRangeFull
@ AfRangeFull
The full range of focus distances is scanned.
Definition control_ids.h:155
libcamera::controls::AeExposureModeNameValueMap
const std::map< std::string, int32_t > AeExposureModeNameValueMap
Map of all AeExposureMode supported value names (in std::string format) to value.
libcamera::controls::AeFlickerDetected
const Control< int32_t > AeFlickerDetected
Flicker period detected in microseconds.
libcamera::controls::Sharpness
const Control< float > Sharpness
Intensity of the sharpening applied to the image.
libcamera::controls::AfPauseStateValues
const std::array< const ControlValue, 3 > AfPauseStateValues
List of all AfPauseState supported values.
libcamera::controls::AfMetering
const Control< int32_t > AfMetering
The parts of the image used by the AF algorithm to measure focus.
libcamera::controls::AeMeteringModeEnum
AeMeteringModeEnum
Supported AeMeteringMode values.
Definition control_ids.h:73
libcamera::controls::MeteringSpot
@ MeteringSpot
Spot metering mode.
Definition control_ids.h:75
libcamera::controls::MeteringMatrix
@ MeteringMatrix
Matrix metering mode.
Definition control_ids.h:76
libcamera::controls::MeteringCustom
@ MeteringCustom
Custom metering mode.
Definition control_ids.h:77
libcamera::controls::MeteringCentreWeighted
@ MeteringCentreWeighted
Centre-weighted metering mode.
Definition control_ids.h:74
libcamera::controls::ColourTemperature
const Control< int32_t > ColourTemperature
Report the estimate of the colour temperature for the frame, in kelvin.
libcamera::controls::AeExposureModeEnum
AeExposureModeEnum
Supported AeExposureMode values.
Definition control_ids.h:91
libcamera::controls::ExposureShort
@ ExposureShort
Exposure mode allowing only short exposure times.
Definition control_ids.h:93
libcamera::controls::ExposureNormal
@ ExposureNormal
Default exposure mode.
Definition control_ids.h:92
libcamera::controls::ExposureCustom
@ ExposureCustom
Custom exposure mode.
Definition control_ids.h:95
libcamera::controls::ExposureLong
@ ExposureLong
Exposure mode allowing long exposure times.
Definition control_ids.h:94
libcamera::controls::AwbLocked
const Control< bool > AwbLocked
Report the lock status of a running AWB algorithm.
libcamera::controls::AeFlickerMode
const Control< int32_t > AeFlickerMode
Set the flicker avoidance mode for AGC/AEC.
libcamera::controls::Brightness
const Control< float > Brightness
Specify a fixed brightness parameter.
libcamera::controls::AfPauseStateNameValueMap
const std::map< std::string, int32_t > AfPauseStateNameValueMap
Map of all AfPauseState supported value names (in std::string format) to value.
libcamera::controls::Lux
const Control< float > Lux
Report an estimate of the current illuminance level in lux.
libcamera::controls::AeConstraintModeValues
const std::array< const ControlValue, 4 > AeConstraintModeValues
List of all AeConstraintMode supported values.
libcamera::controls::AfStateNameValueMap
const std::map< std::string, int32_t > AfStateNameValueMap
Map of all AfState supported value names (in std::string format) to value.
libcamera::controls::DigitalGain
const Control< float > DigitalGain
Digital gain value applied during the processing steps applied to the image as captured from the sens...
libcamera::controls::AfModeNameValueMap
const std::map< std::string, int32_t > AfModeNameValueMap
Map of all AfMode supported value names (in std::string format) to value.
libcamera::controls::AfMeteringEnum
AfMeteringEnum
Supported AfMetering values.
Definition control_ids.h:167
libcamera::controls::AfMeteringWindows
@ AfMeteringWindows
Use the rectangles defined by the AfWindows control to measure focus.
Definition control_ids.h:169
libcamera::controls::AfMeteringAuto
@ AfMeteringAuto
Let the AF algorithm decide for itself where it will measure focus.
Definition control_ids.h:168
libcamera::controls::AfSpeedEnum
AfSpeedEnum
Supported AfSpeed values.
Definition control_ids.h:160
libcamera::controls::AfSpeedFast
@ AfSpeedFast
Move the lens more quickly.
Definition control_ids.h:162
libcamera::controls::AfSpeedNormal
@ AfSpeedNormal
Move the lens at its usual speed.
Definition control_ids.h:161
libcamera::controls::AwbModeNameValueMap
const std::map< std::string, int32_t > AwbModeNameValueMap
Map of all AwbMode supported value names (in std::string format) to value.
libcamera::controls::AfTrigger
const Control< int32_t > AfTrigger
Start an autofocus scan.
libcamera::controls::AeConstraintModeEnum
AeConstraintModeEnum
Supported AeConstraintMode values.
Definition control_ids.h:82
libcamera::controls::ConstraintHighlight
@ ConstraintHighlight
Highlight constraint mode.
Definition control_ids.h:84
libcamera::controls::ConstraintCustom
@ ConstraintCustom
Custom constraint mode.
Definition control_ids.h:86
libcamera::controls::ConstraintNormal
@ ConstraintNormal
Default constraint mode.
Definition control_ids.h:83
libcamera::controls::ConstraintShadows
@ ConstraintShadows
Shadows constraint mode.
Definition control_ids.h:85
libcamera::controls::AeLocked
const Control< bool > AeLocked
Report the lock status of a running AE algorithm.
libcamera::controls::SensorBlackLevels
const Control< Span< const int32_t, 4 > > SensorBlackLevels
Reports the sensor black levels used for processing a frame.
libcamera::controls::AfPauseState
const Control< int32_t > AfPauseState
Report whether the autofocus is currently running, paused or pausing.
libcamera::controls::HdrModeValues
const std::array< const ControlValue, 5 > HdrModeValues
List of all HdrMode supported values.
libcamera::controls::HdrMode
const Control< int32_t > HdrMode
Set the mode to be used for High Dynamic Range (HDR) imaging.
libcamera::controls::Gamma
const Control< float > Gamma
Specify a fixed gamma value.
libcamera::controls::AeConstraintModeNameValueMap
const std::map< std::string, int32_t > AeConstraintModeNameValueMap
Map of all AeConstraintMode supported value names (in std::string format) to value.
libcamera::controls::AeMeteringMode
const Control< int32_t > AeMeteringMode
Specify a metering mode for the AE algorithm to use.
libcamera::controls::HdrChannelEnum
HdrChannelEnum
Supported HdrChannel values.
Definition control_ids.h:218
libcamera::controls::HdrChannelShort
@ HdrChannelShort
This is a short exposure image.
Definition control_ids.h:220
libcamera::controls::HdrChannelLong
@ HdrChannelLong
This is a long exposure image.
Definition control_ids.h:222
libcamera::controls::HdrChannelMedium
@ HdrChannelMedium
This is a medium exposure image.
Definition control_ids.h:221
libcamera::controls::HdrChannelNone
@ HdrChannelNone
This image does not correspond to any of the captures used to create an HDR image.
Definition control_ids.h:219
libcamera::controls::FrameDuration
const Control< int64_t > FrameDuration
The instantaneous frame duration from start of frame exposure to start of next exposure,...
libcamera::controls::AfRangeNameValueMap
const std::map< std::string, int32_t > AfRangeNameValueMap
Map of all AfRange supported value names (in std::string format) to value.
libcamera::controls::FrameDurationLimits
const Control< Span< const int64_t, 2 > > FrameDurationLimits
The minimum and maximum (in that order) frame duration, expressed in microseconds.
libcamera::controls::AeEnable
const Control< bool > AeEnable
Enable or disable the AE.
libcamera::controls::AfTriggerNameValueMap
const std::map< std::string, int32_t > AfTriggerNameValueMap
Map of all AfTrigger supported value names (in std::string format) to value.
libcamera::controls::AfPauseStateEnum
AfPauseStateEnum
Supported AfPauseState values.
Definition control_ids.h:200
libcamera::controls::AfPauseStatePausing
@ AfPauseStatePausing
Continuous AF has been sent an AfPauseDeferred control, and will pause as soon as any in-progress sca...
Definition control_ids.h:202
libcamera::controls::AfPauseStatePaused
@ AfPauseStatePaused
Continuous AF is paused.
Definition control_ids.h:203
libcamera::controls::AfPauseStateRunning
@ AfPauseStateRunning
Continuous AF is running and the algorithm may restart a scan spontaneously.
Definition control_ids.h:201
libcamera::controls::Contrast
const Control< float > Contrast
Specify a fixed contrast parameter.
libcamera::controls::HdrChannelValues
const std::array< const ControlValue, 4 > HdrChannelValues
List of all HdrChannel supported values.
libcamera::controls::AeFlickerModeEnum
AeFlickerModeEnum
Supported AeFlickerMode values.
Definition control_ids.h:103
libcamera::controls::FlickerAuto
@ FlickerAuto
Automatic flicker period detection and avoidance.
Definition control_ids.h:106
libcamera::controls::FlickerOff
@ FlickerOff
No flicker avoidance is performed.
Definition control_ids.h:104
libcamera::controls::FlickerManual
@ FlickerManual
Manual flicker avoidance.
Definition control_ids.h:105
libcamera::controls::AwbModeValues
const std::array< const ControlValue, 8 > AwbModeValues
List of all AwbMode supported values.
libcamera::controls::ColourCorrectionMatrix
const Control< Span< const float, 9 > > ColourCorrectionMatrix
The 3x3 matrix that converts camera RGB to sRGB within the imaging pipeline.
libcamera::controls::SensorTimestamp
const Control< int64_t > SensorTimestamp
The time when the first row of the image sensor active array is exposed.
libcamera
Top-level libcamera namespace.
Definition backtrace.h:17
libcamera::ControlIdMap
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition controls.h:303