diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-10-03 17:20:33 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-10-08 15:37:15 +0200 |
commit | 4e51845a38d4684c4cc7ef724dbf45618b1a21e9 (patch) | |
tree | 9fb70d140c403ff2525387e9436b571aca8867ac /src/ipa/ipa_dummy.cpp | |
parent | c5d682a54882599070777ea131653b99d19d423b (diff) |
ipa: vimc: Rename ipa_dummy to ipa_vimc
The DummyIPA is actually a test IPA module for the virtual media
controller driver VIMC. Rename it accordingly to its usage.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/ipa/ipa_dummy.cpp')
-rw-r--r-- | src/ipa/ipa_dummy.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/ipa/ipa_dummy.cpp b/src/ipa/ipa_dummy.cpp deleted file mode 100644 index 9d0cbdc8..00000000 --- a/src/ipa/ipa_dummy.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/* SPDX-License-Identifier: LGPL-2.1-or-later */ -/* - * Copyright (C) 2019, Google Inc. - * - * ipa_dummy.cpp - Dummy Image Processing Algorithm module - */ - -#include <iostream> - -#include <ipa/ipa_interface.h> -#include <ipa/ipa_module_info.h> - -namespace libcamera { - -class IPADummy : public IPAInterface -{ -public: - int init(); -}; - -int IPADummy::init() -{ - std::cout << "initializing dummy IPA!" << std::endl; - return 0; -} - -/* - * External IPA module interface - */ - -extern "C" { -const struct IPAModuleInfo ipaModuleInfo = { - IPA_MODULE_API_VERSION, - 0, - "PipelineHandlerVimc", - "Dummy IPA for Vimc", - LICENSE, -}; - -IPAInterface *ipaCreate() -{ - return new IPADummy(); -} -}; - -}; /* namespace libcamera */ |