40 virtual int init(
const YamlObject &tuningData) = 0;
52 int parseModeConfigs(
const YamlObject &tuningData,
61 std::map<controls::AwbModeEnum, AwbAlgorithm::ModeConfig>
modes_;
double ctLo
The lowest valid colour temperature of that mode.
Definition: awb.h:57
Holds the configuration of a single AWB mode.
Definition: awb.h:55
RGB< double > gains
The calculated white balance gains.
Definition: awb.h:23
Camera controls identifiers.
Top-level libcamera namespace.
Definition: backtrace.h:17
Abstract type representing the value of a control.
Definition: controls.h:133
std::map< controls::AwbModeEnum, AwbAlgorithm::ModeConfig > modes_
Map of all configured modes.
Definition: awb.h:61
std::unordered_map< const ControlId *, ControlInfo > Map
The base std::unsorted_map<> container.
Definition: controls.h:369
ControlInfoMap::Map controls_
Controls info map for the controls provided by the algorithm.
Definition: awb.h:60
A class representing the tree structure of the YAML content.
Definition: yaml_parser.h:27
double colourTemperature
The calculated colour temperature in Kelvin.
Definition: awb.h:24
An abstraction class wrapping hardware-specific AWB statistics.
Definition: awb.h:27
const ControlIdMap controls
List of all supported libcamera controls.
Definition: control_ids.cpp:2205
The result of an AWB calculation.
Definition: awb.h:22
Associate a list of ControlId with their values for an object.
Definition: controls.h:410
Framework to manage controls related to an object.
A base class for auto white balance algorithms.
Definition: awb.h:35
Vector class.
Definition: vector.h:33
const ControlInfoMap::Map & controls() const
Get the controls info map for this algorithm.
Definition: awb.h:44
double ctHi
The highest valid colour temperature of that mode.
Definition: awb.h:56
virtual void handleControls([[maybe_unused]] const ControlList &controls)
Handle the controls supplied in a request.
Definition: awb.h:49