10#include <linux/intel-ipu3.h>
20struct IPACameraSensorInfo;
22namespace ipa::ipu3::algorithms {
33 const ipu3_uapi_stats_3a *stats)
override;
36 double measureBrightness(
const ipu3_uapi_stats_3a *stats,
37 const ipu3_uapi_grid_config &grid)
const;
40 double yGain,
double iqMeanGain);
42 const ipu3_uapi_grid_config &grid,
43 const ipu3_uapi_stats_3a *stats,
51 double minAnalogueGain_;
52 double maxAnalogueGain_;
The base class for all IPA algorithms.
Definition: algorithm.h:23
A mean-based auto-exposure algorithm.
Definition: agc.h:25
void process(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, const ipu3_uapi_stats_3a *stats) override
Process IPU3 statistics, and run AGC operations.
Definition: agc.cpp:327
int configure(IPAContext &context, const IPAConfigInfo &configInfo) override
Configure the AGC given a configInfo.
Definition: agc.cpp:86
Helper class from std::chrono::duration that represents a time duration in nanoseconds with double pr...
Definition: utils.h:330
Data structures related to geometric objects.
Algorithm common interface.
Top-level libcamera namespace.
Definition: backtrace.h:17
The active state of the IPA algorithms.
Definition: ipa_context.h:47
Global IPA context data shared between all algorithms.
Definition: ipa_context.h:82
IPU3-specific FrameContext.
Definition: ipa_context.h:75
Miscellaneous utility functions.