1 /* 2 * Copyright (c) 2019-2022 Rockchip Eletronics Co., Ltd. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 #ifndef _RK_AIQ_UAPI_AGIC_INT_H_ 17 #define _RK_AIQ_UAPI_AGIC_INT_H_ 18 19 #include "algos/agic/rk_aiq_types_algo_agic_int.h" 20 #include "algos/rk_aiq_algo_des.h" 21 #include "xcore/base/xcam_common.h" 22 23 XCamReturn rk_aiq_uapi_agic_v1_SetAttrib(RkAiqAlgoContext* ctx, const rkaiq_gic_v1_api_attr_t* attr, 24 bool need_sync); 25 XCamReturn rk_aiq_uapi_agic_v1_GetAttrib(RkAiqAlgoContext* ctx, rkaiq_gic_v1_api_attr_t* attr); 26 27 XCamReturn rk_aiq_uapi_agic_v2_SetAttrib(RkAiqAlgoContext* ctx, const rkaiq_gic_v2_api_attr_t* attr, 28 bool need_sync); 29 XCamReturn rk_aiq_uapi_agic_v2_GetAttrib(RkAiqAlgoContext* ctx, rkaiq_gic_v2_api_attr_t* attr); 30 31 #endif //_RK_AIQ_UAPI_AGIC_INT_H_ 32