xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/awb/rk_aiq_uapi_awb_int.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef _RK_AIQ_UAPI_AWB_INT_H_
2 #define _RK_AIQ_UAPI_AWB_INT_H_
3 
4 #include "base/xcam_common.h"
5 #include "rk_aiq_algo_des.h"
6 #include "awb/rk_aiq_types_awb_algo_int.h"
7 
8 // need_sync means the implementation should consider
9 // the thread synchronization
10 // if called by RkAiqAwbHandleInt, 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 XCamReturn
16 rk_aiq_uapi_awb_SetAttrib(RkAiqAlgoContext *ctx,
17                           rk_aiq_wb_attrib_t attr,
18                           bool need_sync);
19 XCamReturn
20 rk_aiq_uapi_awb_GetAttrib(const RkAiqAlgoContext *ctx,
21                           rk_aiq_wb_attrib_t *attr);
22 XCamReturn
23 rk_aiq_uapi_awb_GetCCT(const RkAiqAlgoContext *ctx,
24                        rk_aiq_wb_cct_t *cct );
25 XCamReturn
26 rk_aiq_uapi_awb_QueryWBInfo(const RkAiqAlgoContext *ctx,
27                             rk_aiq_wb_querry_info_t *wb_querry_info );
28 XCamReturn
29 rk_aiq_uapi_awb_Lock(RkAiqAlgoContext *ctx);
30 XCamReturn
31 rk_aiq_uapi_awb_Unlock(const RkAiqAlgoContext *ctx);
32 
33 #endif
34