1 #ifndef _RK_AIQ_UAPI_AGAMMA_INT_H_ 2 #define _RK_AIQ_UAPI_AGAMMA_INT_H_ 3 4 #include "base/xcam_common.h" 5 #include "rk_aiq_algo_des.h" 6 #include "agamma/rk_aiq_types_agamma_algo_int.h" 7 //#include "agamma/rk_aiq_types_agamma_algo.h" 8 9 // need_sync means the implementation should consider 10 // the thread synchronization 11 // if called by RkAiqAlscHandleInt, the sync has been done 12 // in framework. And if called by user app directly, 13 // sync should be done in inner. now we just need implement 14 // the case of need_sync == false; need_sync is for future usage. 15 16 XCamReturn rk_aiq_uapi_agamma_v10_SetAttrib(RkAiqAlgoContext* ctx, 17 const rk_aiq_gamma_v10_attr_t* attr, bool need_sync); 18 XCamReturn rk_aiq_uapi_agamma_v10_GetAttrib(const RkAiqAlgoContext* ctx, 19 rk_aiq_gamma_v10_attr_t* attr); 20 XCamReturn rk_aiq_uapi_agamma_v11_SetAttrib(RkAiqAlgoContext* ctx, 21 const rk_aiq_gamma_v11_attr_t* attr, bool need_sync); 22 XCamReturn rk_aiq_uapi_agamma_v11_GetAttrib(const RkAiqAlgoContext* ctx, 23 rk_aiq_gamma_v11_attr_t* attr); 24 25 #endif 26