xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/atmo/rk_aiq_uapi_atmo_int.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef _RK_AIQ_UAPI_ATMO_INT_H_
2 #define _RK_AIQ_UAPI_ATMO_INT_H_
3 
4 #include "base/xcam_common.h"
5 #include "rk_aiq_algo_des.h"
6 #include "rk_aiq_types_atmo_algo_int.h"
7 
8 
9 // TODO: move the structs define to a separate file,
10 //TODO: move the structs define to a separate file,
11 // eg. rk_aiq_uapi_awb_types.h ?
12 
13 typedef tmoAttr_t atmo_attrib_t;
14 
15 
16 // need_sync means the implementation should consider
17 // the thread synchronization
18 // if called by RkAiqAwbHandleInt, the sync has been done
19 // in framework. And if called by user app directly,
20 // sync should be done in inner. now we just need implement
21 // the case of need_sync == false; need_sync is for future usage.
22 
23 XCamReturn
24 rk_aiq_uapi_atmo_SetAttrib(RkAiqAlgoContext *ctx,
25                            atmo_attrib_t attr,
26                            bool need_sync);
27 
28 
29 XCamReturn
30 rk_aiq_uapi_atmo_GetAttrib(RkAiqAlgoContext *ctx,
31                            atmo_attrib_t *attr);
32 
33 
34 #endif
35