49 ControlList &metadata, std::optional<ProcessParams> &¶ms);
55 double referenceAnalogueGain_;
56 double referenceDigitalGain_;
Associate a list of ControlId with their values for an object.
Definition controls.h:453
A class representing a tree structure of values.
Definition value_node.h:27
The base class for creating histograms.
Definition histogram.h:23
Lux estimation algorithm.
Definition lux.h:37
int init(const ValueNode &tuningData)
Initialize algorithm and parse tuning data.
Definition lux.cpp:129
void process(lux::ActiveState &state, const lux::FrameContext &frameContext, ControlList &metadata, std::optional< ProcessParams > &¶ms)
Definition lux.cpp:196
void prepare(const lux::ActiveState &state, lux::FrameContext &frameContext)
Definition lux.cpp:181
Helper class from std::chrono::duration that represents a time duration in nanoseconds with double pr...
Definition utils.h:331
Top-level libcamera namespace.
Definition backtrace.h:17
Parameters for LuxAlgorithm::process()
Definition lux.h:39
double digitalGain
Effective digital gain of the frame.
Definition lux.h:42
double analogueGain
Effective analogue gain of the frame.
Definition lux.h:41
const Histogram & yHist
Luminance histogram of the frame.
Definition lux.h:43
utils::Duration exposureTime
Effective exposure time of the frame.
Definition lux.h:40
The active state for the algorithm.
Definition lux.h:26
double lux
The latest lux estimation.
Definition lux.h:27
The frame context for the algorithm.
Definition lux.h:30
double lux
The estimated lux value for the given frame.
Definition lux.h:31
Miscellaneous utility functions.