10 #ifndef __LIBCAMERA_CONTROL_IDS_H__
11 #define __LIBCAMERA_CONTROL_IDS_H__
25 AE_CONSTRAINT_MODE = 4,
36 COLOUR_TEMPERATURE = 15,
38 SENSOR_BLACK_LEVELS = 17,
Describe a control and its intrinsic properties.
Definition: controls.h:251
Framework to manage controls related to an object.
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition: controls.h:294
const Control< float > Brightness
Specify a fixed brightness parameter. Positive values (up to 1.0) produce brighter images; negative v...
AeConstraintModeValues
Supported AeConstraintMode values.
Definition: control_ids.h:52
@ ConstraintNormal
Default constraint mode. This mode aims to balance the exposure of different parts of the image so as...
Definition: control_ids.h:53
@ ConstraintCustom
Custom constraint mode.
Definition: control_ids.h:56
@ ConstraintShadows
Shadows constraint mode. This mode adjusts the exposure levels in order to try and avoid under-exposi...
Definition: control_ids.h:55
@ ConstraintHighlight
Highlight constraint mode. This mode adjusts the exposure levels in order to try and avoid over-expos...
Definition: control_ids.h:54
@ ConstraintModeMax
Maximum allowed value (place any new values above here).
Definition: control_ids.h:57
const Control< int32_t > AeExposureMode
Specify an exposure mode for the AE algorithm to use. These specify how the desired total exposure is...
const Control< int32_t > AwbMode
Specify the range of illuminants to use for the AWB algorithm. The modes supported are platform speci...
const Control< Span< const int32_t > > SensorBlackLevels
Reports the sensor black levels used for processing a frame, in the order R, Gr, Gb,...
const Control< bool > AwbEnable
Enable or disable the AWB.
const Control< int32_t > ExposureTime
Exposure time (shutter speed) for the frame applied in the sensor device. This value is specified in ...
const Control< bool > AeLocked
Report the lock status of a running AE algorithm.
AeMeteringModeValues
Supported AeMeteringMode values.
Definition: control_ids.h:44
@ MeteringModeMax
Maximum allowed value (place any new values above here).
Definition: control_ids.h:49
@ MeteringCentreWeighted
Centre-weighted metering mode.
Definition: control_ids.h:45
@ MeteringSpot
Spot metering mode.
Definition: control_ids.h:46
@ MeteringMatrix
Matrix metering mode.
Definition: control_ids.h:47
@ MeteringCustom
Custom metering mode.
Definition: control_ids.h:48
AeExposureModeValues
Supported AeExposureMode values.
Definition: control_ids.h:60
@ ExposureShort
Exposure mode allowing only short exposure times.
Definition: control_ids.h:62
@ ExposureNormal
Default exposure mode.
Definition: control_ids.h:61
@ ExposureCustom
Custom exposure mode.
Definition: control_ids.h:64
@ ExposureLong
Exposure mode allowing long exposure times.
Definition: control_ids.h:63
@ ExposureModeMax
Maximum allowed value (place any new values above here).
Definition: control_ids.h:65
const Control< float > Contrast
Specify a fixed contrast parameter. Normal contrast is given by the value 1.0; larger values produce ...
const Control< float > ExposureValue
Specify an Exposure Value (EV) parameter. The EV parameter will only be applied if the AE algorithm i...
const Control< bool > AeEnable
Enable or disable the AE.
const Control< int32_t > ColourTemperature
Report the current estimate of the colour temperature, in kelvin, for this frame. The ColourTemperatu...
const ControlIdMap controls
List of all supported libcamera controls.
Definition: control_ids.cpp:291
const Control< float > Saturation
Specify a fixed saturation parameter. Normal saturation is given by the value 1.0; larger values prod...
const Control< float > Lux
Report an estimate of the current illuminance level in lux. The Lux control can only be returned in m...
const Control< int32_t > AeMeteringMode
Specify a metering mode for the AE algorithm to use. The metering modes determine which parts of the ...
AwbModeValues
Supported AwbMode values.
Definition: control_ids.h:75
@ AwbCloudy
Cloudy AWB lighting mode.
Definition: control_ids.h:82
@ AwbIndoor
Indoor AWB lighting mode.
Definition: control_ids.h:80
@ AwbFluorescent
Fluorescent AWB lamp mode.
Definition: control_ids.h:79
@ AwbTungsten
Tungsten AWB lamp mode.
Definition: control_ids.h:78
@ AwbAuto
Search over the whole colour temperature range.
Definition: control_ids.h:76
@ AwbIncandescent
Incandescent AWB lamp mode.
Definition: control_ids.h:77
@ AwbCustom
Custom AWB mode.
Definition: control_ids.h:83
@ AwbDaylight
Daylight AWB lighting mode.
Definition: control_ids.h:81
@ AwbModeMax
Maximum allowed value (place any new values above here).
Definition: control_ids.h:84
const Control< float > AnalogueGain
Analogue gain value applied in the sensor device. The value of the control specifies the gain multipl...
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...
const Control< float > Sharpness
A value of 0.0 means no sharpening. The minimum value means minimal sharpening, and shall be 0....
const Control< int32_t > AeConstraintMode
Specify a constraint mode for the AE algorithm to use. These determine how the measured scene brightn...