libcamera: software_isp: Add focus control
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
9f2edfa764
commit
37aa6edbf3
10 changed files with 169 additions and 12 deletions
|
@ -86,11 +86,11 @@ public:
|
|||
Signal<FrameBuffer *> outputBufferReady;
|
||||
Signal<uint32_t, uint32_t> ispStatsReady;
|
||||
Signal<uint32_t, const ControlList &> metadataReady;
|
||||
Signal<const ControlList &> setSensorControls;
|
||||
Signal<const ControlList &, const ControlList &> setSensorControls;
|
||||
|
||||
private:
|
||||
void saveIspParams();
|
||||
void setSensorCtrls(const ControlList &sensorControls);
|
||||
void setSensorCtrls(const ControlList &sensorControls, const ControlList &lensControls);
|
||||
void statsReady(uint32_t frame, uint32_t bufferId);
|
||||
void inputReady(FrameBuffer *input);
|
||||
void outputReady(FrameBuffer *output);
|
||||
|
|
|
@ -10,6 +10,7 @@ import "include/libcamera/ipa/core.mojom";
|
|||
|
||||
struct IPAConfigInfo {
|
||||
libcamera.ControlInfoMap sensorControls;
|
||||
libcamera.ControlInfoMap lensControls;
|
||||
};
|
||||
|
||||
interface IPASoftInterface {
|
||||
|
@ -32,7 +33,7 @@ interface IPASoftInterface {
|
|||
};
|
||||
|
||||
interface IPASoftEventInterface {
|
||||
setSensorControls(libcamera.ControlList sensorControls);
|
||||
setSensorControls(libcamera.ControlList sensorControls, libcamera.ControlList lensControls);
|
||||
setIspParams();
|
||||
metadataReady(uint32 frame, libcamera.ControlList metadata);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue