#ifndef _RK_AIQ_UAPI_AGAMMA_INT_H_ #define _RK_AIQ_UAPI_AGAMMA_INT_H_ #include "base/xcam_common.h" #include "rk_aiq_algo_des.h" #include "agamma/rk_aiq_types_agamma_algo_int.h" // need_sync means the implementation should consider // the thread synchronization // if called by RkAiqAlscHandleInt, the sync has been done // in framework. And if called by user app directly, // sync should be done in inner. now we just need implement // the case of need_sync == false; need_sync is for future usage. typedef rk_aiq_gamma_attr_t rk_aiq_gamma_attrib_V2_t; XCamReturn rk_aiq_uapi_agamma_SetAttrib(RkAiqAlgoContext *ctx, rk_aiq_gamma_attrib_V2_t attr, bool need_sync); XCamReturn rk_aiq_uapi_agamma_GetAttrib(const RkAiqAlgoContext *ctx, rk_aiq_gamma_attrib_V2_t *attr); #endif