1 2 #ifndef __RKAIQ_ASHARP_SHARP_V4_H__ 3 #define __RKAIQ_ASHARP_SHARP_V4_H__ 4 5 #include "stdio.h" 6 #include "string.h" 7 #include "math.h" 8 #include "stdlib.h" 9 10 #include "rk_aiq_asharp_algo_sharp_v4.h" 11 #include "rk_aiq_types_asharp_algo_prvt_v4.h" 12 #include "RkAiqCalibDbV2Helper.h" 13 14 RKAIQ_BEGIN_DECLARE 15 16 Asharp4_result_t Asharp_Start_V4(Asharp_Context_V4_t *pAsharpCtx); 17 18 Asharp4_result_t Asharp_Stop_V4(Asharp_Context_V4_t *pAsharpCtx); 19 20 //anr inint 21 Asharp4_result_t Asharp_Init_V4(Asharp_Context_V4_t **ppAsharpCtx, void *pCalibDb); 22 23 //anr release 24 Asharp4_result_t Asharp_Release_V4(Asharp_Context_V4_t *pAsharpCtx); 25 26 //anr config 27 Asharp4_result_t Asharp_Prepare_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp_Config_V4_t* pANRConfig); 28 29 //anr reconfig 30 Asharp4_result_t Asharp_ReConfig_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp_Config_V4_t* pANRConfig); 31 32 Asharp4_result_t Asharp_IQParaUpdate_V4(Asharp_Context_V4_t *pAsharpCtx); 33 34 //anr preprocess 35 Asharp4_result_t Asharp_PreProcess_V4(Asharp_Context_V4_t *pAsharpCtx); 36 37 //anr process 38 Asharp4_result_t Asharp_Process_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp4_ExpInfo_t *pExpInfo); 39 40 //anr get result 41 Asharp4_result_t Asharp_GetProcResult_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp_ProcResult_V4_t* pANRResult); 42 43 Asharp4_result_t Asharp_ConfigSettingParam_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp4_ParamMode_t eParamMode, int snr_mode); 44 45 Asharp4_result_t Asharp_ParamModeProcess_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp4_ExpInfo_t *pExpInfo, Asharp4_ParamMode_t *mode); 46 47 48 RKAIQ_END_DECLARE 49 50 #endif 51