#ifndef _RK_AIQ_UAPI_AWB_INT_H_ #define _RK_AIQ_UAPI_AWB_INT_H_ #include "base/xcam_common.h" #include "rk_aiq_algo_des.h" #include "awb/rk_aiq_types_awb_algo_int.h" // need_sync means the implementation should consider // the thread synchronization // if called by RkAiqAwbHandleInt, 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_awb_SetAttrib(RkAiqAlgoContext *ctx, rk_aiq_wb_attrib_t attr, bool need_sync); XCamReturn rk_aiq_uapi_awb_GetAttrib(const RkAiqAlgoContext *ctx, rk_aiq_wb_attrib_t *attr); XCamReturn rk_aiq_uapi_awb_GetCCT(const RkAiqAlgoContext *ctx, rk_aiq_wb_cct_t *cct ); XCamReturn rk_aiq_uapi_awb_QueryWBInfo(const RkAiqAlgoContext *ctx, rk_aiq_wb_querry_info_t *wb_querry_info ); XCamReturn rk_aiq_uapi_awb_Lock(RkAiqAlgoContext *ctx); XCamReturn rk_aiq_uapi_awb_Unlock(const RkAiqAlgoContext *ctx); #endif