12#include <libcamera/base/span.h>
34 [[maybe_unused]] std::vector<double> xPos,
35 [[maybe_unused]] std::vector<double> yPos)
override
38 <<
"Tabular LSC data doesn't support resampling";
43 int parseLscComponent(
const ValueNode &yamlSet,
45 std::vector<float> parseTable(
const ValueNode &tuningData,
47 unsigned int numHSamples,
48 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:35
std::map< unsigned int, Components > ComponentsMap
Associate a colour temperature to a LSC table.
Definition lsc_base.h:38
Table based LSC algorithm implementation.
Definition lsc_table.h:27
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:33
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:27
Data structure to manage tree of values.