libcamera v0.0.0+3240-f2a18172-dirty (2021-12-20T12:34:46+00:00)
Supporting cameras in Linux since 2019
Public Attributes | List of all members
libcamera::ipa::ipu3::IPAFrameContext Struct Reference

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.
 

Detailed Description

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.

Todo:
Detail how to access contexts for a particular frame

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.

Member Data Documentation

◆ agc

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.

◆ gain

sensor libcamera::ipa::ipu3::IPAFrameContext::gain

Analogue gain multiplier.

The gain should be adapted to the sensor specific gain code before applying.

◆ gammaCorrection

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.


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