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:
Jacopo Mondi 2019-10-03 17:20:33 +02:00
parent c5d682a548
commit 4e51845a38
3 changed files with 11 additions and 11 deletions

46
src/ipa/ipa_vimc.cpp Normal file
View file

@ -0,0 +1,46 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* ipa_vimc.cpp - Vimc Image Processing Algorithm module
*/
#include <iostream>
#include <ipa/ipa_interface.h>
#include <ipa/ipa_module_info.h>
namespace libcamera {
class IPAVimc : public IPAInterface
{
public:
int init();
};
int IPAVimc::init()
{
std::cout << "initializing vimc 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 IPAVimc();
}
};
}; /* namespace libcamera */