10#include <linux/intel-ipu3.h>
19namespace ipa::ipu3::algorithms {
35 const ipu3_uapi_stats_3a *stats,
39 static constexpr unsigned int kNumLutNodes = IPU3_UAPI_GAMMA_CORR_LUT_ENTRIES;
Associate a list of ControlId with their values for an object.
Definition controls.h:453
A class representing a tree structure of values.
Definition value_node.h:27
The base class for all IPA algorithms.
Definition algorithm.h:23
The libipa gamma correction algorithm.
Definition gamma.h:65
A class to handle tone mapping based on gamma.
Definition tone_mapping.h:22
int init(IPAContext &context, const ValueNode &tuningData) override
Initialize the Algorithm with tuning data.
Definition tone_mapping.cpp:37
void process(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, const ipu3_uapi_stats_3a *stats, ControlList &metadata) override
Calculate the tone mapping look up table.
Definition tone_mapping.cpp:111
void prepare(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, ipu3_uapi_params *params) override
Fill in the parameter structure, and enable gamma control.
Definition tone_mapping.cpp:77
void queueRequest(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, const ControlList &controls) override
Provide control values to the algorithm.
Definition tone_mapping.cpp:59
int configure(IPAContext &context, const IPAConfigInfo &configInfo) override
Configure the tone mapping given a configInfo.
Definition tone_mapping.cpp:49
libipa implementation of a gamma curve correction algorithm
Algorithm common interface.
Top-level libcamera namespace.
Definition backtrace.h:17
Global IPA context data shared between all algorithms.
Definition ipa_context.h:73
IPU3-specific FrameContext.
Definition ipa_context.h:60