libcamera  v0.4.0
Supporting cameras in Linux since 2019
Public Attributes | List of all members
libcamera::ipa::CameraSensorHelper::AnalogueGainExp Struct Reference

Analogue gain constants for the exponential gain model. More...

Public Attributes

double a
 Constant used in the exponential gain coding/decoding.
 
double m
 Constant used in the exponential gain coding/decoding.
 

Detailed Description

Analogue gain constants for the exponential gain model.

The relationship between the integer gain parameter and the resulting gain multiplier is given by the following equation:

$gain = a \cdot 2^{m \cdot x}$

Where 'x' is the gain control parameter, and 'a' and 'm' are image sensor-specific constants.

This is a subset of the MIPI CCS exponential gain model with the linear factor 'a' being a constant, but with the exponent being configurable through the 'm' coefficient.

When the gain is expressed in dB, 'a' is equal to 1 and 'm' to $log_{2}{10^{\frac{1}{20}}}$.


The documentation for this struct was generated from the following files: