32 double minGain,
double maxGain);
45 double *quantizationGain =
nullptr)
const;
46 double clampGain(
double gain,
double *quantizationGain =
nullptr)
const;
48 std::vector<Stage> stages_;
Helper class that performs sensor-specific parameter computations.
Base class for computing sensor tuning parameters using sensor-specific constants.
Definition camera_sensor_helper.h:24
Class for splitting exposure into exposure time and total gain.
Definition exposure_mode_helper.h:21
void configure(utils::Duration lineLength, const CameraSensorHelper *sensorHelper)
Configure sensor details.
Definition exposure_mode_helper.cpp:105
Result splitExposure(utils::Duration exposure) const
Split exposure into exposure time and gain.
Definition exposure_mode_helper.cpp:219
void setLimits(utils::Duration minExposureTime, utils::Duration maxExposureTime, double minGain, double maxGain)
Set the exposure time and gain limits.
Definition exposure_mode_helper.cpp:128
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
Result of splitExposure()
Definition exposure_mode_helper.h:34
utils::Duration exposureTime
The applicable exposure time.
Definition exposure_mode_helper.h:35
double analogueGain
The applicable analogue gain.
Definition exposure_mode_helper.h:36
double digitalGain
The applicable digital gain.
Definition exposure_mode_helper.h:38
double quantizationGain
The applicable quantization gain.
Definition exposure_mode_helper.h:37
Details of an exposure stage.
Definition exposure_mode_helper.h:23
double gain
The maximum analogue gain of the stage.
Definition exposure_mode_helper.h:25
utils::Duration exposureTime
The maximum exposure time of the stage.
Definition exposure_mode_helper.h:24
Miscellaneous utility functions.