|
libcamera v0.0.0+3240-f2a18172-dirty (2022-05-13T20:32:10+00:00)
Supporting cameras in Linux since 2019
|
Per-frame context for algorithms. More...
Public Attributes | |
| struct { | |
| uint32_t exposure | |
| double gain | |
| } | agc |
| Context for the Automatic Gain Control algorithm. More... | |
| struct { | |
| struct { | |
| double red | |
| double green | |
| double blue | |
| } gains | |
| double temperatureK | |
| } | awb |
| Context for the Automatic White Balance algorithm. | |
| struct { | |
| uint32_t exposure | |
| double gain | |
| } | sensor |
| Effective sensor values. | |
| struct { | |
| double gamma | |
| struct ipu3_uapi_gamma_corr_lut gammaCorrection | |
| } | toneMapping |
| Context for ToneMapping and Gamma control. | |
Per-frame context for algorithms.
The frame context stores data specific to a single frame processed by the IPA. Each frame processed by the IPA has a context associated with it, accessible through the IPAContext structure.
Each of the fields in the frame context belongs to either a specific algorithm, or to the top-level IPA module. A field may be read by any algorithm, but should only be written by its owner.
| libcamera::ipa::ipu3::IPAFrameContext::agc |
Context for the Automatic Gain Control algorithm.
The exposure and gain determined are expected to be applied to the sensor at the earliest opportunity.
| sensor libcamera::ipa::ipu3::IPAFrameContext::gain |
Analogue gain multiplier.
The gain should be adapted to the sensor specific gain code before applying.
| toneMapping libcamera::ipa::ipu3::IPAFrameContext::gammaCorrection |
Per-pixel tone mapping implemented as a LUT.
The LUT structure is defined by the IPU3 kernel interface. See <linux/intel-ipu3.h> struct ipu3_uapi_gamma_corr_lut for further details.