xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/adegamma/rk_aiq_adegamma_algo.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * rk_aiq_adegamma_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_ADEGAMMA_ALGO_H__
21 #define __RK_AIQ_ADEGAMMA_ALGO_H__
22 
23 #include "rk_aiq_comm.h"
24 #include "RkAiqCalibDbTypes.h"
25 #include "RkAiqCalibDbTypesV2.h"
26 #include "RkAiqCalibDbV2Helper.h"
27 #include "adegamma/rk_aiq_types_adegamma_algo_prvt.h"
28 
29 
30 RKAIQ_BEGIN_DECLARE
31 
32 XCamReturn AdegammaInit(AdegammaHandle_t** para, CamCalibDbV2Context_t* calib);
33 XCamReturn AdegammaRelease(AdegammaHandle_t* para);
34 XCamReturn AdegammaPreProc(AdegammaHandle_t* para);
35 void AdegammaProcessing(AdegammaHandle_t* para, AdegammaProcRes_t* AdegammaProcRes);
36 
37 
38 RKAIQ_END_DECLARE
39 
40 #endif //_RK_AIQ_ALGO_ACPRC_ITF_H_
41