10 #ifndef __LIBCAMERA_CONTROL_IDS_H__ 11 #define __LIBCAMERA_CONTROL_IDS_H__ 26 AE_CONSTRAINT_MODE = 4,
38 COLOUR_TEMPERATURE = 16,
40 SENSOR_BLACK_LEVELS = 18,
43 COLOUR_CORRECTION_MATRIX = 21,
47 AE_PRECAPTURE_TRIGGER = 25,
49 NOISE_REDUCTION_MODE = 27,
50 COLOR_CORRECTION_ABERRATION_MODE = 28,
54 SENSOR_TIMESTAMP = 32,
55 SENSOR_ROLLING_SHUTTER_SKEW = 33,
56 LENS_SHADING_MAP_MODE = 34,
104 extern const std::array<const ControlValue, 8>
AwbModeValues;
160 extern const std::array<const ControlValue, 6>
AeStateValues;
171 extern const std::array<const ControlValue, 7>
AfStateValues;
Custom constraint mode.
Definition: control_ids.h:75
Highlight constraint mode. This mode adjusts the exposure levels in order to try and avoid over-expos...
Definition: control_ids.h:73
Exposure mode allowing only short exposure times.
Definition: control_ids.h:81
Default constraint mode. This mode aims to balance the exposure of different parts of the image so as...
Definition: control_ids.h:72
Noise reduction is applied at different levels to different streams.
Definition: control_ids.h:141
const Control< float > Saturation
Specify a fixed saturation parameter. Normal saturation is given by the value 1.0; larger values prod...
The AF routine is started by the camera.
Definition: control_ids.h:131
AF believes has focused correctly and has locked focus.
Definition: control_ids.h:167
Incandescent AWB lamp mode.
Definition: control_ids.h:96
const Control< float > AnalogueGain
Analogue gain value applied in the sensor device. The value of the control specifies the gain multipl...
AF has not been able to focus and has locked.
Definition: control_ids.h:168
No noise reduction is applied.
Definition: control_ids.h:137
const Control< int32_t > NoiseReductionMode
Control to select the noise reduction algorithm mode. Currently identical to ANDROID_NOISE_REDUCTION_...
const Control< Span< const float > > ColourGains
Pair of gain values for the Red and Blue colour channels, in that order. ColourGains can only be appl...
Custom exposure mode.
Definition: control_ids.h:83
AF has completed a passive scan without finding focus.
Definition: control_ids.h:169
50Hz flickering detected.
Definition: control_ids.h:191
const std::array< const ControlValue, 5 > NoiseReductionModeValues
List of all NoiseReductionMode supported values.
AwbModeEnum
Supported AwbMode values.
Definition: control_ids.h:94
const Control< bool > AeEnable
Enable or disable the AE.
const Control< int32_t > ColorCorrectionAberrationMode
Control to select the color correction aberration mode. Currently identical to ANDROID_COLOR_CORRECTI...
Daylight AWB lighting mode.
Definition: control_ids.h:100
const Control< int32_t > PipelineDepth
Specifies the number of pipeline stages the frame went through from when it was exposed to when the f...
Fluorescent AWB lamp mode.
Definition: control_ids.h:98
60Hz flickering detected.
Definition: control_ids.h:192
High quality noise reduction at the expense of frame rate.
Definition: control_ids.h:139
const Control< int32_t > ColourTemperature
Report the current estimate of the colour temperature, in kelvin, for this frame. The ColourTemperatu...
AePrecaptureTriggerEnum
Supported AePrecaptureTrigger values.
Definition: control_ids.h:122
Top-level libcamera namespace.
Definition: bound_method.h:15
const std::array< const ControlValue, 7 > AfStateValues
List of all AfState supported values.
No flickering detected.
Definition: control_ids.h:190
The AF algorithm is inactive.
Definition: control_ids.h:163
const Control< float > Lux
Report an estimate of the current illuminance level in lux. The Lux control can only be returned in m...
The camera will cancel any active or completed metering sequence. The AE algorithm is reset to its in...
Definition: control_ids.h:125
Default exposure mode.
Definition: control_ids.h:80
AwbStateEnum
Supported AwbState values.
Definition: control_ids.h:173
Centre-weighted metering mode.
Definition: control_ids.h:64
const std::array< const ControlValue, 3 > SceneFlickerValues
List of all SceneFlicker supported values.
Custom AWB mode.
Definition: control_ids.h:102
const Control< float > DigitalGain
Digital gain value applied during the processing steps applied to the image as captured from the sens...
AeMeteringModeEnum
Supported AeMeteringMode values.
Definition: control_ids.h:63
The AWB algorithm has converged.
Definition: control_ids.h:176
const Control< bool > AwbLocked
Report the lock status of a running AWB algorithm.
Minimal noise reduction is applied without reducing the frame rate.
Definition: control_ids.h:140
The AE algorithm is inactive.
Definition: control_ids.h:153
const std::array< const ControlValue, 8 > AwbModeValues
List of all AwbMode supported values.
Spot metering mode.
Definition: control_ids.h:65
AeExposureModeEnum
Supported AeExposureMode values.
Definition: control_ids.h:79
Describe a control and its intrinsic properties.
Definition: controls.h:252
AF is performing a scan triggered by an AF trigger request.
Definition: control_ids.h:166
The AE algorithm is locked.
Definition: control_ids.h:156
const Control< int32_t > AePrecaptureTrigger
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
const Control< Span< const int64_t > > FrameDurations
The minimum and maximum (in that order) frame duration, expressed in microseconds.
const Control< int64_t > SensorRollingShutterSkew
Control to report the time between the start of exposure of the first row and the start of exposure o...
const std::array< const ControlValue, 3 > AePrecaptureTriggerValues
List of all AePrecaptureTrigger supported values.
const Control< int32_t > AwbMode
Specify the range of illuminants to use for the AWB algorithm. The modes supported are platform speci...
const Control< int32_t > LensShadingMapMode
Control to report if the lens shading map is available. Currently identical to ANDROID_STATISTICS_LEN...
AfTriggerEnum
Supported AfTrigger values.
Definition: control_ids.h:129
const Control< Span< const float > > ColourCorrectionMatrix
The 3x3 matrix that converts camera RGB to sRGB within the imaging pipeline. This should describe the...
const std::array< const ControlValue, 6 > AeStateValues
List of all AeState supported values.
const Control< int32_t > AeConstraintMode
Specify a constraint mode for the AE algorithm to use. These determine how the measured scene brightn...
The camera will cancel any active trigger and the AF routine is reset to its initial state...
Definition: control_ids.h:132
const Control< int32_t > AfState
Control to report the current AF algorithm state. Currently identical to ANDROID_CONTROL_AF_STATE.
const std::array< const ControlValue, 4 > AwbStateValues
List of all AwbState supported values.
const std::array< const ControlValue, 3 > ColorCorrectionAberrationModeValues
List of all ColorCorrectionAberrationMode supported values.
const Control< Span< const int32_t > > SensorBlackLevels
Reports the sensor black levels used for processing a frame, in the order R, Gr, Gb, B. These values are returned as numbers out of a 16-bit pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels control can only be returned in metadata.
Noise reduction is applied without reducing the frame rate.
Definition: control_ids.h:138
Shadows constraint mode. This mode adjusts the exposure levels in order to try and avoid under-exposi...
Definition: control_ids.h:74
const Control< int32_t > AwbState
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
const Control< int32_t > AeState
Control to report the current AE algorithm state. Currently identical to ANDROID_CONTROL_AE_STATE.
The trigger is idle.
Definition: control_ids.h:123
const Control< float > Sharpness
A value of 0.0 means no sharpening. The minimum value means minimal sharpening, and shall be 0...
Cloudy AWB lighting mode.
Definition: control_ids.h:101
The AE algorithm has converged.
Definition: control_ids.h:155
const std::array< const ControlValue, 4 > AeMeteringModeValues
List of all AeMeteringMode supported values.
const Control< int32_t > ExposureTime
Exposure time (shutter speed) for the frame applied in the sensor device. This value is specified in ...
const std::array< const ControlValue, 4 > AeExposureModeValues
List of all AeExposureMode supported values.
Indoor AWB lighting mode.
Definition: control_ids.h:99
The pre-capture AE metering is started by the camera.
Definition: control_ids.h:124
NoiseReductionModeEnum
Supported NoiseReductionMode values.
Definition: control_ids.h:136
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter. The EV parameter will only be applied if the AE algorithm i...
const Control< int32_t > AeMeteringMode
Specify a metering mode for the AE algorithm to use. The metering modes determine which parts of the ...
The AE algorithm has started a pre-capture metering session.
Definition: control_ids.h:158
SceneFlickerEnum
Supported SceneFlicker values.
Definition: control_ids.h:189
The AWB algorithm is inactive.
Definition: control_ids.h:174
AfStateEnum
Supported AfState values.
Definition: control_ids.h:162
const std::array< const ControlValue, 4 > AeConstraintModeValues
List of all AeConstraintMode supported values.
const Control< bool > AwbEnable
Enable or disable the AWB.
High quality aberration correction which might reduce the frame rate.
Definition: control_ids.h:148
const Control< float > Brightness
Specify a fixed brightness parameter. Positive values (up to 1.0) produce brighter images; negative v...
Search over the whole colour temperature range.
Definition: control_ids.h:95
AeStateEnum
Supported AeState values.
Definition: control_ids.h:152
The AE algorithm would need a flash for good results.
Definition: control_ids.h:157
AF is performing a passive scan of the scene in continuous auto-focus mode.
Definition: control_ids.h:164
LensShadingMapModeEnum
Supported LensShadingMapMode values.
Definition: control_ids.h:183
Matrix metering mode.
Definition: control_ids.h:66
Tungsten AWB lamp mode.
Definition: control_ids.h:97
No aberration correction is applied.
Definition: control_ids.h:146
const Control< bool > AeLocked
Report the lock status of a running AE algorithm.
const ControlIdMap controls
List of all supported libcamera controls.
Definition: control_ids.cpp:893
AF believes the scene is in focus, but might restart scanning.
Definition: control_ids.h:165
const Control< int32_t > AeExposureMode
Specify an exposure mode for the AE algorithm to use. These specify how the desired total exposure is...
The AWB algorithm has not converged yet.
Definition: control_ids.h:175
Framework to manage controls related to an object.
const Control< int32_t > SceneFlicker
Control to report the detected scene light frequency. Currently identical to ANDROID_STATISTICS_SCENE...
The trigger is idle.
Definition: control_ids.h:130
The lens shading map mode is available.
Definition: control_ids.h:185
const Control< float > Contrast
Specify a fixed contrast parameter. Normal contrast is given by the value 1.0; larger values produce ...
const std::array< const ControlValue, 3 > AfTriggerValues
List of all AfTrigger supported values.
AeConstraintModeEnum
Supported AeConstraintMode values.
Definition: control_ids.h:71
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition: controls.h:299
ColorCorrectionAberrationModeEnum
Supported ColorCorrectionAberrationMode values.
Definition: control_ids.h:145
No lens shading map mode is available.
Definition: control_ids.h:184
Exposure mode allowing long exposure times.
Definition: control_ids.h:82
const Control< int32_t > FocusFoM
Reports a Figure of Merit (FoM) to indicate how in-focus the frame is. A larger FocusFoM value indica...
Custom metering mode.
Definition: control_ids.h:67
const Control< int32_t > AfTrigger
Control for AF trigger. Currently identical to ANDROID_CONTROL_AF_TRIGGER.
const Control< int64_t > SensorTimestamp
Control to report the start of exposure of the first row of the captured image. Currently identical t...
The AE algorithm has not converged yet.
Definition: control_ids.h:154
Aberration correction will not slow down the frame rate.
Definition: control_ids.h:147
const std::array< const ControlValue, 2 > LensShadingMapModeValues
List of all LensShadingMapMode supported values.
const Control< Rectangle > ScalerCrop
Sets the image portion that will be scaled to form the whole of the final output image. The (x,y) location of this rectangle is relative to the PixelArrayActiveAreas that is being used. The units remain native sensor pixels, even if the sensor is being used in a binning or skipping mode.