|
libcamera v0.8.0+1-3c8337a0-nvm
Supporting cameras in Linux since 2019
|
A collection of parameters. More...

Static Public Member Functions | |
| static std::optional< Configuration > | parse (const ValueNode &tuningData) |
| Parse tuning data. | |
Public Attributes | |
| Pwl | relativeLuminanceTarget |
| The relative mean luminance target by lux value. | |
| std::map< int32_t, std::vector< AgcConstraint > > | constraintModes |
| The available constraint modes. | |
| std::map< int32_t, ExposureModeHelper > | exposureModeHelpers |
| The available exposure modes. | |
A collection of parameters.
This type contains various configuration parameters for the algorithm that are generally parsed from a tuning file.
|
static |
Parse tuning data.
| [in] | tuningData | the ValueNode representing the tuning data |
This function parses tuning data to build the list of allowed values for the AeConstraintMode and AeExposureMode controls. Those tuning data must provide the data in a specific format; the Agc algorithm's tuning data should contain a dictionary called AeConstraintMode containing per-mode setting dictionaries with the key being a value from controls::AeConstraintModeNameValueMap. The yTarget can either be provided as single value or as array in which case it is interpreted as a PWL mapping lux levels to yTarget values. Each mode dict may contain either a "lower" or "upper" key or both, for example:
For the AeExposureMode control the data should contain a dictionary called AeExposureMode containing per-mode setting dictionaries with the key being a value from controls::AeExposureModeNameValueMap. Each mode dict should contain an array of exposure times with the key "exposureTime" and an array of gain values with the key "gain", in this format: