1 #ifndef _RK_AIQ_UAPI_AMFNR_INT_V1_H_ 2 #define _RK_AIQ_UAPI_AMFNR_INT_V1_H_ 3 4 #include "base/xcam_common.h" 5 #include "rk_aiq_algo_des.h" 6 #include "amfnr/rk_aiq_types_amfnr_algo_int_v1.h" 7 8 // need_sync means the implementation should consider 9 // the thread synchronization 10 // if called by RkAiqAlscHandleInt, the sync has been done 11 // in framework. And if called by user app directly, 12 // sync should be done in inner. now we just need implement 13 // the case of need_sync == false; need_sync is for future usage. 14 15 16 XCamReturn 17 rk_aiq_uapi_amfnr_SetAttrib_v1(RkAiqAlgoContext *ctx, 18 rk_aiq_mfnr_attrib_v1_t *attr, 19 bool need_sync); 20 21 XCamReturn 22 rk_aiq_uapi_amfnr_GetAttrib_v1(const RkAiqAlgoContext *ctx, 23 rk_aiq_mfnr_attrib_v1_t *attr); 24 25 XCamReturn 26 rk_aiq_uapi_amfnr_SetIQPara_v1(RkAiqAlgoContext *ctx, 27 rk_aiq_mfnr_IQPara_V1_t *pPara, 28 bool need_sync); 29 30 XCamReturn 31 rk_aiq_uapi_amfnr_GetIQPara_v1(RkAiqAlgoContext *ctx, 32 rk_aiq_mfnr_IQPara_V1_t *pPara); 33 34 XCamReturn 35 rk_aiq_uapi_amfnr_SetLumaTFStrength_v1(const RkAiqAlgoContext *ctx, 36 float fPercent); 37 38 XCamReturn 39 rk_aiq_uapi_amfnr_GetLumaTFStrength_v1(const RkAiqAlgoContext *ctx, 40 float *pPercent); 41 42 XCamReturn 43 rk_aiq_uapi_amfnr_SetChromaTFStrength_v1(const RkAiqAlgoContext *ctx, 44 float fPercent); 45 46 XCamReturn 47 rk_aiq_uapi_amfnr_GetChromaTFStrength_v1(const RkAiqAlgoContext *ctx, 48 float *pPercent); 49 50 XCamReturn 51 rk_aiq_uapi_amfnr_SetJsonPara_v1(RkAiqAlgoContext *ctx, 52 rk_aiq_mfnr_JsonPara_V1_t *pPara, 53 bool need_sync); 54 55 XCamReturn 56 rk_aiq_uapi_amfnr_GetJsonPara_v1(RkAiqAlgoContext *ctx, 57 rk_aiq_mfnr_JsonPara_V1_t *pPara); 58 59 60 61 62 #endif 63