xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/adrc/rk_aiq_uapi_adrc_int.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef _RK_AIQ_UAPI_ADRC_INT_H_
2 #define _RK_AIQ_UAPI_ADRC_INT_H_
3 
4 #include "base/xcam_common.h"
5 #include "rk_aiq_algo_des.h"
6 #include "rk_aiq_types_adrc_algo_int.h"
7 #include "adrc_uapi_head.h"
8 
9 
10 // need_sync means the implementation should consider
11 // the thread synchronization
12 // if called by RkAiqAwbHandleInt, the sync has been done
13 // in framework. And if called by user app directly,
14 // sync should be done in inner. now we just need implement
15 // the case of need_sync == false; need_sync is for future usage.
16 
17 XCamReturn rk_aiq_uapi_adrc_v10_SetAttrib(RkAiqAlgoContext* ctx, const drcAttrV10_t* attr,
18                                           bool need_sync);
19 XCamReturn rk_aiq_uapi_adrc_v10_GetAttrib(RkAiqAlgoContext* ctx, drcAttrV10_t* attr);
20 XCamReturn rk_aiq_uapi_adrc_v11_SetAttrib(RkAiqAlgoContext* ctx, const drcAttrV11_t* attr,
21                                           bool need_sync);
22 XCamReturn rk_aiq_uapi_adrc_v11_GetAttrib(RkAiqAlgoContext* ctx, drcAttrV11_t* attr);
23 XCamReturn rk_aiq_uapi_adrc_v12_SetAttrib(RkAiqAlgoContext* ctx, const drcAttrV12_t* attr,
24                                           bool need_sync);
25 XCamReturn rk_aiq_uapi_adrc_v12_GetAttrib(RkAiqAlgoContext* ctx, drcAttrV12_t* attr);
26 XCamReturn rk_aiq_uapi_adrc_v12_lite_SetAttrib(RkAiqAlgoContext* ctx, const drcAttrV12Lite_t* attr,
27                                                bool need_sync);
28 XCamReturn rk_aiq_uapi_adrc_v12_lite_GetAttrib(RkAiqAlgoContext* ctx, drcAttrV12Lite_t* attr);
29 
30 #endif
31