1 /* 2 * rk_aiq_adehaze_algo.h 3 * 4 * Copyright (c) 2019 Rockchip Corporation 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 */ 19 20 #ifndef __RK_AIQ_ADEHAZE_ALGO_V10_H__ 21 #define __RK_AIQ_ADEHAZE_ALGO_V10_H__ 22 23 #include "RkAiqCalibDbTypes.h" 24 #include "RkAiqCalibDbV2Helper.h" 25 #include "adehaze/rk_aiq_types_adehaze_algo_prvt.h" 26 #ifdef RKAIQ_ENABLE_CAMGROUP 27 #include "rk_aiq_algo_camgroup_types.h" 28 #endif 29 #include "rk_aiq_comm.h" 30 #include "rk_aiq_types_adehaze_stat.h" 31 32 RKAIQ_BEGIN_DECLARE 33 34 void AdehazeGetStats(AdehazeHandle_t* pAdehazeCtx, rkisp_adehaze_stats_t* ROData); 35 XCamReturn AdehazeGetCurrData(AdehazeHandle_t* pAdehazeCtx, RkAiqAlgoProcAdhaz* procPara); 36 #ifdef RKAIQ_ENABLE_CAMGROUP 37 XCamReturn AdehazeGetCurrDataGroup(AdehazeHandle_t* pAdehazeCtx, 38 rk_aiq_singlecam_3a_result_t* pCamgrpParams); 39 #endif 40 XCamReturn AdehazeInit(AdehazeHandle_t** para, CamCalibDbV2Context_t* calib); 41 XCamReturn AdehazeRelease(AdehazeHandle_t* para); 42 XCamReturn AdehazeProcess(AdehazeHandle_t* para, dehaze_stats_v10_t* pStats, 43 RkAiqAdehazeProcResult_t* pAdehzeProcRes); 44 bool AdehazeByPassProcessing(AdehazeHandle_t* pAdehazeCtx); 45 bool DehazeEnableSetting(AdehazeHandle_t* pAdehazeCtx, RkAiqAdehazeProcResult_t* pAdehzeProcRes); 46 47 RKAIQ_END_DECLARE 48 49 #endif //__RK_AIQ_ADEHAZE_ALGO_V10_H__ 50