Message ID | 20200826110926.67192-16-paul.elder@ideasonboard.com |
---|---|
State | Superseded |
Headers | show |
Series |
|
Related | show |
diff --git a/include/libcamera/ipa/ipa_interface.h b/include/libcamera/ipa/ipa_interface.h index cbe325ea..6efe2e99 100644 --- a/include/libcamera/ipa/ipa_interface.h +++ b/include/libcamera/ipa/ipa_interface.h @@ -110,8 +110,6 @@ struct ipa_context_ops { const struct ipa_operation_data *data); }; -struct ipa_context *ipaCreate(); - #ifdef __cplusplus } @@ -154,6 +152,11 @@ public: }; } /* namespace libcamera */ + +extern "C" { +libcamera::IPAInterface *ipaCreate(); +} + #endif #endif /* __LIBCAMERA_IPA_INTERFACE_H__ */
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> --- include/libcamera/ipa/ipa_interface.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)