11#include <initializer_list>
26#include <libcamera/ipa/soft_ipa_interface.h>
27#include <libcamera/ipa/soft_ipa_proxy.h>
29#include "libcamera/internal/dma_heaps.h"
31#include "libcamera/internal/shared_mem_object.h"
32#include "libcamera/internal/software_isp/debayer_params.h"
39struct StreamConfiguration;
53 std::vector<PixelFormat> formats(
PixelFormat input);
57 std::tuple<unsigned int, unsigned int>
61 const std::vector<std::reference_wrapper<StreamConfiguration>> &outputCfgs,
64 int exportBuffers(
unsigned int output,
unsigned int count,
65 std::vector<std::unique_ptr<FrameBuffer>> *buffers);
67 void processStats(
const ControlList &sensorControls);
73 const std::map<unsigned int, FrameBuffer *> &outputs);
83 void saveIspParams(
int dummy);
84 void setSensorCtrls(
const ControlList &sensorControls);
85 void statsReady(
int dummy);
89 std::unique_ptr<DebayerCpu> debayer_;
95 std::unique_ptr<ipa::soft::IPAProxySoft> ipa_;
Utilities to help constructing class interfaces.
A map of ControlId to ControlInfo.
Definition controls.h:306
Associate a list of ControlId with their values for an object.
Definition controls.h:350
Helper class for dma-heap allocations.
Definition dma_heaps.h:18
Frame buffer data and its associated dynamic metadata.
Definition framebuffer.h:50
Create and manage cameras based on a set of media devices.
Definition pipeline_handler.h:39
Helper class for allocating objects in shared memory.
Definition shared_mem_object.h:74
Generic signal and slot communication mechanism.
Definition signal.h:40
Describe a range of sizes.
Definition geometry.h:201
Describe a two-dimensional size.
Definition geometry.h:53
Class for the Software ISP.
Definition software_isp.h:44
Signal< FrameBuffer * > outputBufferReady
A signal emitted when the output frame buffer completes.
Definition software_isp.h:78
int loadConfiguration(const std::string &filename)
Load a configuration from a file.
Definition software_isp.h:49
Signal< FrameBuffer * > inputBufferReady
A signal emitted when the input frame buffer completes.
Definition software_isp.h:77
Signal< const ControlList & > setSensorControls
A signal emitted when the values to write to the sensor controls are ready.
Definition software_isp.h:80
Signal< int > ispStatsReady
A signal emitted when the statistics for IPA are ready.
Definition software_isp.h:79
A thread of execution.
Definition thread.h:29
Data structures related to geometric objects.
#define LOG_DECLARE_CATEGORY(name)
Declare a category of log messages.
Definition log.h:47
Top-level libcamera namespace.
Definition backtrace.h:17
Create pipelines and cameras from a set of media devices.
Signal & slot implementation.
Struct to hold the debayer parameters.
Definition debayer_params.h:18
Configuration parameters for a stream.
Definition stream.h:41