From a47a6906a2b23fd2bbf8be1761e3f1c8a06183d0 Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Wed, 11 Aug 2021 10:01:51 +0200 Subject: ipa: move libipa::Algorithm to ipa/ipu3/algorithms The abstract Algorithm class was originally placed in libipa as an attempt define a generic algorithm container. This was a little optimistic and pushed a bit far too early. Move the Algorithm class into the IPU3 which is the only user of the class, as we adapt it to support modular algorithm components for the IPU3. Not documenting the namespace may cause issues with Doxygen in libipa. The file libipa.cpp is thus created as an empty file for now, but we can leverage it in the future to add more global libipa documentation, and possibly code too. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/ipa/libipa/algorithm.cpp | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/ipa/libipa/algorithm.cpp (limited to 'src/ipa/libipa/algorithm.cpp') diff --git a/src/ipa/libipa/algorithm.cpp b/src/ipa/libipa/algorithm.cpp deleted file mode 100644 index 930f9353..00000000 --- a/src/ipa/libipa/algorithm.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* SPDX-License-Identifier: LGPL-2.1-or-later */ -/* - * Copyright (C) 2021, Ideas On Board - * - * algorithm.cpp - ISP control algorithms - */ - -#include "algorithm.h" - -/** - * \file algorithm.h - * \brief Algorithm common interface - */ - -namespace libcamera { - -/** - * \brief The IPA namespace - * - * The IPA namespace groups all types specific to IPA modules. It serves as the - * top-level namespace for the IPA library libipa, and also contains - * module-specific namespaces for IPA modules. - */ -namespace ipa { - -/** - * \class Algorithm - * \brief The base class for all IPA algorithms - * - * The Algorithm class defines a standard interface for IPA algorithms. By - * abstracting algorithms, it makes possible the implementation of generic code - * to manage algorithms regardless of their specific type. - */ - -Algorithm::~Algorithm() = default; - -} /* namespace ipa */ - -} /* namespace libcamera */ -- cgit v1.2.1