hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _RK_AIQ_UAPI_ALDCH_INT_H_
#define _RK_AIQ_UAPI_ALDCH_INT_H_
 
#include "base/xcam_common.h"
#include "rk_aiq_algo_des.h"
#include "aldch/rk_aiq_types_aldch_algo_int.h"
 
typedef rk_aiq_ldch_cfg_t rk_aiq_ldch_attrib_t;
 
/*
 * need_sync means the implementation should consider
 * the thread synchronization
 * if called by RkAiqAlscHandleInt, the sync has been done
 * in framework. And if called by user app directly,
 * sync should be done in inner. now we just need implement
 * the case of need_sync == false; need_sync is for future usage.
 */
 
XCamReturn rk_aiq_uapi_aldch_SetAttrib(RkAiqAlgoContext *ctx,
                                      rk_aiq_ldch_attrib_t attr,
                                      bool need_sync);
XCamReturn rk_aiq_uapi_aldch_GetAttrib(const RkAiqAlgoContext *ctx,
                                      rk_aiq_ldch_attrib_t *attr);
 
#endif