1 /* 2 *rk_aiq_alsc_algo.h 3 * 4 * Copyright (c) 2019 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_ALSC_ALGO_H_ 21 #define _RK_AIQ_ALSC_ALGO_H_ 22 #include "alsc/rk_aiq_types_alsc_algo_prvt.h" 23 24 RKAIQ_BEGIN_DECLARE 25 26 XCamReturn alscGetOtpInfo(RkAiqAlgoCom* params); 27 XCamReturn convertSensorLscOTP(resolution_t *cur_res, alsc_otp_grad_t *otpGrad, 28 RkAiqBayerPattern_t bayerPattern); 29 XCamReturn AlscInit(alsc_handle_t *hAlsc, const CamCalibDbV2Context_t* calib2); 30 XCamReturn AlscRelease(alsc_handle_t hAlsc); 31 XCamReturn AlscPrepare(alsc_handle_t hAlsc); 32 XCamReturn AlscConfig(alsc_handle_t hAlsc); 33 XCamReturn AlscPreProc(alsc_handle_t hAlsc); 34 XCamReturn AlscProcessing(alsc_handle_t hAlsc); 35 36 XCamReturn AlscAutoParamClone(alsc_handle_t hAlsc); 37 XCamReturn AlscAutoParamFree(alsc_handle_t hAlsc); 38 39 RKAIQ_END_DECLARE 40 41 #endif 42 43