diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2021-05-21 10:27:24 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2021-06-28 14:12:06 +0530 |
commit | f21b9306a7893017b9f7e6b95001da9abade30f7 (patch) | |
tree | 82332eb640a9725ceef3ec487033b524cd49ecd7 /include/ia_imaging/KBL_AIC.h | |
parent | d05fd744448d37739cf4f919578d0ac8c73bc0a1 (diff) |
include: Link to ia_imaging library and import headers
libia_imaging is provided by the ChromeOS system, however the headers
aren't installed at the system's $includedir locations. We need to carry
them in-tree, to be able to use them.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'include/ia_imaging/KBL_AIC.h')
-rw-r--r-- | include/ia_imaging/KBL_AIC.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/include/ia_imaging/KBL_AIC.h b/include/ia_imaging/KBL_AIC.h new file mode 100644 index 0000000..f9307ea --- /dev/null +++ b/include/ia_imaging/KBL_AIC.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2015 - 2017 Intel Corporation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +#include <string> +#include "ia_cmc_types.h" +#include "cpffData.h" +#include "Pipe.h" +#include "IPU3AICCommon.h" +#include "SkyCamAICVersion.h" + +class SkyCamAICImpl; + +class KBL_AIC +{ +public: + LIBEXPORT KBL_AIC(ISPPipe **pipe, int numPipes, + const ia_cmc_t* cmc_parsed, + /*std::string cpf_file*/ const ia_binary_data* aiqb_, + IPU3AICRuntimeParams runtime_params, + unsigned int dump_aic_parameters = 0, int test_framework_dump = 0); + LIBEXPORT void Run(IPU3AICRuntimeParams *runtime_params, int length); + LIBEXPORT void Reset(IPU3AICRuntimeParams runtime_params); + static LIBEXPORT std::string GetAICVersion() { return SKYCAMAICVERSION; }; + LIBEXPORT ~KBL_AIC(void); + +private: + SkyCamAICImpl** pimpl_; + int numAics_; +}; + + |