33 [[maybe_unused]] std::vector<double> xPos,
34 [[maybe_unused]] std::vector<double> yPos)
override
37 <<
"Tabular LSC data doesn't support resampling";
42 int parseLscComponent(
const ValueNode &yamlSet,
44 std::vector<float> parseTable(
const ValueNode &tuningData,
46 unsigned int numHSamples,
47 unsigned int numVSamples);
Describe a rectangle's position and dimensions.
Definition geometry.h:247
A class representing a tree structure of values.
Definition value_node.h:27
Pure virtual base class for LSC algorithm implementations.
Definition lsc_base.h:33
std::map< unsigned int, Components > ComponentsMap
Associate a colour temperature to a LSC table.
Definition lsc_base.h:36
Table based LSC algorithm implementation.
Definition lsc_table.h:26
int parseLscData(const ValueNode &sets, const LscDescriptor &descriptor) override
Parse tabular LSC data.
Definition lsc_table.cpp:40
LscImplementation::ComponentsMap sampleForCrop(const Rectangle &cropRectangle, std::vector< double > xPos, std::vector< double > yPos) override
Re-sample the LSC components for cropRectangle.
Definition lsc_table.h:32
Data structures related to geometric objects.
#define LOG_DECLARE_CATEGORY(name)
Declare a category of log messages.
Definition log.h:51
#define LOG(category, severity)
Log a message.
Definition log.h:155
Base types and definitions for LscImplementation class hierarchy.
Top-level libcamera namespace.
Definition backtrace.h:17
Describe the ISP LSC engine.
Definition lsc_base.h:25
Data structure to manage tree of values.