1 /* 2 * rk_aiq_adebayer_algo_v2.h 3 4 * for rockchip v2.0.0 5 * 6 * Copyright (c) 2019 Rockchip Corporation 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 * 20 */ 21 /* for rockchip v2.0.0*/ 22 23 #ifndef __RK_AIQ_ADEBAYER_ALGO_V2_H__ 24 #define __RK_AIQ_ADEBAYER_ALGO_V2_H__ 25 26 /** 27 * @file rk_aiq_adebayer_algo_v2.h 28 * 29 * @brief 30 * 31 *****************************************************************************/ 32 /** 33 * @page module_name_page Module Name 34 * Describe here what this module does. 35 * 36 * For a detailed list of functions and implementation detail refer to: 37 * - @ref module_name 38 * 39 * @defgroup ADEBAYER Auto debayer Module 40 * @{ 41 * 42 */ 43 44 #include "rk_aiq_types_adebayer_algo_prvt.h" 45 #include "rk_aiq_comm.h" 46 47 XCamReturn AdebayerInit(AdebayerContext_t *ppAdebayerCtx, CamCalibDbContext_t *pCalibDb, CamCalibDbV2Context_t *pCalibDbV2); 48 49 XCamReturn AdebayerCalibConfig(AdebayerContext_t *pAdebayerCtx, CamCalibDbV2Context_t *pCalibDbV2); 50 51 XCamReturn AdebayerRelease(AdebayerContext_t *pAdebayerCtx); 52 53 XCamReturn AdebayerStart(AdebayerContext_t *pAdebayerCtx); 54 55 XCamReturn AdebayerStop(AdebayerContext_t *pAdebayerCtx); 56 57 XCamReturn AdebayerPreProcess(AdebayerContext_t *pAdebayerCtx); 58 59 XCamReturn AdebayerProcess(AdebayerContext_t *pAdebayerCtx, int ISO); 60 61 XCamReturn AdebayerGetProcResult(AdebayerContext_t *pAdebayerCtx, AdebayerProcResultV2_t* pAdebayerResult); 62 63 #endif//__RK_AIQ_ADEBAYER_ALGO_V2_H__