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

libcamera v0.7.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 * 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#include <string_view>
17
18#include <libcamera/controls.h>
19
20namespace libcamera {
21
22 namespace controls {
23
24extern const ControlIdMap controls;
25
26
27enum {
28 AE_ENABLE = 1,
29 AE_STATE = 2,
30 AE_METERING_MODE = 3,
31 AE_CONSTRAINT_MODE = 4,
32 AE_EXPOSURE_MODE = 5,
33 EXPOSURE_VALUE = 6,
34 EXPOSURE_TIME = 7,
35 EXPOSURE_TIME_MODE = 8,
36 ANALOGUE_GAIN = 9,
37 ANALOGUE_GAIN_MODE = 10,
38 AE_FLICKER_MODE = 11,
39 AE_FLICKER_PERIOD = 12,
40 AE_FLICKER_DETECTED = 13,
41 BRIGHTNESS = 14,
42 CONTRAST = 15,
43 LUX = 16,
44 AWB_ENABLE = 17,
45 AWB_MODE = 18,
46 AWB_LOCKED = 19,
47 COLOUR_GAINS = 20,
48 COLOUR_TEMPERATURE = 21,
49 SATURATION = 22,
50 SENSOR_BLACK_LEVELS = 23,
51 SHARPNESS = 24,
52 FOCUS_FO_M = 25,
53 COLOUR_CORRECTION_MATRIX = 26,
54 SCALER_CROP = 27,
55 DIGITAL_GAIN = 28,
56 FRAME_DURATION = 29,
57 FRAME_DURATION_LIMITS = 30,
58 SENSOR_TEMPERATURE = 31,
59 SENSOR_TIMESTAMP = 32,
60 AF_MODE = 33,
61 AF_RANGE = 34,
62 AF_SPEED = 35,
63 AF_METERING = 36,
64 AF_WINDOWS = 37,
65 AF_TRIGGER = 38,
66 AF_PAUSE = 39,
67 LENS_POSITION = 40,
68 AF_STATE = 41,
69 AF_PAUSE_STATE = 42,
70 HDR_MODE = 43,
71 HDR_CHANNEL = 44,
72 GAMMA = 45,
73 DEBUG_METADATA_ENABLE = 46,
74 FRAME_WALL_CLOCK = 47,
75 WDR_MODE = 48,
76 WDR_STRENGTH = 49,
77 WDR_MAX_BRIGHT_PIXELS = 50,
78 LENS_DEWARP_ENABLE = 51,
79 LENS_SHADING_CORRECTION_ENABLE = 52,
80};
81
82
83extern const Control<bool> AeEnable;
84#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_ENABLE
85 enum AeStateEnum {
86 AeStateIdle = 0,
87 AeStateSearching = 1,
88 AeStateConverged = 2,
89};
90extern const std::array<const ControlValue, 3> AeStateValues;
91extern const std::map<std::string, int32_t> AeStateNameValueMap;
92extern const Control<int32_t> AeState;
93#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_STATE
94 enum AeMeteringModeEnum {
95 MeteringCentreWeighted = 0,
96 MeteringSpot = 1,
97 MeteringMatrix = 2,
98 MeteringCustom = 3,
99};
100extern const std::array<const ControlValue, 4> AeMeteringModeValues;
101extern const std::map<std::string, int32_t> AeMeteringModeNameValueMap;
102extern const Control<int32_t> AeMeteringMode;
103#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_METERING_MODE
104 enum AeConstraintModeEnum {
105 ConstraintNormal = 0,
106 ConstraintHighlight = 1,
107 ConstraintShadows = 2,
108 ConstraintCustom = 3,
109};
110extern const std::array<const ControlValue, 4> AeConstraintModeValues;
111extern const std::map<std::string, int32_t> AeConstraintModeNameValueMap;
112extern const Control<int32_t> AeConstraintMode;
113#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_CONSTRAINT_MODE
114 enum AeExposureModeEnum {
115 ExposureNormal = 0,
116 ExposureShort = 1,
117 ExposureLong = 2,
118 ExposureCustom = 3,
119};
120extern const std::array<const ControlValue, 4> AeExposureModeValues;
121extern const std::map<std::string, int32_t> AeExposureModeNameValueMap;
122extern const Control<int32_t> AeExposureMode;
123#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_EXPOSURE_MODE
124extern const Control<float> ExposureValue;
125#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_EXPOSURE_VALUE
126extern const Control<int32_t> ExposureTime;
127#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_EXPOSURE_TIME
128 enum ExposureTimeModeEnum {
129 ExposureTimeModeAuto = 0,
130 ExposureTimeModeManual = 1,
131};
132extern const std::array<const ControlValue, 2> ExposureTimeModeValues;
133extern const std::map<std::string, int32_t> ExposureTimeModeNameValueMap;
134extern const Control<int32_t> ExposureTimeMode;
135#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_EXPOSURE_TIME_MODE
136extern const Control<float> AnalogueGain;
137#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_ANALOGUE_GAIN
138 enum AnalogueGainModeEnum {
139 AnalogueGainModeAuto = 0,
140 AnalogueGainModeManual = 1,
141};
142extern const std::array<const ControlValue, 2> AnalogueGainModeValues;
143extern const std::map<std::string, int32_t> AnalogueGainModeNameValueMap;
144extern const Control<int32_t> AnalogueGainMode;
145#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_ANALOGUE_GAIN_MODE
146 enum AeFlickerModeEnum {
147 FlickerOff = 0,
148 FlickerManual = 1,
149 FlickerAuto = 2,
150};
151extern const std::array<const ControlValue, 3> AeFlickerModeValues;
152extern const std::map<std::string, int32_t> AeFlickerModeNameValueMap;
153extern const Control<int32_t> AeFlickerMode;
154#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_FLICKER_MODE
155extern const Control<int32_t> AeFlickerPeriod;
156#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_FLICKER_PERIOD
157extern const Control<int32_t> AeFlickerDetected;
158#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_FLICKER_DETECTED
159extern const Control<float> Brightness;
160#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_BRIGHTNESS
161extern const Control<float> Contrast;
162#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_CONTRAST
163extern const Control<float> Lux;
164#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LUX
165extern const Control<bool> AwbEnable;
166#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AWB_ENABLE
167 enum AwbModeEnum {
168 AwbAuto = 0,
169 AwbIncandescent = 1,
170 AwbTungsten = 2,
171 AwbFluorescent = 3,
172 AwbIndoor = 4,
173 AwbDaylight = 5,
174 AwbCloudy = 6,
175 AwbCustom = 7,
176};
177extern const std::array<const ControlValue, 8> AwbModeValues;
178extern const std::map<std::string, int32_t> AwbModeNameValueMap;
179extern const Control<int32_t> AwbMode;
180#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AWB_MODE
181extern const Control<bool> AwbLocked;
182#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AWB_LOCKED
183extern const Control<Span<const float, 2>> ColourGains;
184#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_COLOUR_GAINS
185extern const Control<int32_t> ColourTemperature;
186#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_COLOUR_TEMPERATURE
187extern const Control<float> Saturation;
188#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SATURATION
189extern const Control<Span<const int32_t, 4>> SensorBlackLevels;
190#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SENSOR_BLACK_LEVELS
191extern const Control<float> Sharpness;
192#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SHARPNESS
193extern const Control<int32_t> FocusFoM;
194#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FOCUS_FO_M
195extern const Control<Span<const float, 9>> ColourCorrectionMatrix;
196#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_COLOUR_CORRECTION_MATRIX
197extern const Control<Rectangle> ScalerCrop;
198#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SCALER_CROP
199extern const Control<float> DigitalGain;
200#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_DIGITAL_GAIN
201extern const Control<int64_t> FrameDuration;
202#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FRAME_DURATION
203extern const Control<Span<const int64_t, 2>> FrameDurationLimits;
204#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FRAME_DURATION_LIMITS
205extern const Control<float> SensorTemperature;
206#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SENSOR_TEMPERATURE
207extern const Control<int64_t> SensorTimestamp;
208#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SENSOR_TIMESTAMP
209 enum AfModeEnum {
210 AfModeManual = 0,
211 AfModeAuto = 1,
212 AfModeContinuous = 2,
213};
214extern const std::array<const ControlValue, 3> AfModeValues;
215extern const std::map<std::string, int32_t> AfModeNameValueMap;
216extern const Control<int32_t> AfMode;
217#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_MODE
218 enum AfRangeEnum {
219 AfRangeNormal = 0,
220 AfRangeMacro = 1,
221 AfRangeFull = 2,
222};
223extern const std::array<const ControlValue, 3> AfRangeValues;
224extern const std::map<std::string, int32_t> AfRangeNameValueMap;
225extern const Control<int32_t> AfRange;
226#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_RANGE
227 enum AfSpeedEnum {
228 AfSpeedNormal = 0,
229 AfSpeedFast = 1,
230};
231extern const std::array<const ControlValue, 2> AfSpeedValues;
232extern const std::map<std::string, int32_t> AfSpeedNameValueMap;
233extern const Control<int32_t> AfSpeed;
234#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_SPEED
235 enum AfMeteringEnum {
236 AfMeteringAuto = 0,
237 AfMeteringWindows = 1,
238};
239extern const std::array<const ControlValue, 2> AfMeteringValues;
240extern const std::map<std::string, int32_t> AfMeteringNameValueMap;
241extern const Control<int32_t> AfMetering;
242#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_METERING
243extern const Control<Span<const Rectangle>> AfWindows;
244#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_WINDOWS
245 enum AfTriggerEnum {
246 AfTriggerStart = 0,
247 AfTriggerCancel = 1,
248};
249extern const std::array<const ControlValue, 2> AfTriggerValues;
250extern const std::map<std::string, int32_t> AfTriggerNameValueMap;
251extern const Control<int32_t> AfTrigger;
252#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_TRIGGER
253 enum AfPauseEnum {
254 AfPauseImmediate = 0,
255 AfPauseDeferred = 1,
256 AfPauseResume = 2,
257};
258extern const std::array<const ControlValue, 3> AfPauseValues;
259extern const std::map<std::string, int32_t> AfPauseNameValueMap;
260extern const Control<int32_t> AfPause;
261#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_PAUSE
262extern const Control<float> LensPosition;
263#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LENS_POSITION
264 enum AfStateEnum {
265 AfStateIdle = 0,
266 AfStateScanning = 1,
267 AfStateFocused = 2,
268 AfStateFailed = 3,
269};
270extern const std::array<const ControlValue, 4> AfStateValues;
271extern const std::map<std::string, int32_t> AfStateNameValueMap;
272extern const Control<int32_t> AfState;
273#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_STATE
274 enum AfPauseStateEnum {
275 AfPauseStateRunning = 0,
276 AfPauseStatePausing = 1,
277 AfPauseStatePaused = 2,
278};
279extern const std::array<const ControlValue, 3> AfPauseStateValues;
280extern const std::map<std::string, int32_t> AfPauseStateNameValueMap;
281extern const Control<int32_t> AfPauseState;
282#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_PAUSE_STATE
283 enum HdrModeEnum {
284 HdrModeOff = 0,
285 HdrModeMultiExposureUnmerged = 1,
286 HdrModeMultiExposure = 2,
287 HdrModeSingleExposure = 3,
288 HdrModeNight = 4,
289};
290extern const std::array<const ControlValue, 5> HdrModeValues;
291extern const std::map<std::string, int32_t> HdrModeNameValueMap;
292extern const Control<int32_t> HdrMode;
293#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_HDR_MODE
294 enum HdrChannelEnum {
295 HdrChannelNone = 0,
296 HdrChannelShort = 1,
297 HdrChannelMedium = 2,
298 HdrChannelLong = 3,
299};
300extern const std::array<const ControlValue, 4> HdrChannelValues;
301extern const std::map<std::string, int32_t> HdrChannelNameValueMap;
302extern const Control<int32_t> HdrChannel;
303#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_HDR_CHANNEL
304extern const Control<float> Gamma;
305#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_GAMMA
306extern const Control<bool> DebugMetadataEnable;
307#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_DEBUG_METADATA_ENABLE
308extern const Control<int64_t> FrameWallClock;
309#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FRAME_WALL_CLOCK
310 enum WdrModeEnum {
311 WdrOff = 0,
312 WdrLinear = 1,
313 WdrPower = 2,
314 WdrExponential = 3,
315 WdrHistogramEqualization = 4,
316};
317extern const std::array<const ControlValue, 5> WdrModeValues;
318extern const std::map<std::string, int32_t> WdrModeNameValueMap;
319extern const Control<int32_t> WdrMode;
320#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_WDR_MODE
321extern const Control<float> WdrStrength;
322#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_WDR_STRENGTH
323extern const Control<float> WdrMaxBrightPixels;
324#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_WDR_MAX_BRIGHT_PIXELS
325extern const Control<bool> LensDewarpEnable;
326#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LENS_DEWARP_ENABLE
327extern const Control<bool> LensShadingCorrectionEnable;
328#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LENS_SHADING_CORRECTION_ENABLE
329
330 namespace draft {
331
332#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS
333
334
335enum {
336 AE_PRECAPTURE_TRIGGER = 10001,
337 NOISE_REDUCTION_MODE = 10002,
338 COLOR_CORRECTION_ABERRATION_MODE = 10003,
339 AWB_STATE = 10004,
340 SENSOR_ROLLING_SHUTTER_SKEW = 10005,
341 LENS_SHADING_MAP_MODE = 10006,
342 PIPELINE_DEPTH = 10007,
343 MAX_LATENCY = 10008,
344 TEST_PATTERN_MODE = 10009,
345 FACE_DETECT_MODE = 10010,
346 FACE_DETECT_FACE_RECTANGLES = 10011,
347 FACE_DETECT_FACE_SCORES = 10012,
348 FACE_DETECT_FACE_LANDMARKS = 10013,
349 FACE_DETECT_FACE_IDS = 10014,
350};
351
352
353 enum AePrecaptureTriggerEnum {
354 AePrecaptureTriggerIdle = 0,
355 AePrecaptureTriggerStart = 1,
356 AePrecaptureTriggerCancel = 2,
357};
358extern const std::array<const ControlValue, 3> AePrecaptureTriggerValues;
359extern const std::map<std::string, int32_t> AePrecaptureTriggerNameValueMap;
360extern const Control<int32_t> AePrecaptureTrigger;
361#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_AE_PRECAPTURE_TRIGGER
362 enum NoiseReductionModeEnum {
363 NoiseReductionModeOff = 0,
364 NoiseReductionModeFast = 1,
365 NoiseReductionModeHighQuality = 2,
366 NoiseReductionModeMinimal = 3,
367 NoiseReductionModeZSL = 4,
368};
369extern const std::array<const ControlValue, 5> NoiseReductionModeValues;
370extern const std::map<std::string, int32_t> NoiseReductionModeNameValueMap;
371extern const Control<int32_t> NoiseReductionMode;
372#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_NOISE_REDUCTION_MODE
373 enum ColorCorrectionAberrationModeEnum {
374 ColorCorrectionAberrationOff = 0,
375 ColorCorrectionAberrationFast = 1,
376 ColorCorrectionAberrationHighQuality = 2,
377};
378extern const std::array<const ControlValue, 3> ColorCorrectionAberrationModeValues;
379extern const std::map<std::string, int32_t> ColorCorrectionAberrationModeNameValueMap;
380extern const Control<int32_t> ColorCorrectionAberrationMode;
381#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_COLOR_CORRECTION_ABERRATION_MODE
382 enum AwbStateEnum {
383 AwbStateInactive = 0,
384 AwbStateSearching = 1,
385 AwbConverged = 2,
386 AwbLocked = 3,
387};
388extern const std::array<const ControlValue, 4> AwbStateValues;
389extern const std::map<std::string, int32_t> AwbStateNameValueMap;
390extern const Control<int32_t> AwbState;
391#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_AWB_STATE
392extern const Control<int64_t> SensorRollingShutterSkew;
393#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_SENSOR_ROLLING_SHUTTER_SKEW
394 enum LensShadingMapModeEnum {
395 LensShadingMapModeOff = 0,
396 LensShadingMapModeOn = 1,
397};
398extern const std::array<const ControlValue, 2> LensShadingMapModeValues;
399extern const std::map<std::string, int32_t> LensShadingMapModeNameValueMap;
400extern const Control<int32_t> LensShadingMapMode;
401#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_LENS_SHADING_MAP_MODE
402extern const Control<int32_t> PipelineDepth;
403#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_PIPELINE_DEPTH
404extern const Control<int32_t> MaxLatency;
405#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_MAX_LATENCY
406 enum TestPatternModeEnum {
407 TestPatternModeOff = 0,
408 TestPatternModeSolidColor = 1,
409 TestPatternModeColorBars = 2,
410 TestPatternModeColorBarsFadeToGray = 3,
411 TestPatternModePn9 = 4,
412 TestPatternModeCustom1 = 256,
413};
414extern const std::array<const ControlValue, 6> TestPatternModeValues;
415extern const std::map<std::string, int32_t> TestPatternModeNameValueMap;
416extern const Control<int32_t> TestPatternMode;
417#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_TEST_PATTERN_MODE
418 enum FaceDetectModeEnum {
419 FaceDetectModeOff = 0,
420 FaceDetectModeSimple = 1,
421 FaceDetectModeFull = 2,
422};
423extern const std::array<const ControlValue, 3> FaceDetectModeValues;
424extern const std::map<std::string, int32_t> FaceDetectModeNameValueMap;
425extern const Control<int32_t> FaceDetectMode;
426#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_MODE
427extern const Control<Span<const Rectangle>> FaceDetectFaceRectangles;
428#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_RECTANGLES
429extern const Control<Span<const uint8_t>> FaceDetectFaceScores;
430#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_SCORES
431extern const Control<Span<const Point>> FaceDetectFaceLandmarks;
432#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_LANDMARKS
433extern const Control<Span<const int32_t>> FaceDetectFaceIds;
434#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_IDS
435
436} /* namespace draft */
437
438 namespace rpi {
439
440#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS
441
442
443enum {
444 STATS_OUTPUT_ENABLE = 20001,
445 BCM2835_STATS_OUTPUT = 20002,
446 SCALER_CROPS = 20003,
447 PISP_STATS_OUTPUT = 20004,
448 SYNC_MODE = 20005,
449 SYNC_READY = 20006,
450 SYNC_TIMER = 20007,
451 SYNC_FRAMES = 20008,
452};
453
454
455extern const Control<bool> StatsOutputEnable;
456#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_STATS_OUTPUT_ENABLE
457extern const Control<Span<const uint8_t>> Bcm2835StatsOutput;
458#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_BCM2835_STATS_OUTPUT
459extern const Control<Span<const Rectangle>> ScalerCrops;
460#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_SCALER_CROPS
461extern const Control<Span<const uint8_t>> PispStatsOutput;
462#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_PISP_STATS_OUTPUT
463 enum SyncModeEnum {
464 SyncModeOff = 0,
465 SyncModeServer = 1,
466 SyncModeClient = 2,
467};
468extern const std::array<const ControlValue, 3> SyncModeValues;
469extern const std::map<std::string, int32_t> SyncModeNameValueMap;
470extern const Control<int32_t> SyncMode;
471#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_SYNC_MODE
472extern const Control<bool> SyncReady;
473#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_SYNC_READY
474extern const Control<int64_t> SyncTimer;
475#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_SYNC_TIMER
476extern const Control<int32_t> SyncFrames;
477#define LIBCAMERA_HAS_RPI_VENDOR_CONTROLS_SYNC_FRAMES
478
479} /* namespace rpi */
480
481 namespace debug {
482
483#define LIBCAMERA_HAS_DEBUG_VENDOR_CONTROLS
484
485
486
487
488} /* namespace debug */
489
490} /* namespace controls */
491
492} /* namespace libcamera */
libcamera::Control
Describe a control and its intrinsic properties.
Definition controls.h:313
controls.h
Framework to manage controls related to an object.
libcamera::controls::debug
Namespace for debug controls.
Definition control_ids.h:481
libcamera::controls::draft
Namespace for draft controls.
Definition control_ids.h:330
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::NoiseReductionModeEnum
NoiseReductionModeEnum
Supported NoiseReductionMode values.
Definition control_ids.h:362
libcamera::controls::draft::NoiseReductionModeHighQuality
@ NoiseReductionModeHighQuality
High quality noise reduction at the expense of frame rate.
Definition control_ids.h:365
libcamera::controls::draft::NoiseReductionModeMinimal
@ NoiseReductionModeMinimal
Minimal noise reduction is applied without reducing the frame rate.
Definition control_ids.h:366
libcamera::controls::draft::NoiseReductionModeOff
@ NoiseReductionModeOff
No noise reduction is applied.
Definition control_ids.h:363
libcamera::controls::draft::NoiseReductionModeZSL
@ NoiseReductionModeZSL
Noise reduction is applied at different levels to different streams.
Definition control_ids.h:367
libcamera::controls::draft::NoiseReductionModeFast
@ NoiseReductionModeFast
Noise reduction is applied without reducing the frame rate.
Definition control_ids.h:364
libcamera::controls::draft::AwbStateEnum
AwbStateEnum
Supported AwbState values.
Definition control_ids.h:382
libcamera::controls::draft::AwbConverged
@ AwbConverged
The AWB algorithm has converged.
Definition control_ids.h:385
libcamera::controls::draft::AwbStateSearching
@ AwbStateSearching
The AWB algorithm has not converged yet.
Definition control_ids.h:384
libcamera::controls::draft::AwbStateInactive
@ AwbStateInactive
The AWB algorithm is inactive.
Definition control_ids.h:383
libcamera::controls::draft::AwbLocked
@ AwbLocked
The AWB algorithm is locked.
Definition control_ids.h:386
libcamera::controls::draft::FaceDetectFaceLandmarks
const Control< Span< const Point > > FaceDetectFaceLandmarks
Array of human face landmark coordinates in format [..., left_eye_i, right_eye_i, mouth_i,...
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::FaceDetectFaceRectangles
const Control< Span< const Rectangle > > FaceDetectFaceRectangles
Boundary rectangles of the detected faces. The number of values is the number of detected faces.
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::FaceDetectMode
const Control< int32_t > FaceDetectMode
Control to select the face detection mode used by the pipeline.
libcamera::controls::draft::TestPatternModeValues
const std::array< const ControlValue, 6 > TestPatternModeValues
List of all TestPatternMode supported values.
libcamera::controls::draft::FaceDetectModeNameValueMap
const std::map< std::string, int32_t > FaceDetectModeNameValueMap
Map of all FaceDetectMode supported value names (in std::string format) to value.
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:394
libcamera::controls::draft::LensShadingMapModeOn
@ LensShadingMapModeOn
The lens shading map mode is available.
Definition control_ids.h:396
libcamera::controls::draft::LensShadingMapModeOff
@ LensShadingMapModeOff
No lens shading map mode is available.
Definition control_ids.h:395
libcamera::controls::draft::NoiseReductionModeValues
const std::array< const ControlValue, 5 > NoiseReductionModeValues
List of all NoiseReductionMode 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:406
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:408
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:412
libcamera::controls::draft::TestPatternModeOff
@ TestPatternModeOff
No test pattern mode is used. The camera device returns frames from the image sensor.
Definition control_ids.h:407
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:410
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:411
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:409
libcamera::controls::draft::FaceDetectFaceScores
const Control< Span< const uint8_t > > FaceDetectFaceScores
Confidence score of each of the detected faces. The range of score is [0, 100]. The number of values ...
libcamera::controls::draft::FaceDetectFaceIds
const Control< Span< const int32_t > > FaceDetectFaceIds
Each detected face is given a unique ID that is valid for as long as the face is visible to the camer...
libcamera::controls::draft::FaceDetectModeEnum
FaceDetectModeEnum
Supported FaceDetectMode values.
Definition control_ids.h:418
libcamera::controls::draft::FaceDetectModeSimple
@ FaceDetectModeSimple
Pipeline performs face detection and reports the FaceDetectFaceRectangles and FaceDetectFaceScores co...
Definition control_ids.h:420
libcamera::controls::draft::FaceDetectModeFull
@ FaceDetectModeFull
Pipeline performs face detection and reports all the controls related to face detection including Fac...
Definition control_ids.h:421
libcamera::controls::draft::FaceDetectModeOff
@ FaceDetectModeOff
Pipeline doesn't perform face detection and doesn't report any control related to face detection.
Definition control_ids.h:419
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:373
libcamera::controls::draft::ColorCorrectionAberrationOff
@ ColorCorrectionAberrationOff
No aberration correction is applied.
Definition control_ids.h:374
libcamera::controls::draft::ColorCorrectionAberrationFast
@ ColorCorrectionAberrationFast
Aberration correction will not slow down the frame rate.
Definition control_ids.h:375
libcamera::controls::draft::ColorCorrectionAberrationHighQuality
@ ColorCorrectionAberrationHighQuality
High quality aberration correction which might reduce the frame rate.
Definition control_ids.h:376
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::FaceDetectModeValues
const std::array< const ControlValue, 3 > FaceDetectModeValues
List of all FaceDetectMode supported values.
libcamera::controls::draft::AePrecaptureTriggerEnum
AePrecaptureTriggerEnum
Supported AePrecaptureTrigger values.
Definition control_ids.h:353
libcamera::controls::draft::AePrecaptureTriggerIdle
@ AePrecaptureTriggerIdle
The trigger is idle.
Definition control_ids.h:354
libcamera::controls::draft::AePrecaptureTriggerStart
@ AePrecaptureTriggerStart
The pre-capture AE metering is started by the camera.
Definition control_ids.h:355
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:356
libcamera::controls::rpi
Namespace for rpi controls.
Definition control_ids.h:438
libcamera::controls::rpi::PispStatsOutput
const Control< Span< const uint8_t > > PispStatsOutput
Span of the PiSP Frontend ISP generated statistics for the current frame. This is sent in the Request...
libcamera::controls::rpi::SyncMode
const Control< int32_t > SyncMode
Enable or disable camera synchronisation ("sync") mode.
libcamera::controls::rpi::SyncReady
const Control< bool > SyncReady
When using the camera synchronisation algorithm, the server broadcasts timing information to the clie...
libcamera::controls::rpi::SyncModeValues
const std::array< const ControlValue, 3 > SyncModeValues
List of all SyncMode supported values.
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::SyncModeEnum
SyncModeEnum
Supported SyncMode values.
Definition control_ids.h:463
libcamera::controls::rpi::SyncModeOff
@ SyncModeOff
Disable sync mode.
Definition control_ids.h:464
libcamera::controls::rpi::SyncModeClient
@ SyncModeClient
Enable sync mode, act as client. A client listens for any server messages, and arranges for its camer...
Definition control_ids.h:466
libcamera::controls::rpi::SyncModeServer
@ SyncModeServer
Enable sync mode, act as server. The server broadcasts timing messages to any clients that are listen...
Definition control_ids.h:465
libcamera::controls::rpi::ScalerCrops
const Control< Span< const Rectangle > > ScalerCrops
An array of rectangles, where each singular value has identical functionality to the ScalerCrop contr...
libcamera::controls::rpi::SyncTimer
const Control< int64_t > SyncTimer
This reports the amount of time, in microseconds, until the "readytime", at which the server and clie...
libcamera::controls::rpi::StatsOutputEnable
const Control< bool > StatsOutputEnable
Toggles the Raspberry Pi IPA to output the hardware generated statistics.
libcamera::controls::rpi::SyncModeNameValueMap
const std::map< std::string, int32_t > SyncModeNameValueMap
Map of all SyncMode supported value names (in std::string format) to value.
libcamera::controls::rpi::SyncFrames
const Control< int32_t > SyncFrames
The number of frames the server should wait, after enabling SyncModeServer, before signalling (via th...
libcamera::controls::AfRange
const Control< int32_t > AfRange
The range of focus distances that is scanned.
libcamera::controls::AeState
const Control< int32_t > AeState
Report the AEGC algorithm state.
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::ExposureTimeMode
const Control< int32_t > ExposureTimeMode
Controls the source of the exposure time that is applied to the image sensor.
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 for the frame applied in the sensor device.
libcamera::controls::ExposureTimeModeEnum
ExposureTimeModeEnum
Supported ExposureTimeMode values.
Definition control_ids.h:128
libcamera::controls::ExposureTimeModeAuto
@ ExposureTimeModeAuto
The exposure time will be calculated automatically and set by the AE algorithm.
Definition control_ids.h:129
libcamera::controls::ExposureTimeModeManual
@ ExposureTimeModeManual
The exposure time will not be updated by the AE algorithm.
Definition control_ids.h:130
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::ExposureTimeModeValues
const std::array< const ControlValue, 2 > ExposureTimeModeValues
List of all ExposureTimeMode supported values.
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:209
libcamera::controls::AfModeAuto
@ AfModeAuto
The AF algorithm is in auto mode.
Definition control_ids.h:211
libcamera::controls::AfModeContinuous
@ AfModeContinuous
The AF algorithm is in continuous mode.
Definition control_ids.h:212
libcamera::controls::AfModeManual
@ AfModeManual
The AF algorithm is in manual mode.
Definition control_ids.h:210
libcamera::controls::AfPauseEnum
AfPauseEnum
Supported AfPause values.
Definition control_ids.h:253
libcamera::controls::AfPauseImmediate
@ AfPauseImmediate
Pause the continuous autofocus algorithm immediately.
Definition control_ids.h:254
libcamera::controls::AfPauseResume
@ AfPauseResume
Resume continuous autofocus operation.
Definition control_ids.h:256
libcamera::controls::AfPauseDeferred
@ AfPauseDeferred
Pause the continuous autofocus algorithm at the end of the scan.
Definition control_ids.h:255
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::WdrModeNameValueMap
const std::map< std::string, int32_t > WdrModeNameValueMap
Map of all WdrMode supported value names (in std::string format) to value.
libcamera::controls::AeMeteringModeValues
const std::array< const ControlValue, 4 > AeMeteringModeValues
List of all AeMeteringMode supported values.
libcamera::controls::WdrModeEnum
WdrModeEnum
Supported WdrMode values.
Definition control_ids.h:310
libcamera::controls::WdrPower
@ WdrPower
Apply a power global tone mapping curve.
Definition control_ids.h:313
libcamera::controls::WdrExponential
@ WdrExponential
Apply an exponential global tone mapping curve.
Definition control_ids.h:314
libcamera::controls::WdrLinear
@ WdrLinear
Apply a linear global tone mapping curve. A curve with two linear sections is applied....
Definition control_ids.h:312
libcamera::controls::WdrOff
@ WdrOff
Wdr is disabled.
Definition control_ids.h:311
libcamera::controls::WdrHistogramEqualization
@ WdrHistogramEqualization
Apply histogram equalization.
Definition control_ids.h:315
libcamera::controls::WdrStrength
const Control< float > WdrStrength
Specify the strength of the wdr algorithm. The exact meaning of this value is specific to the algorit...
libcamera::controls::AfPauseValues
const std::array< const ControlValue, 3 > AfPauseValues
List of all AfPause supported values.
libcamera::controls::AeStateValues
const std::array< const ControlValue, 3 > AeStateValues
List of all AeState 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:245
libcamera::controls::AfTriggerCancel
@ AfTriggerCancel
Cancel an AF scan.
Definition control_ids.h:247
libcamera::controls::AfTriggerStart
@ AfTriggerStart
Start an AF scan.
Definition control_ids.h:246
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::AnalogueGainModeEnum
AnalogueGainModeEnum
Supported AnalogueGainMode values.
Definition control_ids.h:138
libcamera::controls::AnalogueGainModeManual
@ AnalogueGainModeManual
The analogue gain will not be updated by the AEGC algorithm.
Definition control_ids.h:140
libcamera::controls::AnalogueGainModeAuto
@ AnalogueGainModeAuto
The analogue gain will be calculated automatically and set by the AEGC algorithm.
Definition control_ids.h:139
libcamera::controls::ExposureValue
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter.
libcamera::controls::AnalogueGainModeValues
const std::array< const ControlValue, 2 > AnalogueGainModeValues
List of all AnalogueGainMode supported values.
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:264
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:266
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:265
libcamera::controls::AfStateFailed
@ AfStateFailed
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:268
libcamera::controls::AfStateFocused
@ AfStateFocused
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:267
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::LensShadingCorrectionEnable
const Control< bool > LensShadingCorrectionEnable
Enable or disable the lens shading correction.
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:283
libcamera::controls::HdrModeNight
@ HdrModeNight
Multiple frames will be combined to produce "night mode" images.
Definition control_ids.h:288
libcamera::controls::HdrModeSingleExposure
@ HdrModeSingleExposure
Multiple frames all at a single exposure will be used to create HDR images.
Definition control_ids.h:287
libcamera::controls::HdrModeMultiExposureUnmerged
@ HdrModeMultiExposureUnmerged
Multiple exposures will be generated in an alternating fashion.
Definition control_ids.h:285
libcamera::controls::HdrModeMultiExposure
@ HdrModeMultiExposure
Multiple exposures will be generated and merged to create HDR images.
Definition control_ids.h:286
libcamera::controls::HdrModeOff
@ HdrModeOff
HDR is disabled.
Definition control_ids.h:284
libcamera::controls::AeStateEnum
AeStateEnum
Supported AeState values.
Definition control_ids.h:85
libcamera::controls::AeStateIdle
@ AeStateIdle
The AEGC algorithm is inactive.
Definition control_ids.h:86
libcamera::controls::AeStateSearching
@ AeStateSearching
The AEGC algorithm is actively computing new values, for either the exposure time or the analogue gai...
Definition control_ids.h:87
libcamera::controls::AeStateConverged
@ AeStateConverged
The AEGC algorithm has converged.
Definition control_ids.h:88
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:167
libcamera::controls::AwbIncandescent
@ AwbIncandescent
Incandescent AWB lamp mode.
Definition control_ids.h:169
libcamera::controls::AwbDaylight
@ AwbDaylight
Daylight AWB lighting mode.
Definition control_ids.h:173
libcamera::controls::AwbAuto
@ AwbAuto
Search over the whole colour temperature range.
Definition control_ids.h:168
libcamera::controls::AwbTungsten
@ AwbTungsten
Tungsten AWB lamp mode.
Definition control_ids.h:170
libcamera::controls::AwbIndoor
@ AwbIndoor
Indoor AWB lighting mode.
Definition control_ids.h:172
libcamera::controls::AwbFluorescent
@ AwbFluorescent
Fluorescent AWB lamp mode.
Definition control_ids.h:171
libcamera::controls::AwbCloudy
@ AwbCloudy
Cloudy AWB lighting mode.
Definition control_ids.h:174
libcamera::controls::AwbCustom
@ AwbCustom
Custom AWB mode.
Definition control_ids.h:175
libcamera::controls::WdrMaxBrightPixels
const Control< float > WdrMaxBrightPixels
Percentage of allowed (nearly) saturated pixels. The WDR algorithm reduces the WdrExposureValue until...
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:2542
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:218
libcamera::controls::AfRangeNormal
@ AfRangeNormal
A wide range of focus distances is scanned.
Definition control_ids.h:219
libcamera::controls::AfRangeMacro
@ AfRangeMacro
Only close distances are scanned.
Definition control_ids.h:220
libcamera::controls::AfRangeFull
@ AfRangeFull
The full range of focus distances is scanned.
Definition control_ids.h:221
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::AnalogueGainMode
const Control< int32_t > AnalogueGainMode
Controls the source of the analogue gain that is applied to the image sensor.
libcamera::controls::AnalogueGainModeNameValueMap
const std::map< std::string, int32_t > AnalogueGainModeNameValueMap
Map of all AnalogueGainMode supported value names (in std::string format) to value.
libcamera::controls::AfMetering
const Control< int32_t > AfMetering
The parts of the image used by the AF algorithm to measure focus.
libcamera::controls::LensDewarpEnable
const Control< bool > LensDewarpEnable
Enable or disable lens dewarping.
libcamera::controls::AeMeteringModeEnum
AeMeteringModeEnum
Supported AeMeteringMode values.
Definition control_ids.h:94
libcamera::controls::MeteringSpot
@ MeteringSpot
Spot metering mode.
Definition control_ids.h:96
libcamera::controls::MeteringMatrix
@ MeteringMatrix
Matrix metering mode.
Definition control_ids.h:97
libcamera::controls::MeteringCustom
@ MeteringCustom
Custom metering mode.
Definition control_ids.h:98
libcamera::controls::MeteringCentreWeighted
@ MeteringCentreWeighted
Centre-weighted metering mode.
Definition control_ids.h:95
libcamera::controls::ColourTemperature
const Control< int32_t > ColourTemperature
ColourTemperature of the frame, in kelvin.
libcamera::controls::AeExposureModeEnum
AeExposureModeEnum
Supported AeExposureMode values.
Definition control_ids.h:114
libcamera::controls::ExposureShort
@ ExposureShort
Exposure mode allowing only short exposure times.
Definition control_ids.h:116
libcamera::controls::ExposureNormal
@ ExposureNormal
Default exposure mode.
Definition control_ids.h:115
libcamera::controls::ExposureCustom
@ ExposureCustom
Custom exposure mode.
Definition control_ids.h:118
libcamera::controls::ExposureLong
@ ExposureLong
Exposure mode allowing long exposure times.
Definition control_ids.h:117
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:235
libcamera::controls::AfMeteringWindows
@ AfMeteringWindows
Use the rectangles defined by the AfWindows control to measure focus.
Definition control_ids.h:237
libcamera::controls::AfMeteringAuto
@ AfMeteringAuto
Let the AF algorithm decide for itself where it will measure focus.
Definition control_ids.h:236
libcamera::controls::ExposureTimeModeNameValueMap
const std::map< std::string, int32_t > ExposureTimeModeNameValueMap
Map of all ExposureTimeMode supported value names (in std::string format) to value.
libcamera::controls::AfSpeedEnum
AfSpeedEnum
Supported AfSpeed values.
Definition control_ids.h:227
libcamera::controls::AfSpeedFast
@ AfSpeedFast
Move the lens more quickly.
Definition control_ids.h:229
libcamera::controls::AfSpeedNormal
@ AfSpeedNormal
Move the lens at its usual speed.
Definition control_ids.h:228
libcamera::controls::FrameWallClock
const Control< int64_t > FrameWallClock
This timestamp corresponds to the same moment in time as the SensorTimestamp, but is represented as a...
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::DebugMetadataEnable
const Control< bool > DebugMetadataEnable
Enable or disable the debug metadata.
libcamera::controls::AfTrigger
const Control< int32_t > AfTrigger
Start an autofocus scan.
libcamera::controls::AeConstraintModeEnum
AeConstraintModeEnum
Supported AeConstraintMode values.
Definition control_ids.h:104
libcamera::controls::ConstraintHighlight
@ ConstraintHighlight
Highlight constraint mode.
Definition control_ids.h:106
libcamera::controls::ConstraintCustom
@ ConstraintCustom
Custom constraint mode.
Definition control_ids.h:108
libcamera::controls::ConstraintNormal
@ ConstraintNormal
Default constraint mode.
Definition control_ids.h:105
libcamera::controls::ConstraintShadows
@ ConstraintShadows
Shadows constraint mode.
Definition control_ids.h:107
libcamera::controls::AeStateNameValueMap
const std::map< std::string, int32_t > AeStateNameValueMap
Map of all AeState supported value names (in std::string format) to value.
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:294
libcamera::controls::HdrChannelShort
@ HdrChannelShort
This is a short exposure image.
Definition control_ids.h:296
libcamera::controls::HdrChannelLong
@ HdrChannelLong
This is a long exposure image.
Definition control_ids.h:298
libcamera::controls::HdrChannelMedium
@ HdrChannelMedium
This is a medium exposure image.
Definition control_ids.h:297
libcamera::controls::HdrChannelNone
@ HdrChannelNone
This image does not correspond to any of the captures used to create an HDR image.
Definition control_ids.h:295
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 AEGC algorithm. When this control is set to true, both ExposureTimeMode and Ana...
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:274
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:276
libcamera::controls::AfPauseStatePaused
@ AfPauseStatePaused
Continuous AF is paused.
Definition control_ids.h:277
libcamera::controls::AfPauseStateRunning
@ AfPauseStateRunning
Continuous AF is running and the algorithm may restart a scan spontaneously.
Definition control_ids.h:275
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:146
libcamera::controls::FlickerAuto
@ FlickerAuto
Automatic flicker period detection and avoidance.
Definition control_ids.h:149
libcamera::controls::FlickerOff
@ FlickerOff
No flicker avoidance is performed.
Definition control_ids.h:147
libcamera::controls::FlickerManual
@ FlickerManual
Manual flicker avoidance.
Definition control_ids.h:148
libcamera::controls::AwbModeValues
const std::array< const ControlValue, 8 > AwbModeValues
List of all AwbMode supported values.
libcamera::controls::WdrModeValues
const std::array< const ControlValue, 5 > WdrModeValues
List of all WdrMode 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::WdrMode
const Control< int32_t > WdrMode
Set the WDR mode.
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:362