1 /* 2 * rk_aiq_types_aeis_algo_prvt.h 3 * 4 * Copyright (c) 2021 Rockchip Electronics Co., Ltd 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 * Author: Cody Xie <cody.xie@rock-chips.com> 19 */ 20 21 #ifndef _RK_AIQ_UAPI_AEIS_INT_H_ 22 #define _RK_AIQ_UAPI_AEIS_INT_H_ 23 24 #include "aeis/rk_aiq_types_aeis_algo_int.h" 25 #include "base/xcam_common.h" 26 #include "rk_aiq_algo_des.h" 27 28 // need_sync means the implementation should consider 29 // the thread synchronization 30 // if called by RkAiqAeisHandleInt, the sync has been done 31 // in framework. And if called by user app directly, 32 // sync should be done in inner. now we just need implement 33 // the case of need_sync == false; need_sync is for future usage. 34 XCamReturn rk_aiq_uapi_aeis_SetAttrib(RkAiqAlgoContext* ctx, rk_aiq_eis_attrib_t attr, 35 bool need_sync); 36 XCamReturn rk_aiq_uapi_aeis_GetAttrib(const RkAiqAlgoContext* ctx, rk_aiq_eis_attrib_t* attr); 37 XCamReturn rk_aiq_uapi_aeis_QueryEisInfo(const RkAiqAlgoContext* ctx, 38 rk_aiq_eis_querry_info_t* eis_querry_info); 39 40 #endif 41