1 /* 2 *rk_aiq_uapi_camgroup_asahrp_int_33.h 3 * 4 * Copyright (c) 2022 Rockchip Corporation 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 */ 19 20 #ifndef _RK_AIQ_UAPA_CAMGROUP_ASHARP_INT_V33_H_ 21 #define _RK_AIQ_UAPA_CAMGROUP_ASHARP_INT_V33_H_ 22 23 #include "asharpV33/rk_aiq_types_asharp_algo_int_v33.h" 24 #include "base/xcam_common.h" 25 #include "rk_aiq_algo_des.h" 26 27 // need_sync means the implementation should consider 28 // the thread synchronization 29 // if called by RkAiqAlscHandleInt, the sync has been done 30 // in framework. And if called by user app directly, 31 // sync should be done in inner. now we just need implement 32 // the case of need_sync == false; need_sync is for future usage. 33 34 XCamReturn rk_aiq_uapi_camgroup_asharpV33_SetAttrib(RkAiqAlgoContext* ctx, 35 const rk_aiq_sharp_attrib_v33_t* attr, 36 bool need_sync); 37 38 XCamReturn rk_aiq_uapi_camgroup_asharpV33_GetAttrib(const RkAiqAlgoContext* ctx, 39 rk_aiq_sharp_attrib_v33_t* attr); 40 41 XCamReturn rk_aiq_uapi_camgroup_asharpV33Lite_SetAttrib(RkAiqAlgoContext* ctx, 42 const rk_aiq_sharp_attrib_v33LT_t* attr, 43 bool need_sync); 44 45 XCamReturn rk_aiq_uapi_camgroup_asharpV33Lite_GetAttrib(const RkAiqAlgoContext* ctx, 46 rk_aiq_sharp_attrib_v33LT_t* attr); 47 48 XCamReturn rk_aiq_uapi_camgroup_asharpV33_SetStrength(const RkAiqAlgoContext* ctx, const rk_aiq_sharp_strength_v33_t* pStrength); 49 50 XCamReturn rk_aiq_uapi_camgroup_asharpV33_GetStrength(const RkAiqAlgoContext* ctx, rk_aiq_sharp_strength_v33_t* pStrength); 51 52 53 XCamReturn rk_aiq_uapi_camgroup_asharpV33_GetInfo(const RkAiqAlgoContext* ctx, 54 rk_aiq_sharp_info_v33_t* pInfo); 55 56 #endif