1 /* 2 * Copyright (c) 2019-2022 Rockchip Eletronics Co., Ltd. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 #ifndef _RKAIQ_ABLC_V32_H_ 17 #define _RKAIQ_ABLC_V32_H_ 18 19 #include "RkAiqCalibDbTypes.h" 20 #include "RkAiqCalibDbTypesV2.h" 21 #include "RkAiqCalibDbV2Helper.h" 22 #include "ablcV32/rk_aiq_types_ablc_algo_prvt_v32.h" 23 #include "base/xcam_log.h" 24 #include "math.h" 25 #include "rk_aiq_comm.h" 26 #include "stdio.h" 27 #include "string.h" 28 29 AblcResult_V32_t AblcV32Init(AblcContext_V32_t** ppAblcCtx, CamCalibDbV2Context_t* pCalibDb); 30 AblcResult_V32_t AblcV32Release(AblcContext_V32_t* pAblcCtx); 31 AblcResult_V32_t AblcV32Process(AblcContext_V32_t* pAblcCtx, AblcExpInfo_V32_t* pExpInfo); 32 AblcResult_V32_t AblcV32ParamsUpdate(AblcContext_V32_t* pAblcCtx, CalibDbV2_Blc_V32_t* pCalibDb); 33 AblcResult_V32_t AblcV32_IQParams_Check(AblcParams_V32_t* pBLC0Params, AblcOBParams_V32_t* pBLCOBParams,AblcRefParams_V32_t* pBlcRef); 34 AblcResult_V32_t Ablc_GetProcResult_V32(AblcContext_V32_t* pAblcCtx, AblcProc_V32_t* pAblcResult); 35 #endif 36