[libcamera-devel,22/38] libcamera: IPAInterface: make ipaCreate return IPAInterface

Message ID 20200922133537.258098-23-paul.elder@ideasonboard.com
State Superseded
Headers show
Series
  • IPA isolation implementation
Related show

Commit Message

Paul Elder Sept. 22, 2020, 1:35 p.m. UTC
With the new IPC infrastructure, we no longer need the C interface as
provided by struct ipa_context. Make ipaCreate return IPAinterface.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>

---
No change in v2
---
 include/libcamera/ipa/ipa_interface.h | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/include/libcamera/ipa/ipa_interface.h b/include/libcamera/ipa/ipa_interface.h
index 97f14477..546fb57c 100644
--- a/include/libcamera/ipa/ipa_interface.h
+++ b/include/libcamera/ipa/ipa_interface.h
@@ -50,4 +50,8 @@  public:
 
 } /* namespace libcamera */
 
+extern "C" {
+libcamera::IPAInterface *ipaCreate();
+}
+
 #endif /* __LIBCAMERA_IPA_INTERFACE_H__ */