xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/aec_xml2json.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  *  Copyright (c) 2019 Rockchip Corporation
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  */
17 
18 #ifndef __AEC_XML_2JSON_H__
19 #define __AEC_XML_2JSON_H__
20 
21 #include "RkAiqCalibDbV2.h"
22 #include "RkAiqCalibDbTypes.h"
23 #include "RkAiqCalibDbTypesV2.h"
24 #include "RkAiqCalibDbV2Helper.h"
25 
26 void CalibV2AecFree(CamCalibDbV2Context_t* calibV2);
27 #ifdef RKAIQ_ENABLE_PARSER_V1
28 void convertSensorinfoCalibV1ToCalibV2(const CamCalibDbContext_t *calib, CalibDb_Sensor_ParaV2_t* sensor_info);
29 void convertModuleinfoCalibV1ToCalibV2(const CamCalibDbContext_t *calib, CalibDb_Module_ParaV2_t* module_info);
30 void convertAecCalibV1ToCalibV2(const CamCalibDbContext_t *calib, CamCalibDbV2Context_t* calibV2);
31 #endif
32 
33 
34 #endif
35 
36