1 #ifndef _RK_AIQ_UAPI_ADEGAMMA_INT_H_ 2 #define _RK_AIQ_UAPI_ADEGAMMA_INT_H_ 3 4 #include "base/xcam_common.h" 5 #include "rk_aiq_algo_des.h" 6 #include "adegamma/rk_aiq_types_adegamma_algo_int.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 typedef rk_aiq_degamma_attr_t rk_aiq_degamma_attrib_t; 16 17 18 XCamReturn 19 rk_aiq_uapi_adegamma_SetAttrib(RkAiqAlgoContext *ctx, 20 rk_aiq_degamma_attrib_t attr, 21 bool need_sync); 22 XCamReturn 23 rk_aiq_uapi_adegamma_GetAttrib(const RkAiqAlgoContext *ctx, 24 rk_aiq_degamma_attrib_t *attr); 25 26 27 #endif 28