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_TYPE_ABLC_ALGO_INT_V32_H_ 17 #define _RK_AIQ_TYPE_ABLC_ALGO_INT_V32_H_ 18 19 #include "ablcV32/rk_aiq_types_ablc_algo_int_v32.h" 20 #include "base/xcam_common.h" 21 #include "rk_aiq_algo_des.h" 22 23 // need_sync means the implementation should consider 24 // the thread synchronization 25 // if called by RkAiqAlscHandleInt, the sync has been done 26 // in framework. And if called by user app directly, 27 // sync should be done in inner. now we just need implement 28 // the case of need_sync == false; need_sync is for future usage. 29 30 XCamReturn rk_aiq_uapi_ablc_V32_SetAttrib(RkAiqAlgoContext* ctx, rk_aiq_blc_attrib_V32_t* attr, 31 bool need_sync); 32 XCamReturn rk_aiq_uapi_ablc_V32_GetAttrib(const RkAiqAlgoContext* ctx, 33 rk_aiq_blc_attrib_V32_t* attr); 34 35 XCamReturn rk_aiq_uapi_ablc_V32_GetProc(const RkAiqAlgoContext* ctx, AblcProc_V32_t* ProcRes); 36 37 XCamReturn rk_aiq_uapi_ablc_V32_GetInfo(const RkAiqAlgoContext* ctx, rk_aiq_blc_info_v32_t* pInfo); 38 39 #endif