1 #ifndef _RK_AIQ_UAPI_ACCM_INT_H_ 2 #define _RK_AIQ_UAPI_ACCM_INT_H_ 3 4 #include "base/xcam_common.h" 5 #include "rk_aiq_algo_des.h" 6 #include "accm/rk_aiq_types_accm_algo_int.h" 7 8 // need_sync means the implementation should consider 9 // the thread synchronization 10 // if called by RkAiqAccmHandleInt, 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_accm_SetAttrib(RkAiqAlgoContext *ctx, 17 const rk_aiq_ccm_attrib_t* attr, 18 bool need_sync); 19 XCamReturn 20 rk_aiq_uapi_accm_GetAttrib(const RkAiqAlgoContext *ctx, 21 rk_aiq_ccm_attrib_t *attr); 22 XCamReturn 23 rk_aiq_uapi_accm_v2_SetAttrib(RkAiqAlgoContext *ctx, 24 const rk_aiq_ccm_v2_attrib_t* attr, 25 bool need_sync); 26 XCamReturn 27 rk_aiq_uapi_accm_v2_GetAttrib(const RkAiqAlgoContext *ctx, 28 rk_aiq_ccm_v2_attrib_t *attr); 29 XCamReturn 30 rk_aiq_uapi_accm_QueryCcmInfo(const RkAiqAlgoContext *ctx, 31 rk_aiq_ccm_querry_info_t *ccm_querry_info ); 32 33 #endif 34