summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-09-28 17:10:54 +0200
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-10-26 14:08:37 +0200
commitf79f7331cdd99839e33cd28512279ad382feda1c (patch)
tree9af83acc24b1b6833530104e24e3426b2a055194 /src/ipa
parent9b5f9e648788d15b562d7999e04935ece07da256 (diff)
ipa: ipu3: Implement an empty stop() function
While the stop() function does not currently perform any action, it forms part of the IPA interface and is a public function in the class. Promote it to a full (but basic) function implementation and begin the documentation accordingly so that there is an appropriate stub to perform stop operations if they come up. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/ipu3/ipu3.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp
index a10fdd4a..5c51607d 100644
--- a/src/ipa/ipu3/ipu3.cpp
+++ b/src/ipa/ipu3/ipu3.cpp
@@ -135,7 +135,7 @@ public:
ControlInfoMap *ipaControls) override;
int start() override;
- void stop() override {}
+ void stop() override;
int configure(const IPAConfigInfo &configInfo,
ControlInfoMap *ipaControls) override;
@@ -324,6 +324,13 @@ int IPAIPU3::start()
}
/**
+ * \brief Ensure that all processing has completed
+ */
+void IPAIPU3::stop()
+{
+}
+
+/**
* \brief Calculate a grid for the AWB statistics
*
* This function calculates a grid for the AWB algorithm in the IPU3 firmware.