1 #ifndef _RK_AIQ_UAPI_ACNR_INT_V1_H_ 2 #define _RK_AIQ_UAPI_ACNR_INT_V1_H_ 3 4 #include "base/xcam_common.h" 5 #include "rk_aiq_algo_des.h" 6 #include "acnr/rk_aiq_types_acnr_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 XCamReturn 16 rk_aiq_uapi_acnrV1_SetAttrib(RkAiqAlgoContext *ctx, 17 rk_aiq_cnr_attrib_v1_t *attr, 18 bool need_sync); 19 20 XCamReturn 21 rk_aiq_uapi_acnrV1_GetAttrib(const RkAiqAlgoContext *ctx, 22 rk_aiq_cnr_attrib_v1_t *attr); 23 24 XCamReturn 25 rk_aiq_uapi_acnrV1_SetChromaSFStrength(const RkAiqAlgoContext *ctx, 26 float fPercent); 27 28 XCamReturn 29 rk_aiq_uapi_acnrV1_GetChromaSFStrength(const RkAiqAlgoContext *ctx, 30 float *pPercent); 31 32 33 #endif 34