xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/a3dlut/rk_aiq_types_a3dlut_algo.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * rk_aiq_types_a3dlut_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_TYPES_A3DLUT_ALGO_H_
21 #define _RK_AIQ_TYPES_A3DLUT_ALGO_H_
22 #include "a3dlut/rk_aiq_types_a3dlut_hw.h"
23 
24 RKAIQ_BEGIN_DECLARE
25 
26 typedef struct rk_aiq_lut3d_table_s{
27 	// M4_ARRAY_DESC("LutR", "f32", M4_SIZE(81,9), M4_RANGE(0,1023), "0", M4_DIGIT(0), M4_DYNAMIC(0))
28 	unsigned short look_up_table_r[LUT3D_LUT_WSIZE];//10bit
29 	// M4_ARRAY_DESC("LutG", "f32", M4_SIZE(81,9), M4_RANGE(0,4095), "0", M4_DIGIT(0), M4_DYNAMIC(0))
30 	unsigned short look_up_table_g[LUT3D_LUT_WSIZE];//12bit
31 	// M4_ARRAY_DESC("LutB", "f32", M4_SIZE(81,9), M4_RANGE(0,1023), "0", M4_DIGIT(0), M4_DYNAMIC(0))
32 	unsigned short look_up_table_b[LUT3D_LUT_WSIZE];//10bit
33 } rk_aiq_lut3d_table_t;
34 
35 
36 
37 RKAIQ_END_DECLARE
38 
39 #endif
40