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

libcamera v0.2.0 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 * control_ids.h - Control ID list
6 *
7 * This file is auto-generated. Do not edit.
8 */
9
10#pragma once
11
12#include <array>
13#include <stdint.h>
14
15#include <libcamera/controls.h>
16
17namespace libcamera {
18
19 namespace controls {
20
21enum {
22 AE_ENABLE = 1,
23 AE_LOCKED = 2,
24 AE_METERING_MODE = 3,
25 AE_CONSTRAINT_MODE = 4,
26 AE_EXPOSURE_MODE = 5,
27 EXPOSURE_VALUE = 6,
28 EXPOSURE_TIME = 7,
29 ANALOGUE_GAIN = 8,
30 AE_FLICKER_MODE = 9,
31 AE_FLICKER_PERIOD = 10,
32 AE_FLICKER_DETECTED = 11,
33 BRIGHTNESS = 12,
34 CONTRAST = 13,
35 LUX = 14,
36 AWB_ENABLE = 15,
37 AWB_MODE = 16,
38 AWB_LOCKED = 17,
39 COLOUR_GAINS = 18,
40 COLOUR_TEMPERATURE = 19,
41 SATURATION = 20,
42 SENSOR_BLACK_LEVELS = 21,
43 SHARPNESS = 22,
44 FOCUS_FO_M = 23,
45 COLOUR_CORRECTION_MATRIX = 24,
46 SCALER_CROP = 25,
47 DIGITAL_GAIN = 26,
48 FRAME_DURATION = 27,
49 FRAME_DURATION_LIMITS = 28,
50 SENSOR_TEMPERATURE = 29,
51 SENSOR_TIMESTAMP = 30,
52 AF_MODE = 31,
53 AF_RANGE = 32,
54 AF_SPEED = 33,
55 AF_METERING = 34,
56 AF_WINDOWS = 35,
57 AF_TRIGGER = 36,
58 AF_PAUSE = 37,
59 LENS_POSITION = 38,
60 AF_STATE = 39,
61 AF_PAUSE_STATE = 40,
62 HDR_MODE = 41,
63 HDR_CHANNEL = 42,
64};
65
66extern const Control<bool> AeEnable;
67extern const Control<bool> AeLocked;
68 enum AeMeteringModeEnum {
69 MeteringCentreWeighted = 0,
70 MeteringSpot = 1,
71 MeteringMatrix = 2,
72 MeteringCustom = 3,
73};
74extern const std::array<const ControlValue, 4> AeMeteringModeValues;
75extern const Control<int32_t> AeMeteringMode;
76 enum AeConstraintModeEnum {
77 ConstraintNormal = 0,
78 ConstraintHighlight = 1,
79 ConstraintShadows = 2,
80 ConstraintCustom = 3,
81};
82extern const std::array<const ControlValue, 4> AeConstraintModeValues;
83extern const Control<int32_t> AeConstraintMode;
84 enum AeExposureModeEnum {
85 ExposureNormal = 0,
86 ExposureShort = 1,
87 ExposureLong = 2,
88 ExposureCustom = 3,
89};
90extern const std::array<const ControlValue, 4> AeExposureModeValues;
91extern const Control<int32_t> AeExposureMode;
92extern const Control<float> ExposureValue;
93extern const Control<int32_t> ExposureTime;
94extern const Control<float> AnalogueGain;
95 enum AeFlickerModeEnum {
96 FlickerOff = 0,
97 FlickerManual = 1,
98 FlickerAuto = 2,
99};
100extern const std::array<const ControlValue, 3> AeFlickerModeValues;
101extern const Control<int32_t> AeFlickerMode;
102extern const Control<int32_t> AeFlickerPeriod;
103extern const Control<int32_t> AeFlickerDetected;
104extern const Control<float> Brightness;
105extern const Control<float> Contrast;
106extern const Control<float> Lux;
107extern const Control<bool> AwbEnable;
108 enum AwbModeEnum {
109 AwbAuto = 0,
110 AwbIncandescent = 1,
111 AwbTungsten = 2,
112 AwbFluorescent = 3,
113 AwbIndoor = 4,
114 AwbDaylight = 5,
115 AwbCloudy = 6,
116 AwbCustom = 7,
117};
118extern const std::array<const ControlValue, 8> AwbModeValues;
119extern const Control<int32_t> AwbMode;
120extern const Control<bool> AwbLocked;
121extern const Control<Span<const float, 2>> ColourGains;
122extern const Control<int32_t> ColourTemperature;
123extern const Control<float> Saturation;
124extern const Control<Span<const int32_t, 4>> SensorBlackLevels;
125extern const Control<float> Sharpness;
126extern const Control<int32_t> FocusFoM;
127extern const Control<Span<const float, 9>> ColourCorrectionMatrix;
128extern const Control<Rectangle> ScalerCrop;
129extern const Control<float> DigitalGain;
130extern const Control<int64_t> FrameDuration;
131extern const Control<Span<const int64_t, 2>> FrameDurationLimits;
132extern const Control<float> SensorTemperature;
133extern const Control<int64_t> SensorTimestamp;
134 enum AfModeEnum {
135 AfModeManual = 0,
136 AfModeAuto = 1,
137 AfModeContinuous = 2,
138};
139extern const std::array<const ControlValue, 3> AfModeValues;
140extern const Control<int32_t> AfMode;
141 enum AfRangeEnum {
142 AfRangeNormal = 0,
143 AfRangeMacro = 1,
144 AfRangeFull = 2,
145};
146extern const std::array<const ControlValue, 3> AfRangeValues;
147extern const Control<int32_t> AfRange;
148 enum AfSpeedEnum {
149 AfSpeedNormal = 0,
150 AfSpeedFast = 1,
151};
152extern const std::array<const ControlValue, 2> AfSpeedValues;
153extern const Control<int32_t> AfSpeed;
154 enum AfMeteringEnum {
155 AfMeteringAuto = 0,
156 AfMeteringWindows = 1,
157};
158extern const std::array<const ControlValue, 2> AfMeteringValues;
159extern const Control<int32_t> AfMetering;
160extern const Control<Span<const Rectangle>> AfWindows;
161 enum AfTriggerEnum {
162 AfTriggerStart = 0,
163 AfTriggerCancel = 1,
164};
165extern const std::array<const ControlValue, 2> AfTriggerValues;
166extern const Control<int32_t> AfTrigger;
167 enum AfPauseEnum {
168 AfPauseImmediate = 0,
169 AfPauseDeferred = 1,
170 AfPauseResume = 2,
171};
172extern const std::array<const ControlValue, 3> AfPauseValues;
173extern const Control<int32_t> AfPause;
174extern const Control<float> LensPosition;
175 enum AfStateEnum {
176 AfStateIdle = 0,
177 AfStateScanning = 1,
178 AfStateFocused = 2,
179 AfStateFailed = 3,
180};
181extern const std::array<const ControlValue, 4> AfStateValues;
182extern const Control<int32_t> AfState;
183 enum AfPauseStateEnum {
184 AfPauseStateRunning = 0,
185 AfPauseStatePausing = 1,
186 AfPauseStatePaused = 2,
187};
188extern const std::array<const ControlValue, 3> AfPauseStateValues;
189extern const Control<int32_t> AfPauseState;
190 enum HdrModeEnum {
191 HdrModeOff = 0,
192 HdrModeMultiExposureUnmerged = 1,
193 HdrModeMultiExposure = 2,
194 HdrModeSingleExposure = 3,
195 HdrModeNight = 4,
196};
197extern const std::array<const ControlValue, 5> HdrModeValues;
198extern const Control<int32_t> HdrMode;
199 enum HdrChannelEnum {
200 HdrChannelNone = 0,
201 HdrChannelShort = 1,
202 HdrChannelMedium = 2,
203 HdrChannelLong = 3,
204};
205extern const std::array<const ControlValue, 4> HdrChannelValues;
206extern const Control<int32_t> HdrChannel;
207
208extern const ControlIdMap controls;
209
210
211 namespace draft {
212
213#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS
214
215enum {
216 AE_PRECAPTURE_TRIGGER = 10001,
217 NOISE_REDUCTION_MODE = 10002,
218 COLOR_CORRECTION_ABERRATION_MODE = 10003,
219 AE_STATE = 10004,
220 AWB_STATE = 10005,
221 SENSOR_ROLLING_SHUTTER_SKEW = 10006,
222 LENS_SHADING_MAP_MODE = 10007,
223 PIPELINE_DEPTH = 10008,
224 MAX_LATENCY = 10009,
225 TEST_PATTERN_MODE = 10010,
226};
227
228 enum AePrecaptureTriggerEnum {
229 AePrecaptureTriggerIdle = 0,
230 AePrecaptureTriggerStart = 1,
231 AePrecaptureTriggerCancel = 2,
232};
233extern const std::array<const ControlValue, 3> AePrecaptureTriggerValues;
234extern const Control<int32_t> AePrecaptureTrigger;
235 enum NoiseReductionModeEnum {
236 NoiseReductionModeOff = 0,
237 NoiseReductionModeFast = 1,
238 NoiseReductionModeHighQuality = 2,
239 NoiseReductionModeMinimal = 3,
240 NoiseReductionModeZSL = 4,
241};
242extern const std::array<const ControlValue, 5> NoiseReductionModeValues;
243extern const Control<int32_t> NoiseReductionMode;
244 enum ColorCorrectionAberrationModeEnum {
245 ColorCorrectionAberrationOff = 0,
246 ColorCorrectionAberrationFast = 1,
247 ColorCorrectionAberrationHighQuality = 2,
248};
249extern const std::array<const ControlValue, 3> ColorCorrectionAberrationModeValues;
250extern const Control<int32_t> ColorCorrectionAberrationMode;
251 enum AeStateEnum {
252 AeStateInactive = 0,
253 AeStateSearching = 1,
254 AeStateConverged = 2,
255 AeStateLocked = 3,
256 AeStateFlashRequired = 4,
257 AeStatePrecapture = 5,
258};
259extern const std::array<const ControlValue, 6> AeStateValues;
260extern const Control<int32_t> AeState;
261 enum AwbStateEnum {
262 AwbStateInactive = 0,
263 AwbStateSearching = 1,
264 AwbConverged = 2,
265 AwbLocked = 3,
266};
267extern const std::array<const ControlValue, 4> AwbStateValues;
268extern const Control<int32_t> AwbState;
269extern const Control<int64_t> SensorRollingShutterSkew;
270 enum LensShadingMapModeEnum {
271 LensShadingMapModeOff = 0,
272 LensShadingMapModeOn = 1,
273};
274extern const std::array<const ControlValue, 2> LensShadingMapModeValues;
275extern const Control<int32_t> LensShadingMapMode;
276extern const Control<int32_t> PipelineDepth;
277extern const Control<int32_t> MaxLatency;
278 enum TestPatternModeEnum {
279 TestPatternModeOff = 0,
280 TestPatternModeSolidColor = 1,
281 TestPatternModeColorBars = 2,
282 TestPatternModeColorBarsFadeToGray = 3,
283 TestPatternModePn9 = 4,
284 TestPatternModeCustom1 = 256,
285};
286extern const std::array<const ControlValue, 6> TestPatternModeValues;
287extern const Control<int32_t> TestPatternMode;
288
289} /* namespace draft */
290
291
292 namespace rpi {
293
294#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS
295
296enum {
297 STATS_OUTPUT_ENABLE = 20001,
298 BCM2835_STATS_OUTPUT = 20002,
299};
300
301extern const Control<bool> StatsOutputEnable;
302extern const Control<Span<const uint8_t>> Bcm2835StatsOutput;
303
304} /* namespace rpi */
305
306
307} /* namespace controls */
308
309} /* 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::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::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::AeStateEnum
AeStateEnum
Supported AeState values.
Definition control_ids.h:251
libcamera::controls::draft::AeStateConverged
@ AeStateConverged
The AE algorithm has converged.
Definition control_ids.h:254
libcamera::controls::draft::AeStateLocked
@ AeStateLocked
The AE algorithm is locked.
Definition control_ids.h:255
libcamera::controls::draft::AeStateInactive
@ AeStateInactive
The AE algorithm is inactive.
Definition control_ids.h:252
libcamera::controls::draft::AeStatePrecapture
@ AeStatePrecapture
The AE algorithm has started a pre-capture metering session.
Definition control_ids.h:257
libcamera::controls::draft::AeStateSearching
@ AeStateSearching
The AE algorithm has not converged yet.
Definition control_ids.h:253
libcamera::controls::draft::AeStateFlashRequired
@ AeStateFlashRequired
The AE algorithm would need a flash for good results.
Definition control_ids.h:256
libcamera::controls::draft::NoiseReductionModeEnum
NoiseReductionModeEnum
Supported NoiseReductionMode values.
Definition control_ids.h:235
libcamera::controls::draft::NoiseReductionModeHighQuality
@ NoiseReductionModeHighQuality
High quality noise reduction at the expense of frame rate.
Definition control_ids.h:238
libcamera::controls::draft::NoiseReductionModeMinimal
@ NoiseReductionModeMinimal
Minimal noise reduction is applied without reducing the frame rate.
Definition control_ids.h:239
libcamera::controls::draft::NoiseReductionModeOff
@ NoiseReductionModeOff
No noise reduction is applied.
Definition control_ids.h:236
libcamera::controls::draft::NoiseReductionModeZSL
@ NoiseReductionModeZSL
Noise reduction is applied at different levels to different streams.
Definition control_ids.h:240
libcamera::controls::draft::NoiseReductionModeFast
@ NoiseReductionModeFast
Noise reduction is applied without reducing the frame rate.
Definition control_ids.h:237
libcamera::controls::draft::AwbStateEnum
AwbStateEnum
Supported AwbState values.
Definition control_ids.h:261
libcamera::controls::draft::AwbLocked
@ AwbLocked
The AWB algorithm is locked.
Definition control_ids.h:265
libcamera::controls::draft::AwbStateInactive
@ AwbStateInactive
The AWB algorithm is inactive.
Definition control_ids.h:262
libcamera::controls::draft::AwbConverged
@ AwbConverged
The AWB algorithm has converged.
Definition control_ids.h:264
libcamera::controls::draft::AwbStateSearching
@ AwbStateSearching
The AWB algorithm has not converged yet.
Definition control_ids.h:263
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::AwbState
const Control< int32_t > AwbState
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
libcamera::controls::draft::AeStateValues
const std::array< const ControlValue, 6 > AeStateValues
List of all AeState supported values.
libcamera::controls::draft::NoiseReductionModeValues
const std::array< const ControlValue, 5 > NoiseReductionModeValues
List of all NoiseReductionMode supported values.
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::AePrecaptureTriggerValues
const std::array< const ControlValue, 3 > AePrecaptureTriggerValues
List of all AePrecaptureTrigger supported values.
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::AePrecaptureTrigger
const Control< int32_t > AePrecaptureTrigger
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
libcamera::controls::draft::LensShadingMapModeEnum
LensShadingMapModeEnum
Supported LensShadingMapMode values.
Definition control_ids.h:270
libcamera::controls::draft::LensShadingMapModeOn
@ LensShadingMapModeOn
The lens shading map mode is available.
Definition control_ids.h:272
libcamera::controls::draft::LensShadingMapModeOff
@ LensShadingMapModeOff
No lens shading map mode is available.
Definition control_ids.h:271
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::AwbStateValues
const std::array< const ControlValue, 4 > AwbStateValues
List of all AwbState supported values.
libcamera::controls::draft::TestPatternModeEnum
TestPatternModeEnum
Supported TestPatternMode values.
Definition control_ids.h:278
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:282
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:284
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:283
libcamera::controls::draft::TestPatternModeOff
@ TestPatternModeOff
No test pattern mode is used. The camera device returns frames from the image sensor.
Definition control_ids.h:279
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:280
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:281
libcamera::controls::draft::LensShadingMapModeValues
const std::array< const ControlValue, 2 > LensShadingMapModeValues
List of all LensShadingMapMode 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::TestPatternModeValues
const std::array< const ControlValue, 6 > TestPatternModeValues
List of all TestPatternMode supported values.
libcamera::controls::draft::ColorCorrectionAberrationModeEnum
ColorCorrectionAberrationModeEnum
Supported ColorCorrectionAberrationMode values.
Definition control_ids.h:244
libcamera::controls::draft::ColorCorrectionAberrationHighQuality
@ ColorCorrectionAberrationHighQuality
High quality aberration correction which might reduce the frame rate.
Definition control_ids.h:247
libcamera::controls::draft::ColorCorrectionAberrationOff
@ ColorCorrectionAberrationOff
No aberration correction is applied.
Definition control_ids.h:245
libcamera::controls::draft::ColorCorrectionAberrationFast
@ ColorCorrectionAberrationFast
Aberration correction will not slow down the frame rate.
Definition control_ids.h:246
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::ColorCorrectionAberrationModeValues
const std::array< const ControlValue, 3 > ColorCorrectionAberrationModeValues
List of all ColorCorrectionAberrationMode supported values.
libcamera::controls::draft::AePrecaptureTriggerEnum
AePrecaptureTriggerEnum
Supported AePrecaptureTrigger values.
Definition control_ids.h:228
libcamera::controls::draft::AePrecaptureTriggerStart
@ AePrecaptureTriggerStart
The pre-capture AE metering is started by the camera.
Definition control_ids.h:230
libcamera::controls::draft::AePrecaptureTriggerIdle
@ AePrecaptureTriggerIdle
The trigger is idle.
Definition control_ids.h:229
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:231
libcamera::controls::rpi::Bcm2835StatsOutput
const Control< Span< const uint8_t > > Bcm2835StatsOutput
Span of the BCM2835 ISP generated statistics for the current frame. This is sent in the Request metad...
libcamera::controls::rpi::StatsOutputEnable
const Control< bool > StatsOutputEnable
Toggles the Raspberry Pi IPA to output a binary dump of the hardware generated statistics through the...
libcamera::controls::SensorTimestamp
const Control< int64_t > SensorTimestamp
The time when the first row of the image sensor active array is exposed.
libcamera::controls::Brightness
const Control< float > Brightness
Specify a fixed brightness parameter. Positive values (up to 1.0) produce brighter images; negative v...
libcamera::controls::AfSpeedValues
const std::array< const ControlValue, 2 > AfSpeedValues
List of all AfSpeed supported values.
libcamera::controls::AeConstraintModeValues
const std::array< const ControlValue, 4 > AeConstraintModeValues
List of all AeConstraintMode supported values.
libcamera::controls::AeExposureMode
const Control< int32_t > AeExposureMode
Specify an exposure mode for the AE algorithm to use. These specify how the desired total exposure is...
libcamera::controls::AfSpeed
const Control< int32_t > AfSpeed
Control that determines whether the AF algorithm is to move the lens as quickly as possible or more s...
libcamera::controls::AwbMode
const Control< int32_t > AwbMode
Specify the range of illuminants to use for the AWB algorithm. The modes supported are platform speci...
libcamera::controls::AfModeValues
const std::array< const ControlValue, 3 > AfModeValues
List of all AfMode supported values.
libcamera::controls::SensorBlackLevels
const Control< Span< const int32_t, 4 > > SensorBlackLevels
Reports the sensor black levels used for processing a frame, in the order R, Gr, Gb,...
libcamera::controls::AfModeEnum
AfModeEnum
Supported AfMode values.
Definition control_ids.h:134
libcamera::controls::AfModeManual
@ AfModeManual
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:135
libcamera::controls::AfModeContinuous
@ AfModeContinuous
The AF algorithm is in continuous mode. This means that the lens can re-start a scan spontaneously at...
Definition control_ids.h:137
libcamera::controls::AfModeAuto
@ AfModeAuto
The AF algorithm is in auto mode. This means that the algorithm will never move the lens or change st...
Definition control_ids.h:136
libcamera::controls::AfStateValues
const std::array< const ControlValue, 4 > AfStateValues
List of all AfState supported values.
libcamera::controls::FrameDuration
const Control< int64_t > FrameDuration
The instantaneous frame duration from start of frame exposure to start of next exposure,...
libcamera::controls::AfPauseEnum
AfPauseEnum
Supported AfPause values.
Definition control_ids.h:167
libcamera::controls::AfPauseDeferred
@ AfPauseDeferred
This is similar to AfPauseImmediate, and if the AfState is currently reporting AfStateFocused or AfSt...
Definition control_ids.h:169
libcamera::controls::AfPauseResume
@ AfPauseResume
Resume continuous autofocus operation. The algorithm starts again from exactly where it left off,...
Definition control_ids.h:170
libcamera::controls::AfPauseImmediate
@ AfPauseImmediate
Pause the continuous autofocus algorithm immediately, whether or not any kind of scan is underway....
Definition control_ids.h:168
libcamera::controls::AwbEnable
const Control< bool > AwbEnable
Enable or disable the AWB.
libcamera::controls::AfRange
const Control< int32_t > AfRange
Control to set the range of focus distances that is scanned. An implementation may choose not to impl...
libcamera::controls::FocusFoM
const Control< int32_t > FocusFoM
Reports a Figure of Merit (FoM) to indicate how in-focus the frame is. A larger FocusFoM value indica...
libcamera::controls::AfMeteringValues
const std::array< const ControlValue, 2 > AfMeteringValues
List of all AfMetering supported values.
libcamera::controls::AfPause
const Control< int32_t > AfPause
This control has no effect except when in continuous autofocus mode (AfModeContinuous)....
libcamera::controls::AfMode
const Control< int32_t > AfMode
Control to set the mode of the AF (autofocus) algorithm.
libcamera::controls::AfPauseValues
const std::array< const ControlValue, 3 > AfPauseValues
List of all AfPause supported values.
libcamera::controls::ExposureTime
const Control< int32_t > ExposureTime
Exposure time (shutter speed) for the frame applied in the sensor device. This value is specified in ...
libcamera::controls::AfTriggerEnum
AfTriggerEnum
Supported AfTrigger values.
Definition control_ids.h:161
libcamera::controls::AfTriggerStart
@ AfTriggerStart
Start an AF scan. Ignored if a scan is in progress.
Definition control_ids.h:162
libcamera::controls::AfTriggerCancel
@ AfTriggerCancel
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:163
libcamera::controls::AeLocked
const Control< bool > AeLocked
Report the lock status of a running AE algorithm.
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::AeMeteringModeValues
const std::array< const ControlValue, 4 > AeMeteringModeValues
List of all AeMeteringMode supported values.
libcamera::controls::HdrChannelValues
const std::array< const ControlValue, 4 > HdrChannelValues
List of all HdrChannel supported values.
libcamera::controls::AeExposureModeValues
const std::array< const ControlValue, 4 > AeExposureModeValues
List of all AeExposureMode supported values.
libcamera::controls::AeFlickerDetected
const Control< int32_t > AeFlickerDetected
Flicker period detected in microseconds. The value reported here indicates the currently detected fli...
libcamera::controls::AfStateEnum
AfStateEnum
Supported AfState values.
Definition control_ids.h:175
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:176
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:177
libcamera::controls::AfStateFailed
@ AfStateFailed
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:179
libcamera::controls::AfStateFocused
@ AfStateFocused
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:178
libcamera::controls::HdrMode
const Control< int32_t > HdrMode
Control to set the mode to be used for High Dynamic Range (HDR) imaging. HDR techniques typically inc...
libcamera::controls::HdrModeEnum
HdrModeEnum
Supported HdrMode values.
Definition control_ids.h:190
libcamera::controls::HdrModeNight
@ HdrModeNight
Multiple frames will be combined to produce "night mode" images. It is up to the implementation exact...
Definition control_ids.h:195
libcamera::controls::HdrModeOff
@ HdrModeOff
HDR is disabled. Metadata for this frame will not include the HdrChannel control.
Definition control_ids.h:191
libcamera::controls::HdrModeMultiExposure
@ HdrModeMultiExposure
Multiple exposures will be generated and merged to create HDR images. Each image will be tagged with ...
Definition control_ids.h:193
libcamera::controls::HdrModeMultiExposureUnmerged
@ HdrModeMultiExposureUnmerged
Multiple exposures will be generated in an alternating fashion. However, they will not be merged toge...
Definition control_ids.h:192
libcamera::controls::HdrModeSingleExposure
@ HdrModeSingleExposure
Multiple frames all at a single exposure will be used to create HDR images. These images should be re...
Definition control_ids.h:194
libcamera::controls::AfPauseState
const Control< int32_t > AfPauseState
Only applicable in continuous (AfModeContinuous) mode, this reports whether the algorithm is currentl...
libcamera::controls::Contrast
const Control< float > Contrast
Specify a fixed contrast parameter. Normal contrast is given by the value 1.0; larger values produce ...
libcamera::controls::ExposureValue
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter. The EV parameter will only be applied if the AE algorithm i...
libcamera::controls::AeEnable
const Control< bool > AeEnable
Enable or disable the AE.
libcamera::controls::AfTriggerValues
const std::array< const ControlValue, 2 > AfTriggerValues
List of all AfTrigger supported values.
libcamera::controls::AwbModeEnum
AwbModeEnum
Supported AwbMode values.
Definition control_ids.h:108
libcamera::controls::AwbDaylight
@ AwbDaylight
Daylight AWB lighting mode.
Definition control_ids.h:114
libcamera::controls::AwbTungsten
@ AwbTungsten
Tungsten AWB lamp mode.
Definition control_ids.h:111
libcamera::controls::AwbAuto
@ AwbAuto
Search over the whole colour temperature range.
Definition control_ids.h:109
libcamera::controls::AwbCustom
@ AwbCustom
Custom AWB mode.
Definition control_ids.h:116
libcamera::controls::AwbIndoor
@ AwbIndoor
Indoor AWB lighting mode.
Definition control_ids.h:113
libcamera::controls::AwbFluorescent
@ AwbFluorescent
Fluorescent AWB lamp mode.
Definition control_ids.h:112
libcamera::controls::AwbIncandescent
@ AwbIncandescent
Incandescent AWB lamp mode.
Definition control_ids.h:110
libcamera::controls::AwbCloudy
@ AwbCloudy
Cloudy AWB lighting mode.
Definition control_ids.h:115
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::ScalerCrop
const Control< Rectangle > ScalerCrop
Sets the image portion that will be scaled to form the whole of the final output image....
libcamera::controls::ColourTemperature
const Control< int32_t > ColourTemperature
Report the current estimate of the colour temperature, in kelvin, for this frame. The ColourTemperatu...
libcamera::controls::controls
const ControlIdMap controls
List of all supported libcamera controls.
Definition controls_ids.cpp:1435
libcamera::controls::SensorTemperature
const Control< float > SensorTemperature
Temperature measure from the camera sensor in Celsius. This is typically obtained by a thermal sensor...
libcamera::controls::Saturation
const Control< float > Saturation
Specify a fixed saturation parameter. Normal saturation is given by the value 1.0; larger values prod...
libcamera::controls::Lux
const Control< float > Lux
Report an estimate of the current illuminance level in lux. The Lux control can only be returned in m...
libcamera::controls::AeMeteringMode
const Control< int32_t > AeMeteringMode
Specify a metering mode for the AE algorithm to use. The metering modes determine which parts of the ...
libcamera::controls::AfRangeEnum
AfRangeEnum
Supported AfRange values.
Definition control_ids.h:141
libcamera::controls::AfRangeNormal
@ AfRangeNormal
A wide range of focus distances is scanned, all the way from infinity down to close distances,...
Definition control_ids.h:142
libcamera::controls::AfRangeMacro
@ AfRangeMacro
Only close distances are scanned.
Definition control_ids.h:143
libcamera::controls::AfRangeFull
@ AfRangeFull
The full range of focus distances is scanned just as with AfRangeNormal but this time including the v...
Definition control_ids.h:144
libcamera::controls::HdrChannel
const Control< int32_t > HdrChannel
This value is reported back to the application so that it can discover whether this capture correspon...
libcamera::controls::AfRangeValues
const std::array< const ControlValue, 3 > AfRangeValues
List of all AfRange supported values.
libcamera::controls::HdrModeValues
const std::array< const ControlValue, 5 > HdrModeValues
List of all HdrMode supported values.
libcamera::controls::AwbModeValues
const std::array< const ControlValue, 8 > AwbModeValues
List of all AwbMode supported values.
libcamera::controls::AeMeteringModeEnum
AeMeteringModeEnum
Supported AeMeteringMode values.
Definition control_ids.h:68
libcamera::controls::MeteringCentreWeighted
@ MeteringCentreWeighted
Centre-weighted metering mode.
Definition control_ids.h:69
libcamera::controls::MeteringMatrix
@ MeteringMatrix
Matrix metering mode.
Definition control_ids.h:71
libcamera::controls::MeteringCustom
@ MeteringCustom
Custom metering mode.
Definition control_ids.h:72
libcamera::controls::MeteringSpot
@ MeteringSpot
Spot metering mode.
Definition control_ids.h:70
libcamera::controls::AeExposureModeEnum
AeExposureModeEnum
Supported AeExposureMode values.
Definition control_ids.h:84
libcamera::controls::ExposureLong
@ ExposureLong
Exposure mode allowing long exposure times.
Definition control_ids.h:87
libcamera::controls::ExposureNormal
@ ExposureNormal
Default exposure mode.
Definition control_ids.h:85
libcamera::controls::ExposureShort
@ ExposureShort
Exposure mode allowing only short exposure times.
Definition control_ids.h:86
libcamera::controls::ExposureCustom
@ ExposureCustom
Custom exposure mode.
Definition control_ids.h:88
libcamera::controls::AfPauseStateValues
const std::array< const ControlValue, 3 > AfPauseStateValues
List of all AfPauseState supported values.
libcamera::controls::AnalogueGain
const Control< float > AnalogueGain
Analogue gain value applied in the sensor device. The value of the control specifies the gain multipl...
libcamera::controls::AfMeteringEnum
AfMeteringEnum
Supported AfMetering values.
Definition control_ids.h:154
libcamera::controls::AfMeteringAuto
@ AfMeteringAuto
The AF algorithm should decide for itself where it will measure focus.
Definition control_ids.h:155
libcamera::controls::AfMeteringWindows
@ AfMeteringWindows
The AF algorithm should use the rectangles defined by the AfWindows control to measure focus....
Definition control_ids.h:156
libcamera::controls::AeFlickerModeValues
const std::array< const ControlValue, 3 > AeFlickerModeValues
List of all AeFlickerMode supported values.
libcamera::controls::AfSpeedEnum
AfSpeedEnum
Supported AfSpeed values.
Definition control_ids.h:148
libcamera::controls::AfSpeedNormal
@ AfSpeedNormal
Move the lens at its usual speed.
Definition control_ids.h:149
libcamera::controls::AfSpeedFast
@ AfSpeedFast
Move the lens more quickly.
Definition control_ids.h:150
libcamera::controls::AeConstraintModeEnum
AeConstraintModeEnum
Supported AeConstraintMode values.
Definition control_ids.h:76
libcamera::controls::ConstraintHighlight
@ ConstraintHighlight
Highlight constraint mode. This mode adjusts the exposure levels in order to try and avoid over-expos...
Definition control_ids.h:78
libcamera::controls::ConstraintCustom
@ ConstraintCustom
Custom constraint mode.
Definition control_ids.h:80
libcamera::controls::ConstraintShadows
@ ConstraintShadows
Shadows constraint mode. This mode adjusts the exposure levels in order to try and avoid under-exposi...
Definition control_ids.h:79
libcamera::controls::ConstraintNormal
@ ConstraintNormal
Default constraint mode. This mode aims to balance the exposure of different parts of the image so as...
Definition control_ids.h:77
libcamera::controls::ColourGains
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...
libcamera::controls::LensPosition
const Control< float > LensPosition
Acts as a control to instruct the lens to move to a particular position and also reports back the pos...
libcamera::controls::AfTrigger
const Control< int32_t > AfTrigger
This control starts an autofocus scan when AfMode is set to AfModeAuto, and can also be used to termi...
libcamera::controls::HdrChannelEnum
HdrChannelEnum
Supported HdrChannel values.
Definition control_ids.h:199
libcamera::controls::HdrChannelMedium
@ HdrChannelMedium
This is a medium exposure image.
Definition control_ids.h:202
libcamera::controls::HdrChannelShort
@ HdrChannelShort
This is a short exposure image.
Definition control_ids.h:201
libcamera::controls::HdrChannelNone
@ HdrChannelNone
This image does not correspond to any of the captures used to create an HDR image.
Definition control_ids.h:200
libcamera::controls::HdrChannelLong
@ HdrChannelLong
This is a long exposure image.
Definition control_ids.h:203
libcamera::controls::AfMetering
const Control< int32_t > AfMetering
Instruct the AF algorithm how it should decide which parts of the image should be used to measure foc...
libcamera::controls::ColourCorrectionMatrix
const Control< Span< const float, 9 > > ColourCorrectionMatrix
The 3x3 matrix that converts camera RGB to sRGB within the imaging pipeline. This should describe the...
libcamera::controls::Sharpness
const Control< float > Sharpness
A value of 0.0 means no sharpening. The minimum value means minimal sharpening, and shall be 0....
libcamera::controls::AfPauseStateEnum
AfPauseStateEnum
Supported AfPauseState values.
Definition control_ids.h:183
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:185
libcamera::controls::AfPauseStateRunning
@ AfPauseStateRunning
Continuous AF is running and the algorithm may restart a scan spontaneously.
Definition control_ids.h:184
libcamera::controls::AfPauseStatePaused
@ AfPauseStatePaused
Continuous AF is paused. No further state changes or lens movements will occur until the AfPauseResum...
Definition control_ids.h:186
libcamera::controls::AfWindows
const Control< Span< const Rectangle > > AfWindows
Sets the focus windows used by the AF algorithm when AfMetering is set to AfMeteringWindows....
libcamera::controls::AwbLocked
const Control< bool > AwbLocked
Report the lock status of a running AWB algorithm.
libcamera::controls::AeFlickerModeEnum
AeFlickerModeEnum
Supported AeFlickerMode values.
Definition control_ids.h:95
libcamera::controls::FlickerAuto
@ FlickerAuto
Automatic flicker period detection and avoidance. The system will automatically determine the most li...
Definition control_ids.h:98
libcamera::controls::FlickerOff
@ FlickerOff
No flicker avoidance is performed.
Definition control_ids.h:96
libcamera::controls::FlickerManual
@ FlickerManual
Manual flicker avoidance. Suppress flicker effects caused by lighting running with a period specified...
Definition control_ids.h:97
libcamera::controls::AeFlickerPeriod
const Control< int32_t > AeFlickerPeriod
Manual flicker period in microseconds. This value sets the current flicker period to avoid....
libcamera::controls::AeFlickerMode
const Control< int32_t > AeFlickerMode
Set the flicker mode, which determines whether, and how, the AGC/AEC algorithm attempts to hide flick...
libcamera::controls::AfState
const Control< int32_t > AfState
Reports the current state of the AF algorithm in conjunction with the reported AfMode value and (in c...
libcamera::controls::AeConstraintMode
const Control< int32_t > AeConstraintMode
Specify a constraint mode for the AE algorithm to use. These determine how the measured scene brightn...
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