libcamera v0.7.0+1595-4b6c47bd-nvm
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
22namespace 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 HUE = 53,
81};
82
83
84extern const Control<bool> AeEnable;
85#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_ENABLE
91extern const std::array<const ControlValue, 3> AeStateValues;
92extern const std::map<std::string, int32_t> AeStateNameValueMap;
93extern const Control<int32_t> AeState;
94#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_STATE
101extern const std::array<const ControlValue, 4> AeMeteringModeValues;
102extern const std::map<std::string, int32_t> AeMeteringModeNameValueMap;
104#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_METERING_MODE
111extern const std::array<const ControlValue, 4> AeConstraintModeValues;
112extern const std::map<std::string, int32_t> AeConstraintModeNameValueMap;
114#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_CONSTRAINT_MODE
121extern const std::array<const ControlValue, 4> AeExposureModeValues;
122extern const std::map<std::string, int32_t> AeExposureModeNameValueMap;
124#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_EXPOSURE_MODE
125extern const Control<float> ExposureValue;
126#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_EXPOSURE_VALUE
127extern const Control<int32_t> ExposureTime;
128#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_EXPOSURE_TIME
133extern const std::array<const ControlValue, 2> ExposureTimeModeValues;
134extern const std::map<std::string, int32_t> ExposureTimeModeNameValueMap;
136#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_EXPOSURE_TIME_MODE
137extern const Control<float> AnalogueGain;
138#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_ANALOGUE_GAIN
143extern const std::array<const ControlValue, 2> AnalogueGainModeValues;
144extern const std::map<std::string, int32_t> AnalogueGainModeNameValueMap;
146#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_ANALOGUE_GAIN_MODE
152extern const std::array<const ControlValue, 3> AeFlickerModeValues;
153extern const std::map<std::string, int32_t> AeFlickerModeNameValueMap;
155#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_FLICKER_MODE
157#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_FLICKER_PERIOD
159#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AE_FLICKER_DETECTED
160extern const Control<float> Brightness;
161#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_BRIGHTNESS
162extern const Control<float> Contrast;
163#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_CONTRAST
164extern const Control<float> Lux;
165#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LUX
166extern const Control<bool> AwbEnable;
167#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AWB_ENABLE
178extern const std::array<const ControlValue, 8> AwbModeValues;
179extern const std::map<std::string, int32_t> AwbModeNameValueMap;
180extern const Control<int32_t> AwbMode;
181#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AWB_MODE
182extern const Control<bool> AwbLocked;
183#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AWB_LOCKED
185#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_COLOUR_GAINS
187#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_COLOUR_TEMPERATURE
188extern const Control<float> Saturation;
189#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SATURATION
191#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SENSOR_BLACK_LEVELS
192extern const Control<float> Sharpness;
193#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SHARPNESS
194extern const Control<int32_t> FocusFoM;
195#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FOCUS_FO_M
197#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_COLOUR_CORRECTION_MATRIX
198extern const Control<Rectangle> ScalerCrop;
199#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SCALER_CROP
200extern const Control<float> DigitalGain;
201#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_DIGITAL_GAIN
203#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FRAME_DURATION
205#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FRAME_DURATION_LIMITS
207#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SENSOR_TEMPERATURE
209#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_SENSOR_TIMESTAMP
215extern const std::array<const ControlValue, 3> AfModeValues;
216extern const std::map<std::string, int32_t> AfModeNameValueMap;
217extern const Control<int32_t> AfMode;
218#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_MODE
224extern const std::array<const ControlValue, 3> AfRangeValues;
225extern const std::map<std::string, int32_t> AfRangeNameValueMap;
226extern const Control<int32_t> AfRange;
227#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_RANGE
232extern const std::array<const ControlValue, 2> AfSpeedValues;
233extern const std::map<std::string, int32_t> AfSpeedNameValueMap;
234extern const Control<int32_t> AfSpeed;
235#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_SPEED
240extern const std::array<const ControlValue, 2> AfMeteringValues;
241extern const std::map<std::string, int32_t> AfMeteringNameValueMap;
242extern const Control<int32_t> AfMetering;
243#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_METERING
245#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_WINDOWS
250extern const std::array<const ControlValue, 2> AfTriggerValues;
251extern const std::map<std::string, int32_t> AfTriggerNameValueMap;
252extern const Control<int32_t> AfTrigger;
253#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_TRIGGER
259extern const std::array<const ControlValue, 3> AfPauseValues;
260extern const std::map<std::string, int32_t> AfPauseNameValueMap;
261extern const Control<int32_t> AfPause;
262#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_PAUSE
263extern const Control<float> LensPosition;
264#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LENS_POSITION
271extern const std::array<const ControlValue, 4> AfStateValues;
272extern const std::map<std::string, int32_t> AfStateNameValueMap;
273extern const Control<int32_t> AfState;
274#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_STATE
280extern const std::array<const ControlValue, 3> AfPauseStateValues;
281extern const std::map<std::string, int32_t> AfPauseStateNameValueMap;
282extern const Control<int32_t> AfPauseState;
283#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_AF_PAUSE_STATE
291extern const std::array<const ControlValue, 5> HdrModeValues;
292extern const std::map<std::string, int32_t> HdrModeNameValueMap;
293extern const Control<int32_t> HdrMode;
294#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_HDR_MODE
301extern const std::array<const ControlValue, 4> HdrChannelValues;
302extern const std::map<std::string, int32_t> HdrChannelNameValueMap;
303extern const Control<int32_t> HdrChannel;
304#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_HDR_CHANNEL
305extern const Control<float> Gamma;
306#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_GAMMA
308#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_DEBUG_METADATA_ENABLE
310#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_FRAME_WALL_CLOCK
318extern const std::array<const ControlValue, 5> WdrModeValues;
319extern const std::map<std::string, int32_t> WdrModeNameValueMap;
320extern const Control<int32_t> WdrMode;
321#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_WDR_MODE
322extern const Control<float> WdrStrength;
323#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_WDR_STRENGTH
325#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_WDR_MAX_BRIGHT_PIXELS
327#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LENS_DEWARP_ENABLE
329#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_LENS_SHADING_CORRECTION_ENABLE
330extern const Control<float> Hue;
331#define LIBCAMERA_HAS_LIBCAMERA_VENDOR_CONTROLS_HUE
332
333namespace draft {
334
335#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS
336
337
338enum {
339 AE_PRECAPTURE_TRIGGER = 10001,
340 NOISE_REDUCTION_MODE = 10002,
341 COLOR_CORRECTION_ABERRATION_MODE = 10003,
342 AWB_STATE = 10004,
343 SENSOR_ROLLING_SHUTTER_SKEW = 10005,
344 LENS_SHADING_MAP_MODE = 10006,
345 PIPELINE_DEPTH = 10007,
346 MAX_LATENCY = 10008,
347 TEST_PATTERN_MODE = 10009,
348 FACE_DETECT_MODE = 10010,
349 FACE_DETECT_FACE_RECTANGLES = 10011,
350 FACE_DETECT_FACE_SCORES = 10012,
351 FACE_DETECT_FACE_LANDMARKS = 10013,
352 FACE_DETECT_FACE_IDS = 10014,
353};
354
355
361extern const std::array<const ControlValue, 3> AePrecaptureTriggerValues;
362extern const std::map<std::string, int32_t> AePrecaptureTriggerNameValueMap;
364#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_AE_PRECAPTURE_TRIGGER
372extern const std::array<const ControlValue, 5> NoiseReductionModeValues;
373extern const std::map<std::string, int32_t> NoiseReductionModeNameValueMap;
375#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_NOISE_REDUCTION_MODE
381extern const std::array<const ControlValue, 3> ColorCorrectionAberrationModeValues;
382extern const std::map<std::string, int32_t> ColorCorrectionAberrationModeNameValueMap;
384#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_COLOR_CORRECTION_ABERRATION_MODE
391extern const std::array<const ControlValue, 4> AwbStateValues;
392extern const std::map<std::string, int32_t> AwbStateNameValueMap;
393extern const Control<int32_t> AwbState;
394#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_AWB_STATE
396#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_SENSOR_ROLLING_SHUTTER_SKEW
401extern const std::array<const ControlValue, 2> LensShadingMapModeValues;
402extern const std::map<std::string, int32_t> LensShadingMapModeNameValueMap;
404#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_LENS_SHADING_MAP_MODE
406#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_PIPELINE_DEPTH
407extern const Control<int32_t> MaxLatency;
408#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_MAX_LATENCY
417extern const std::array<const ControlValue, 6> TestPatternModeValues;
418extern const std::map<std::string, int32_t> TestPatternModeNameValueMap;
420#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_TEST_PATTERN_MODE
426extern const std::array<const ControlValue, 3> FaceDetectModeValues;
427extern const std::map<std::string, int32_t> FaceDetectModeNameValueMap;
429#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_MODE
431#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_RECTANGLES
433#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_SCORES
435#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_LANDMARKS
437#define LIBCAMERA_HAS_DRAFT_VENDOR_CONTROLS_FACE_DETECT_FACE_IDS
438
439} /* namespace draft */
440
441namespace debug {
442
443#define LIBCAMERA_HAS_DEBUG_VENDOR_CONTROLS
444
445
446
447
448} /* namespace debug */
449
450} /* namespace controls */
451
452} /* namespace libcamera */
Describe a control and its intrinsic properties.
Definition controls.h:313
Framework to manage controls related to an object.
const Control< int32_t > LensShadingMapMode
Control to report if the lens shading map is available. Currently identical to ANDROID_STATISTICS_LEN...
const Control< int32_t > PipelineDepth
Specifies the number of pipeline stages the frame went through from when it was exposed to when the f...
NoiseReductionModeEnum
Supported NoiseReductionMode values.
Definition control_ids.h:365
@ NoiseReductionModeHighQuality
High quality noise reduction at the expense of frame rate.
Definition control_ids.h:368
@ NoiseReductionModeMinimal
Minimal noise reduction is applied without reducing the frame rate.
Definition control_ids.h:369
@ NoiseReductionModeOff
No noise reduction is applied.
Definition control_ids.h:366
@ NoiseReductionModeZSL
Noise reduction is applied at different levels to different streams.
Definition control_ids.h:370
@ NoiseReductionModeFast
Noise reduction is applied without reducing the frame rate.
Definition control_ids.h:367
AwbStateEnum
Supported AwbState values.
Definition control_ids.h:385
@ AwbLocked
The AWB algorithm is locked.
Definition control_ids.h:389
@ AwbStateInactive
The AWB algorithm is inactive.
Definition control_ids.h:386
@ AwbConverged
The AWB algorithm has converged.
Definition control_ids.h:388
@ AwbStateSearching
The AWB algorithm has not converged yet.
Definition control_ids.h:387
const std::map< std::string, int32_t > AePrecaptureTriggerNameValueMap
Map of all AePrecaptureTrigger supported value names (in std::string format) to value.
const Control< Span< const int32_t > > FaceDetectFaceIds
Each detected face is given a unique ID that is valid for as long as the face is visible to the camer...
const Control< int32_t > AwbState
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
const std::map< std::string, int32_t > ColorCorrectionAberrationModeNameValueMap
Map of all ColorCorrectionAberrationMode supported value names (in std::string format) to value.
const std::array< const ControlValue, 5 > NoiseReductionModeValues
List of all NoiseReductionMode supported values.
const Control< int32_t > FaceDetectMode
Control to select the face detection mode used by the pipeline.
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 ...
const Control< int32_t > NoiseReductionMode
Control to select the noise reduction algorithm mode. Currently identical to ANDROID_NOISE_REDUCTION_...
const std::array< const ControlValue, 3 > AePrecaptureTriggerValues
List of all AePrecaptureTrigger supported values.
const Control< int32_t > TestPatternMode
Control to select the test pattern mode. Currently identical to ANDROID_SENSOR_TEST_PATTERN_MODE.
const Control< int32_t > AePrecaptureTrigger
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
const std::map< std::string, int32_t > NoiseReductionModeNameValueMap
Map of all NoiseReductionMode supported value names (in std::string format) to value.
LensShadingMapModeEnum
Supported LensShadingMapMode values.
Definition control_ids.h:397
@ LensShadingMapModeOn
The lens shading map mode is available.
Definition control_ids.h:399
@ LensShadingMapModeOff
No lens shading map mode is available.
Definition control_ids.h:398
const Control< int32_t > ColorCorrectionAberrationMode
Control to select the color correction aberration mode. Currently identical to ANDROID_COLOR_CORRECTI...
const std::array< const ControlValue, 4 > AwbStateValues
List of all AwbState supported values.
const std::array< const ControlValue, 3 > FaceDetectModeValues
List of all FaceDetectMode supported values.
TestPatternModeEnum
Supported TestPatternMode values.
Definition control_ids.h:409
@ TestPatternModeColorBarsFadeToGray
The test pattern is similar to TestPatternModeColorBars, except that each bar should start at its spe...
Definition control_ids.h:413
@ TestPatternModeCustom1
The first custom test pattern. All custom patterns that are available only on this camera device are ...
Definition control_ids.h:415
@ TestPatternModePn9
All pixel data is replaced by a pseudo-random sequence generated from a PN9 512-bit sequence (typical...
Definition control_ids.h:414
@ TestPatternModeOff
No test pattern mode is used. The camera device returns frames from the image sensor.
Definition control_ids.h:410
@ 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:411
@ 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:412
const std::array< const ControlValue, 2 > LensShadingMapModeValues
List of all LensShadingMapMode supported values.
const std::map< std::string, int32_t > TestPatternModeNameValueMap
Map of all TestPatternMode supported value names (in std::string format) to value.
FaceDetectModeEnum
Supported FaceDetectMode values.
Definition control_ids.h:421
@ FaceDetectModeOff
Pipeline doesn't perform face detection and doesn't report any control related to face detection.
Definition control_ids.h:422
@ FaceDetectModeSimple
Pipeline performs face detection and reports the FaceDetectFaceRectangles and FaceDetectFaceScores co...
Definition control_ids.h:423
@ FaceDetectModeFull
Pipeline performs face detection and reports all the controls related to face detection including Fac...
Definition control_ids.h:424
const std::map< std::string, int32_t > AwbStateNameValueMap
Map of all AwbState supported value names (in std::string format) to value.
const Control< int32_t > MaxLatency
The maximum number of frames that can occur after a request (different than the previous) has been su...
const std::array< const ControlValue, 6 > TestPatternModeValues
List of all TestPatternMode supported values.
ColorCorrectionAberrationModeEnum
Supported ColorCorrectionAberrationMode values.
Definition control_ids.h:376
@ ColorCorrectionAberrationHighQuality
High quality aberration correction which might reduce the frame rate.
Definition control_ids.h:379
@ ColorCorrectionAberrationOff
No aberration correction is applied.
Definition control_ids.h:377
@ ColorCorrectionAberrationFast
Aberration correction will not slow down the frame rate.
Definition control_ids.h:378
const Control< int64_t > SensorRollingShutterSkew
Control to report the time between the start of exposure of the first row and the start of exposure o...
const std::array< const ControlValue, 3 > ColorCorrectionAberrationModeValues
List of all ColorCorrectionAberrationMode supported values.
const Control< Span< const Rectangle > > FaceDetectFaceRectangles
Boundary rectangles of the detected faces. The number of values is the number of detected faces.
const std::map< std::string, int32_t > FaceDetectModeNameValueMap
Map of all FaceDetectMode supported value names (in std::string format) to value.
const Control< Span< const Point > > FaceDetectFaceLandmarks
Array of human face landmark coordinates in format [..., left_eye_i, right_eye_i, mouth_i,...
const std::map< std::string, int32_t > LensShadingMapModeNameValueMap
Map of all LensShadingMapMode supported value names (in std::string format) to value.
AePrecaptureTriggerEnum
Supported AePrecaptureTrigger values.
Definition control_ids.h:356
@ AePrecaptureTriggerStart
The pre-capture AE metering is started by the camera.
Definition control_ids.h:358
@ AePrecaptureTriggerIdle
The trigger is idle.
Definition control_ids.h:357
@ AePrecaptureTriggerCancel
The camera will cancel any active or completed metering sequence. The AE algorithm is reset to its in...
Definition control_ids.h:359
const Control< int64_t > SensorTimestamp
The time when the first row of the image sensor active array is exposed.
const std::map< std::string, int32_t > ExposureTimeModeNameValueMap
Map of all ExposureTimeMode supported value names (in std::string format) to value.
const std::map< std::string, int32_t > HdrChannelNameValueMap
Map of all HdrChannel supported value names (in std::string format) to value.
const Control< bool > LensDewarpEnable
Enable or disable lens dewarping.
const Control< float > Brightness
Specify a fixed brightness parameter.
const std::array< const ControlValue, 2 > AfSpeedValues
List of all AfSpeed supported values.
const std::array< const ControlValue, 4 > AeConstraintModeValues
List of all AeConstraintMode supported values.
const Control< int32_t > AeExposureMode
Specify an exposure mode for the AE algorithm to use.
const Control< int32_t > AfSpeed
Determine whether the AF is to move the lens as quickly as possible or more steadily.
const std::array< const ControlValue, 5 > WdrModeValues
List of all WdrMode supported values.
const Control< int32_t > AwbMode
Specify the range of illuminants to use for the AWB algorithm.
const std::array< const ControlValue, 3 > AfModeValues
List of all AfMode supported values.
const Control< Span< const int32_t, 4 > > SensorBlackLevels
Reports the sensor black levels used for processing a frame.
ExposureTimeModeEnum
Supported ExposureTimeMode values.
Definition control_ids.h:129
@ ExposureTimeModeAuto
The exposure time will be calculated automatically and set by the AE algorithm.
Definition control_ids.h:130
@ ExposureTimeModeManual
The exposure time will not be updated by the AE algorithm.
Definition control_ids.h:131
const Control< int32_t > ExposureTimeMode
Controls the source of the exposure time that is applied to the image sensor.
AfModeEnum
Supported AfMode values.
Definition control_ids.h:210
@ AfModeManual
The AF algorithm is in manual mode.
Definition control_ids.h:211
@ AfModeContinuous
The AF algorithm is in continuous mode.
Definition control_ids.h:213
@ AfModeAuto
The AF algorithm is in auto mode.
Definition control_ids.h:212
const std::array< const ControlValue, 4 > AfStateValues
List of all AfState supported values.
const Control< int64_t > FrameDuration
The instantaneous frame duration from start of frame exposure to start of next exposure,...
AfPauseEnum
Supported AfPause values.
Definition control_ids.h:254
@ AfPauseDeferred
Pause the continuous autofocus algorithm at the end of the scan.
Definition control_ids.h:256
@ AfPauseResume
Resume continuous autofocus operation.
Definition control_ids.h:257
@ AfPauseImmediate
Pause the continuous autofocus algorithm immediately.
Definition control_ids.h:255
const Control< bool > AwbEnable
Enable or disable the AWB.
const Control< int32_t > AfRange
The range of focus distances that is scanned.
const Control< int32_t > FocusFoM
Reports a Figure of Merit (FoM) to indicate how in-focus the frame is.
const std::array< const ControlValue, 2 > AfMeteringValues
List of all AfMetering supported values.
WdrModeEnum
Supported WdrMode values.
Definition control_ids.h:311
@ WdrOff
Wdr is disabled.
Definition control_ids.h:312
@ WdrPower
Apply a power global tone mapping curve.
Definition control_ids.h:314
@ WdrHistogramEqualization
Apply histogram equalization.
Definition control_ids.h:316
@ WdrLinear
Apply a linear global tone mapping curve. A curve with two linear sections is applied....
Definition control_ids.h:313
@ WdrExponential
Apply an exponential global tone mapping curve.
Definition control_ids.h:315
const Control< int32_t > AfPause
Pause lens movements when in continuous autofocus mode.
const std::map< std::string, int32_t > AeMeteringModeNameValueMap
Map of all AeMeteringMode supported value names (in std::string format) to value.
const std::map< std::string, int32_t > AfMeteringNameValueMap
Map of all AfMetering supported value names (in std::string format) to value.
const Control< int32_t > AfMode
The mode of the AF (autofocus) algorithm.
const std::array< const ControlValue, 3 > AfPauseValues
List of all AfPause supported values.
const Control< int32_t > ExposureTime
Exposure time for the frame applied in the sensor device.
AfTriggerEnum
Supported AfTrigger values.
Definition control_ids.h:246
@ AfTriggerStart
Start an AF scan.
Definition control_ids.h:247
@ AfTriggerCancel
Cancel an AF scan.
Definition control_ids.h:248
const Control< Span< const int64_t, 2 > > FrameDurationLimits
The minimum and maximum (in that order) frame duration, expressed in microseconds.
const std::array< const ControlValue, 4 > AeMeteringModeValues
List of all AeMeteringMode supported values.
const Control< float > Hue
Adjusts the image hue (colour rotation) in degrees, as defined in the HSL/HSV colour model.
AnalogueGainModeEnum
Supported AnalogueGainMode values.
Definition control_ids.h:139
@ AnalogueGainModeManual
The analogue gain will not be updated by the AEGC algorithm.
Definition control_ids.h:141
@ AnalogueGainModeAuto
The analogue gain will be calculated automatically and set by the AEGC algorithm.
Definition control_ids.h:140
const std::map< std::string, int32_t > AwbModeNameValueMap
Map of all AwbMode supported value names (in std::string format) to value.
const std::array< const ControlValue, 4 > HdrChannelValues
List of all HdrChannel supported values.
const std::array< const ControlValue, 4 > AeExposureModeValues
List of all AeExposureMode supported values.
const std::map< std::string, int32_t > AeStateNameValueMap
Map of all AeState supported value names (in std::string format) to value.
const Control< int32_t > AeFlickerDetected
Flicker period detected in microseconds.
AfStateEnum
Supported AfState values.
Definition control_ids.h:265
@ AfStateIdle
The AF algorithm is in manual mode (AfModeManual) or in auto mode (AfModeAuto) and a scan has not yet...
Definition control_ids.h:266
@ AfStateScanning
The AF algorithm is in auto mode (AfModeAuto), and a scan has been started using the AfTrigger contro...
Definition control_ids.h:267
@ AfStateFailed
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:269
@ AfStateFocused
The AF algorithm is in auto (AfModeAuto) or continuous (AfModeContinuous) mode and a scan has complet...
Definition control_ids.h:268
const std::array< const ControlValue, 3 > AeStateValues
List of all AeState supported values.
const Control< bool > LensShadingCorrectionEnable
Enable or disable the lens shading correction.
const Control< int32_t > HdrMode
Set the mode to be used for High Dynamic Range (HDR) imaging.
HdrModeEnum
Supported HdrMode values.
Definition control_ids.h:284
@ HdrModeNight
Multiple frames will be combined to produce "night mode" images.
Definition control_ids.h:289
@ HdrModeOff
HDR is disabled.
Definition control_ids.h:285
@ HdrModeMultiExposure
Multiple exposures will be generated and merged to create HDR images.
Definition control_ids.h:287
@ HdrModeMultiExposureUnmerged
Multiple exposures will be generated in an alternating fashion.
Definition control_ids.h:286
@ HdrModeSingleExposure
Multiple frames all at a single exposure will be used to create HDR images.
Definition control_ids.h:288
AeStateEnum
Supported AeState values.
Definition control_ids.h:86
@ AeStateConverged
The AEGC algorithm has converged.
Definition control_ids.h:89
@ AeStateIdle
The AEGC algorithm is inactive.
Definition control_ids.h:87
@ AeStateSearching
The AEGC algorithm is actively computing new values, for either the exposure time or the analogue gai...
Definition control_ids.h:88
const Control< int32_t > AfPauseState
Report whether the autofocus is currently running, paused or pausing.
const Control< float > Gamma
Specify a fixed gamma value.
const Control< float > Contrast
Specify a fixed contrast parameter.
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter.
const Control< bool > AeEnable
Enable or disable the AEGC algorithm. When this control is set to true, both ExposureTimeMode and Ana...
const Control< float > WdrMaxBrightPixels
Percentage of allowed (nearly) saturated pixels. The WDR algorithm reduces the WdrExposureValue until...
const std::array< const ControlValue, 2 > AfTriggerValues
List of all AfTrigger supported values.
const std::map< std::string, int32_t > WdrModeNameValueMap
Map of all WdrMode supported value names (in std::string format) to value.
AwbModeEnum
Supported AwbMode values.
Definition control_ids.h:168
@ AwbDaylight
Daylight AWB lighting mode.
Definition control_ids.h:174
@ AwbTungsten
Tungsten AWB lamp mode.
Definition control_ids.h:171
@ AwbAuto
Search over the whole colour temperature range.
Definition control_ids.h:169
@ AwbCustom
Custom AWB mode.
Definition control_ids.h:176
@ AwbIndoor
Indoor AWB lighting mode.
Definition control_ids.h:173
@ AwbFluorescent
Fluorescent AWB lamp mode.
Definition control_ids.h:172
@ AwbIncandescent
Incandescent AWB lamp mode.
Definition control_ids.h:170
@ AwbCloudy
Cloudy AWB lighting mode.
Definition control_ids.h:175
const Control< float > DigitalGain
Digital gain value applied during the processing steps applied to the image as captured from the sens...
const Control< Rectangle > ScalerCrop
Sets the image portion that will be scaled to form the whole of the final output image.
const Control< int32_t > AnalogueGainMode
Controls the source of the analogue gain that is applied to the image sensor.
const Control< int32_t > ColourTemperature
ColourTemperature of the frame, in kelvin.
const std::map< std::string, int32_t > AfSpeedNameValueMap
Map of all AfSpeed supported value names (in std::string format) to value.
const ControlIdMap controls
List of all supported libcamera controls.
Definition control_ids.cpp:2342
const Control< bool > DebugMetadataEnable
Enable or disable the debug metadata.
const Control< float > SensorTemperature
Temperature measure from the camera sensor in Celsius.
const Control< float > Saturation
Specify a fixed saturation parameter.
const std::map< std::string, int32_t > AnalogueGainModeNameValueMap
Map of all AnalogueGainMode supported value names (in std::string format) to value.
const Control< float > Lux
Report an estimate of the current illuminance level in lux.
const Control< int32_t > AeMeteringMode
Specify a metering mode for the AE algorithm to use.
const std::map< std::string, int32_t > HdrModeNameValueMap
Map of all HdrMode supported value names (in std::string format) to value.
AfRangeEnum
Supported AfRange values.
Definition control_ids.h:219
@ AfRangeNormal
A wide range of focus distances is scanned.
Definition control_ids.h:220
@ AfRangeMacro
Only close distances are scanned.
Definition control_ids.h:221
@ AfRangeFull
The full range of focus distances is scanned.
Definition control_ids.h:222
const Control< int32_t > HdrChannel
The HDR channel used to capture the frame.
const std::map< std::string, int32_t > AfModeNameValueMap
Map of all AfMode supported value names (in std::string format) to value.
const std::array< const ControlValue, 3 > AfRangeValues
List of all AfRange supported values.
const std::map< std::string, int32_t > AeFlickerModeNameValueMap
Map of all AeFlickerMode supported value names (in std::string format) to value.
const std::array< const ControlValue, 5 > HdrModeValues
List of all HdrMode supported values.
const std::array< const ControlValue, 8 > AwbModeValues
List of all AwbMode supported values.
const std::map< std::string, int32_t > AfTriggerNameValueMap
Map of all AfTrigger supported value names (in std::string format) to value.
const Control< int64_t > FrameWallClock
This timestamp corresponds to the same moment in time as the SensorTimestamp, but is represented as a...
const Control< float > WdrStrength
Specify the strength of the wdr algorithm. The exact meaning of this value is specific to the algorit...
const std::array< const ControlValue, 2 > ExposureTimeModeValues
List of all ExposureTimeMode supported values.
AeMeteringModeEnum
Supported AeMeteringMode values.
Definition control_ids.h:95
@ MeteringCentreWeighted
Centre-weighted metering mode.
Definition control_ids.h:96
@ MeteringMatrix
Matrix metering mode.
Definition control_ids.h:98
@ MeteringCustom
Custom metering mode.
Definition control_ids.h:99
@ MeteringSpot
Spot metering mode.
Definition control_ids.h:97
AeExposureModeEnum
Supported AeExposureMode values.
Definition control_ids.h:115
@ ExposureLong
Exposure mode allowing long exposure times.
Definition control_ids.h:118
@ ExposureNormal
Default exposure mode.
Definition control_ids.h:116
@ ExposureShort
Exposure mode allowing only short exposure times.
Definition control_ids.h:117
@ ExposureCustom
Custom exposure mode.
Definition control_ids.h:119
const std::array< const ControlValue, 3 > AfPauseStateValues
List of all AfPauseState supported values.
const Control< float > AnalogueGain
Analogue gain value applied in the sensor device.
const std::map< std::string, int32_t > AfStateNameValueMap
Map of all AfState supported value names (in std::string format) to value.
AfMeteringEnum
Supported AfMetering values.
Definition control_ids.h:236
@ AfMeteringAuto
Let the AF algorithm decide for itself where it will measure focus.
Definition control_ids.h:237
@ AfMeteringWindows
Use the rectangles defined by the AfWindows control to measure focus.
Definition control_ids.h:238
const std::array< const ControlValue, 3 > AeFlickerModeValues
List of all AeFlickerMode supported values.
AfSpeedEnum
Supported AfSpeed values.
Definition control_ids.h:228
@ AfSpeedNormal
Move the lens at its usual speed.
Definition control_ids.h:229
@ AfSpeedFast
Move the lens more quickly.
Definition control_ids.h:230
const Control< int32_t > AeState
Report the AEGC algorithm state.
AeConstraintModeEnum
Supported AeConstraintMode values.
Definition control_ids.h:105
@ ConstraintHighlight
Highlight constraint mode.
Definition control_ids.h:107
@ ConstraintCustom
Custom constraint mode.
Definition control_ids.h:109
@ ConstraintShadows
Shadows constraint mode.
Definition control_ids.h:108
@ ConstraintNormal
Default constraint mode.
Definition control_ids.h:106
const Control< Span< const float, 2 > > ColourGains
Pair of gain values for the Red and Blue colour channels, in that order.
const Control< float > LensPosition
Set and report the focus lens position.
const std::map< std::string, int32_t > AfPauseStateNameValueMap
Map of all AfPauseState supported value names (in std::string format) to value.
const std::map< std::string, int32_t > AfPauseNameValueMap
Map of all AfPause supported value names (in std::string format) to value.
const Control< int32_t > AfTrigger
Start an autofocus scan.
const std::map< std::string, int32_t > AeExposureModeNameValueMap
Map of all AeExposureMode supported value names (in std::string format) to value.
HdrChannelEnum
Supported HdrChannel values.
Definition control_ids.h:295
@ HdrChannelMedium
This is a medium exposure image.
Definition control_ids.h:298
@ HdrChannelShort
This is a short exposure image.
Definition control_ids.h:297
@ HdrChannelNone
This image does not correspond to any of the captures used to create an HDR image.
Definition control_ids.h:296
@ HdrChannelLong
This is a long exposure image.
Definition control_ids.h:299
const Control< int32_t > AfMetering
The parts of the image used by the AF algorithm to measure focus.
const std::map< std::string, int32_t > AfRangeNameValueMap
Map of all AfRange supported value names (in std::string format) to value.
const Control< Span< const float, 9 > > ColourCorrectionMatrix
The 3x3 matrix that converts camera RGB to sRGB within the imaging pipeline.
const std::map< std::string, int32_t > AeConstraintModeNameValueMap
Map of all AeConstraintMode supported value names (in std::string format) to value.
const std::array< const ControlValue, 2 > AnalogueGainModeValues
List of all AnalogueGainMode supported values.
const Control< float > Sharpness
Intensity of the sharpening applied to the image.
AfPauseStateEnum
Supported AfPauseState values.
Definition control_ids.h:275
@ AfPauseStatePausing
Continuous AF has been sent an AfPauseDeferred control, and will pause as soon as any in-progress sca...
Definition control_ids.h:277
@ AfPauseStateRunning
Continuous AF is running and the algorithm may restart a scan spontaneously.
Definition control_ids.h:276
@ AfPauseStatePaused
Continuous AF is paused.
Definition control_ids.h:278
const Control< Span< const Rectangle > > AfWindows
The focus windows used by the AF algorithm when AfMetering is set to AfMeteringWindows.
const Control< bool > AwbLocked
Report the lock status of a running AWB algorithm.
AeFlickerModeEnum
Supported AeFlickerMode values.
Definition control_ids.h:147
@ FlickerAuto
Automatic flicker period detection and avoidance.
Definition control_ids.h:150
@ FlickerOff
No flicker avoidance is performed.
Definition control_ids.h:148
@ FlickerManual
Manual flicker avoidance.
Definition control_ids.h:149
const Control< int32_t > AeFlickerPeriod
Manual flicker period in microseconds.
const Control< int32_t > AeFlickerMode
Set the flicker avoidance mode for AGC/AEC.
const Control< int32_t > AfState
The current state of the AF algorithm.
const Control< int32_t > WdrMode
Set the WDR mode.
const Control< int32_t > AeConstraintMode
Specify a constraint mode for the AE algorithm to use.
Top-level libcamera namespace.
Definition backtrace.h:17
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition controls.h:362