diff options
Diffstat (limited to 'src/ipa/ipa_vimc.cpp')
-rw-r--r-- | src/ipa/ipa_vimc.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/ipa/ipa_vimc.cpp b/src/ipa/ipa_vimc.cpp new file mode 100644 index 00000000..abc06e7f --- /dev/null +++ b/src/ipa/ipa_vimc.cpp @@ -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 */ |