summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-10-03 17:20:33 +0200
committerJacopo Mondi <jacopo@jmondi.org>2019-10-08 15:37:15 +0200
commit4e51845a38d4684c4cc7ef724dbf45618b1a21e9 (patch)
tree9fb70d140c403ff2525387e9436b571aca8867ac /src
parentc5d682a54882599070777ea131653b99d19d423b (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')
-rw-r--r--src/ipa/ipa_vimc.cpp (renamed from src/ipa/ipa_dummy.cpp)10
-rw-r--r--src/ipa/meson.build10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/ipa/ipa_dummy.cpp b/src/ipa/ipa_vimc.cpp
index 9d0cbdc8..abc06e7f 100644
--- a/src/ipa/ipa_dummy.cpp
+++ b/src/ipa/ipa_vimc.cpp
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Google Inc.
*
- * ipa_dummy.cpp - Dummy Image Processing Algorithm module
+ * ipa_vimc.cpp - Vimc Image Processing Algorithm module
*/
#include <iostream>
@@ -12,15 +12,15 @@
namespace libcamera {
-class IPADummy : public IPAInterface
+class IPAVimc : public IPAInterface
{
public:
int init();
};
-int IPADummy::init()
+int IPAVimc::init()
{
- std::cout << "initializing dummy IPA!" << std::endl;
+ std::cout << "initializing vimc IPA!" << std::endl;
return 0;
}
@@ -39,7 +39,7 @@ const struct IPAModuleInfo ipaModuleInfo = {
IPAInterface *ipaCreate()
{
- return new IPADummy();
+ return new IPAVimc();
}
};
diff --git a/src/ipa/meson.build b/src/ipa/meson.build
index f09915bc..b5bcd7b2 100644
--- a/src/ipa/meson.build
+++ b/src/ipa/meson.build
@@ -1,12 +1,12 @@
-ipa_dummy_sources = [
- ['ipa_dummy', 'LGPL-2.1-or-later'],
- ['ipa_dummy_isolate', 'Proprietary'],
+ipa_vimc_sources = [
+ ['ipa_vimc', 'LGPL-2.1-or-later'],
+ ['ipa_vimc_isolate', 'Proprietary'],
]
ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')
-foreach t : ipa_dummy_sources
- ipa = shared_module(t[0], 'ipa_dummy.cpp',
+foreach t : ipa_vimc_sources
+ ipa = shared_module(t[0], 'ipa_vimc.cpp',
name_prefix : '',
include_directories : libcamera_includes,
install : true,