19namespace ipa::ipu3::algorithms {
31 ipu3_uapi_params *params)
override;
34 const ipu3_uapi_stats_3a *stats,
38 std::vector<double> calculatePositions(
unsigned int dimension);
40 unsigned int numHCells_;
41 unsigned int numVCells_;
42 unsigned int blockWidthLog2_;
43 unsigned int blockHeightLog2_;
45 unsigned int lastAppliedCt_;
46 unsigned int lastAppliedQuantizedCt_;
48 unsigned int sensorWidth_;
49 unsigned int sensorHeight_;
50 unsigned int cropWidth_;
51 unsigned int cropHeight_;
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
libIPA LSC algorithm implementation
Definition lsc.h:79
IPU3 Lens Shading Correction algorithm.
Definition lsc.h:22
void queueRequest(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, const ControlList &controls) override
Provide control values to the algorithm.
Definition lsc.cpp:121
int init(IPAContext &context, const ValueNode &tuningData) override
Initialize the Algorithm with tuning data.
Definition lsc.cpp:38
void process(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, const ipu3_uapi_stats_3a *stats, ControlList &metadata) override
Process ISP statistics, and run algorithm operations.
Definition lsc.cpp:282
void prepare(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, ipu3_uapi_params *params) override
Fill the params buffer with ISP processing parameters for a frame.
Definition lsc.cpp:150
int configure(IPAContext &context, const IPAConfigInfo &configInfo) override
Configure the Algorithm given an IPAConfigInfo.
Definition lsc.cpp:107
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