mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-26 18:15:06 +03:00
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>
This commit is contained in:
parent
c5d682a548
commit
4e51845a38
3 changed files with 11 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2019, Google Inc.
|
* Copyright (C) 2019, Google Inc.
|
||||||
*
|
*
|
||||||
* ipa_dummy.cpp - Dummy Image Processing Algorithm module
|
* ipa_vimc.cpp - Vimc Image Processing Algorithm module
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -12,15 +12,15 @@
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
class IPADummy : public IPAInterface
|
class IPAVimc : public IPAInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
int init();
|
int init();
|
||||||
};
|
};
|
||||||
|
|
||||||
int IPADummy::init()
|
int IPAVimc::init()
|
||||||
{
|
{
|
||||||
std::cout << "initializing dummy IPA!" << std::endl;
|
std::cout << "initializing vimc IPA!" << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ const struct IPAModuleInfo ipaModuleInfo = {
|
||||||
|
|
||||||
IPAInterface *ipaCreate()
|
IPAInterface *ipaCreate()
|
||||||
{
|
{
|
||||||
return new IPADummy();
|
return new IPAVimc();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
ipa_dummy_sources = [
|
ipa_vimc_sources = [
|
||||||
['ipa_dummy', 'LGPL-2.1-or-later'],
|
['ipa_vimc', 'LGPL-2.1-or-later'],
|
||||||
['ipa_dummy_isolate', 'Proprietary'],
|
['ipa_vimc_isolate', 'Proprietary'],
|
||||||
]
|
]
|
||||||
|
|
||||||
ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')
|
ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')
|
||||||
|
|
||||||
foreach t : ipa_dummy_sources
|
foreach t : ipa_vimc_sources
|
||||||
ipa = shared_module(t[0], 'ipa_dummy.cpp',
|
ipa = shared_module(t[0], 'ipa_vimc.cpp',
|
||||||
name_prefix : '',
|
name_prefix : '',
|
||||||
include_directories : libcamera_includes,
|
include_directories : libcamera_includes,
|
||||||
install : true,
|
install : true,
|
||||||
|
|
|
@ -62,7 +62,7 @@ protected:
|
||||||
"GPL-2.0-or-later",
|
"GPL-2.0-or-later",
|
||||||
};
|
};
|
||||||
|
|
||||||
count += runTest("src/ipa/ipa_dummy.so", testInfo);
|
count += runTest("src/ipa/ipa_vimc.so", testInfo);
|
||||||
|
|
||||||
if (count < 0)
|
if (count < 0)
|
||||||
return TestFail;
|
return TestFail;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue