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