xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aldch/rk_aiq_ldch_generate_mesh.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * rk_aiq_ldch_generate_mesh.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 #ifndef _RK_AIQ_LDCH_GENERATE_MESH_H_
20 #define _RK_AIQ_LDCH_GENERATE_MESH_H_
21 
22 #include "aldch/rk_aiq_types_aldch_algo_prvt.h"
23 
24 RKAIQ_BEGIN_DECLARE
25 
26 XCamReturn get_ldch_buf(LDCHContext_t* ldchCtx);
27 XCamReturn release_ldch_buf(LDCHContext_t* ldchCtx);
28 bool read_mesh_from_file(LDCHContext_t* ldchCtx, const char* fileName);
29 XCamReturn aiqGenLdchMeshInit(LDCHContext_t* ldchCtx);
30 XCamReturn aiqGenLdchMeshDeInit(LDCHContext_t* ldchCtx);
31 bool aiqGenMesh(LDCHContext_t* ldchCtx, int32_t level);
32 void put_ldch_buf(LDCHContext_t* ldchCtx);
33 
34 RKAIQ_END_DECLARE
35 
36 #endif
37