From 8162ac164755d04425499c76dfc12a3a9057f936 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 22 Oct 2019 19:18:09 +0300 Subject: ipa: Declare the ipaCreate() function prototype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IPA modules have to implement a public ipaCreate() function, but its prototype isn't declared in any header file. This allows for modules to get the prototype wrong without being warned by the compiler. Fix it. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Niklas Söderlund --- src/libcamera/ipa_interface.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/libcamera/ipa_interface.cpp') diff --git a/src/libcamera/ipa_interface.cpp b/src/libcamera/ipa_interface.cpp index 89fce0e8..cb2767a0 100644 --- a/src/libcamera/ipa_interface.cpp +++ b/src/libcamera/ipa_interface.cpp @@ -261,6 +261,16 @@ * \sa libcamera::IPAInterface::processEvent() */ +/** + * \fn ipaCreate() + * \brief Entry point to the IPA modules + * + * This function is the entry point to the IPA modules. It is implemented by + * every IPA module, and called by libcamera to create a new IPA context. + * + * \return A newly created IPA context + */ + namespace libcamera { /** -- cgit v1.2.1