summaryrefslogtreecommitdiff
path: root/src/libcamera/proxy
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-10-08 02:45:31 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-10-11 14:32:51 +0200
commit5c35fa04d01f6b8505a0ba37a0d8c3e259004576 (patch)
tree8d17995298b234410306a0f7d2f4155e56635a89 /src/libcamera/proxy
parentf3022d91dca4a32e8faa3759e4b113a928602ba2 (diff)
libcamera: ipa: Extend to support IPA interactions
The IPA interface needs to support interactions with the pipeline; add interfaces to control the sensor and handling of request ISP parameters and statistics. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/proxy')
-rw-r--r--src/libcamera/proxy/ipa_proxy_linux.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/libcamera/proxy/ipa_proxy_linux.cpp b/src/libcamera/proxy/ipa_proxy_linux.cpp
index 62fcb529..41bd965f 100644
--- a/src/libcamera/proxy/ipa_proxy_linux.cpp
+++ b/src/libcamera/proxy/ipa_proxy_linux.cpp
@@ -26,7 +26,12 @@ public:
IPAProxyLinux(IPAModule *ipam);
~IPAProxyLinux();
- int init();
+ int init() override { return 0; }
+ void configure(const std::map<unsigned int, IPAStream> &streamConfig,
+ const std::map<unsigned int, V4L2ControlInfoMap> &entityControls) override {}
+ void mapBuffers(const std::vector<IPABuffer> &buffers) override {}
+ void unmapBuffers(const std::vector<unsigned int> &ids) override {}
+ void processEvent(const IPAOperationData &event) override {}
private:
void readyRead(IPCUnixSocket *ipc);
@@ -36,13 +41,6 @@ private:
IPCUnixSocket *socket_;
};
-int IPAProxyLinux::init()
-{
- LOG(IPAProxy, Debug) << "initializing IPA via dummy proxy!";
-
- return 0;
-}
-
IPAProxyLinux::IPAProxyLinux(IPAModule *ipam)
: proc_(nullptr), socket_(nullptr)
{