11#include <linux/intel-ipu3.h>
Helper class that performs sensor-specific parameter computations.
A map of ControlId to ControlInfo.
Definition controls.h:409
std::unordered_map< const ControlId *, ControlInfo > Map
The base std::unsorted_map<> container.
Definition controls.h:411
Describe a two-dimensional size.
Definition geometry.h:51
A support class for managing FrameContext instances in IPA modules.
Definition fc_queue.h:33
Framework to manage controls related to an object.
libcamera structs for IPAs
Queue of per-frame contexts.
libipa implementation of a gamma curve correction algorithm
Data structures related to geometric objects.
libipa AWB implementation
libipa CCM (Colour Correction Matrix) algorithm
Top-level libcamera namespace.
Definition backtrace.h:17
Report the image sensor characteristics.
Definition core_ipa_interface.h:31
Context for a frame.
Definition fc_queue.h:24
Active state for AgcAlgorithm.
Definition agc.h:55
Per-frame context for AgcAlgorithm.
Definition agc.h:77
Session configuration for AgcAlgorithm.
Definition agc.h:38
Active AWB state shared across frames.
Definition awb.h:31
Per-frame AWB state.
Definition awb.h:38
Active CCM state.
Definition ccm.h:29
CCM coefficients and offsets.
Definition ccm.h:24
Active gamma correction algorithm state.
Definition gamma.h:30
Per-frame gamma correction settings.
Definition gamma.h:34
The active state of the IPA algorithms.
Definition ipa_context.h:46
ipa::gamma::ActiveState gamma
Active gamma correction parameters for the IPA.
Definition ipa_context.h:56
ipa::lsc::ActiveState lsc
Active lens shading correction parameters for the IPA.
Definition ipa_context.h:57
uint32_t focus
Current position of the lens.
Definition ipa_context.h:48
ipa::ccm::ActiveState ccm
Active colour Correction Matrix parameters for the IPA.
Definition ipa_context.h:55
struct libcamera::ipa::ipu3::IPAActiveState::@7 af
Context for the Automatic Focus algorithm.
ipa::awb::ActiveState awb
Active auto-white balance parameters for the IPA.
Definition ipa_context.h:54
agc::ActiveState agc
Context for the Automatic Gain Control algorithm.
Definition ipa_context.h:53
double maxVariance
The maximum variance of the current image.
Definition ipa_context.h:49
bool stable
It is set to true, if the best focus is found.
Definition ipa_context.h:50
Global IPA context data shared between all algorithms.
Definition ipa_context.h:73
ControlInfoMap sensorControls
The camera sensor controls, immutable during the session.
Definition ipa_context.h:81
IPAActiveState activeState
The current state of IPA algorithms.
Definition ipa_context.h:82
IPASessionConfiguration configuration
The IPA session configuration, immutable during the session.
Definition ipa_context.h:79
ControlInfoMap::Map ctrlMap
A ControlInfoMap::Map of controls populated by the algorithms.
Definition ipa_context.h:88
IPAContext(unsigned int frameContextSize)
Initialize the instance with the given number of frame contexts.
Definition ipa_context.h:74
FCQueue< IPAFrameContext > frameContexts
Ring buffer of the IPAFrameContext(s)
Definition ipa_context.h:84
std::unique_ptr< CameraSensorHelper > camHelper
The camera sensor helper.
Definition ipa_context.h:86
IPACameraSensorInfo sensorInfo
The IPA camera session details, immutable during the session.
Definition ipa_context.h:80
IPU3-specific FrameContext.
Definition ipa_context.h:60
struct libcamera::ipa::ipu3::IPAFrameContext::@8 sensor
Effective sensor values that were applied for the frame.
ipa::gamma::FrameContext gamma
Per-frame gamma correction parameters for the IPA.
Definition ipa_context.h:69
ipa::ccm::FrameContext ccm
Per-frame colour Correction Matrix parameters for the IPA.
Definition ipa_context.h:68
double gain
Analogue gain multiplier.
Definition ipa_context.h:63
uint32_t exposure
Exposure time expressed as a number of lines.
Definition ipa_context.h:62
agc::FrameContext agc
Per-frame state for the AGC algorithm.
Definition ipa_context.h:66
ipa::lsc::FrameContext lsc
Per-frame lens shading correction parameters for the IPA.
Definition ipa_context.h:70
ipa::awb::FrameContext awb
Per-frame auto-white balance parameters for the IPA.
Definition ipa_context.h:67
Session configuration for the IPA module.
Definition ipa_context.h:32
ipu3_uapi_grid_config afGrid
AF scene grid configuration.
Definition ipa_context.h:40
struct libcamera::ipa::ipu3::IPASessionConfiguration::@6 af
AF grid configuration of the IPA.
uint32_t stride
Number of cells on one line including the ImgU padding.
Definition ipa_context.h:36
ipu3_uapi_grid_config bdsGrid
Bayer Down Scaler grid plane config used by the kernel.
Definition ipa_context.h:34
Size bdsOutputSize
BDS output size configured by the pipeline handler.
Definition ipa_context.h:35
struct libcamera::ipa::ipu3::IPASessionConfiguration::@5 grid
Grid configuration of the IPA.
agc::Session agc
AGC parameters configuration of the IPA.
Definition ipa_context.h:43
The LSC active state.
Definition lsc.h:27
The LSC frame context.
Definition lsc.h:31
Miscellaneous utility functions.