libcamera
v0.4.0
Supporting cameras in Linux since 2019
|
Analogue gain constants for the linear gain model. More...
Public Attributes | |
int16_t | m0 |
Constant used in the linear gain coding/decoding. More... | |
int16_t | c0 |
Constant used in the linear gain coding/decoding. | |
int16_t | m1 |
Constant used in the linear gain coding/decoding. More... | |
int16_t | c1 |
Constant used in the linear gain coding/decoding. | |
Analogue gain constants for the linear gain model.
The relationship between the integer gain parameter and the resulting gain multiplier is given by the following equation:
Where 'x' is the gain control parameter, and m0, m1, c0 and c1 are image-sensor-specific constants of the sensor. These constants are static parameters, and for any given image sensor either m0 or m1 shall be zero.
The full Gain equation therefore reduces to either:
or
libcamera::ipa::CameraSensorHelper::AnalogueGainLinear::m0 |
Constant used in the linear gain coding/decoding.
libcamera::ipa::CameraSensorHelper::AnalogueGainLinear::m1 |
Constant used in the linear gain coding/decoding.