24 std::array<double, 2>
gain;
44 AgcMSV::Result updateExposure(uint32_t exposure,
double again,
float exposureMSV);
Binned mean luminance based AGC algorithm.
Definition agc_msv.h:20
Result calculateNewEv(const Params ¶ms)
Calculate a new set of AGC parameters.
Definition agc_msv.cpp:172
void setLimits(const Limits &limits)
Set the limits for the algorithm.
Definition agc_msv.cpp:164
The base class for creating histograms.
Definition histogram.h:23
Top-level libcamera namespace.
Definition backtrace.h:17
Set of limits for the algorithm.
Definition agc_msv.h:22
std::array< double, 2 > gain
Minimum and maximum allowed gain.
Definition agc_msv.h:24
std::array< uint32_t, 2 > exposure
Minimum and maximum allowed exposure (in lines)
Definition agc_msv.h:23
double gainMinStep
Minimum allowed gain adjustment.
Definition agc_msv.h:25
double gain1
The gain value assumed to result in a gain of 1.0.
Definition agc_msv.h:26
Collection of parameters for the algorithm.
Definition agc_msv.h:29
const Histogram & yHist
Luminance histogram of the frame.
Definition agc_msv.h:30
uint32_t exposure
Effective exposure of the frame (in lines)
Definition agc_msv.h:31
double gain
Effective gain of the frame.
Definition agc_msv.h:32
Collection of results of the algorithm.
Definition agc_msv.h:35
double analogueGain
The applicable analogue gain.
Definition agc_msv.h:37
uint32_t exposure
The applicable exposure (in lines)
Definition agc_msv.h:36