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