xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/aldch/rk_aiq_uapi_aldch_v21_int.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef _RK_AIQ_UAPI_ALDCH_V21_INT_H_
2 #define _RK_AIQ_UAPI_ALDCH_V21_INT_H_
3 
4 #include "base/xcam_common.h"
5 #include "rk_aiq_algo_des.h"
6 #include "aldch/rk_aiq_types_aldch_algo_int.h"
7 
8 typedef rk_aiq_ldch_v21_cfg_t rk_aiq_ldch_v21_attrib_t;
9 
10 /*
11  * need_sync means the implementation should consider
12  * the thread synchronization
13  * if called by RkAiqAlscHandleInt, the sync has been done
14  * in framework. And if called by user app directly,
15  * sync should be done in inner. now we just need implement
16  * the case of need_sync == false; need_sync is for future usage.
17  */
18 
19 XCamReturn rk_aiq_uapi_aldch_v21_SetAttrib(RkAiqAlgoContext *ctx,
20                                       rk_aiq_ldch_v21_attrib_t attr,
21                                       bool need_sync);
22 XCamReturn rk_aiq_uapi_aldch_v21_GetAttrib(const RkAiqAlgoContext *ctx,
23                                       rk_aiq_ldch_v21_attrib_t *attr);
24 
25 #endif
26