xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/aynr3/rk_aiq_uapi_aynr_int_v3.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef _RK_AIQ_UAPI_AYNR_INT_V3_H_
2 #define _RK_AIQ_UAPI_AYNR_INT_V3_H_
3 
4 #include "base/xcam_common.h"
5 #include "rk_aiq_algo_des.h"
6 #include "aynr3/rk_aiq_types_aynr_algo_int_v3.h"
7 
8 // need_sync means the implementation should consider
9 // the thread synchronization
10 // if called by RkAiqAlscHandleInt, 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 
16 XCamReturn
17 rk_aiq_uapi_aynrV3_SetAttrib(RkAiqAlgoContext *ctx,
18                              rk_aiq_ynr_attrib_v3_t *attr,
19                              bool need_sync);
20 
21 XCamReturn
22 rk_aiq_uapi_aynrV3_GetAttrib(const RkAiqAlgoContext *ctx,
23                              rk_aiq_ynr_attrib_v3_t *attr);
24 
25 XCamReturn
26 rk_aiq_uapi_aynrV3_SetLumaSFStrength(const RkAiqAlgoContext *ctx,
27                                      rk_aiq_ynr_strength_v3_t *pStrength);
28 
29 XCamReturn
30 rk_aiq_uapi_aynrV3_GetLumaSFStrength(const RkAiqAlgoContext *ctx,
31                                      rk_aiq_ynr_strength_v3_t *pStrength);
32 
33 XCamReturn
34 rk_aiq_uapi_aynrV3_GetInfo(const RkAiqAlgoContext *ctx,
35                            rk_aiq_ynr_info_v3_t *pInfo);
36 
37 
38 #endif
39