xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/agamma/rk_aiq_uapi_agamma_int.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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