xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/accm/rk_aiq_types_accm_algo.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * rk_aiq_types_accm_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_ACCM_ALGO_H_
21 #define _RK_AIQ_TYPES_ACCM_ALGO_H_
22 
23 #include "accm/rk_aiq_types_accm_hw.h"
24 
25 RKAIQ_BEGIN_DECLARE
26 
27 typedef struct rk_aiq_ccm_matrix_s {
28     // M4_ARRAY_DESC("ccMatrix", "f32", M4_SIZE(3,3), M4_RANGE(-8,7.992), "[1.0000,0.0000,0.0000,0.0000,1.0000,0.0000,0.0000,0.0000,1.0000]", M4_DIGIT(4), M4_DYNAMIC(0))
29     float  ccMatrix[9];
30     // M4_ARRAY_DESC("ccOffsets", "f32", M4_SIZE(1,3), M4_RANGE(-4095,4095), "0", M4_DIGIT(1), M4_DYNAMIC(0))
31     float  ccOffsets[3];
32 } rk_aiq_ccm_matrix_t;
33 
34 
35 RKAIQ_END_DECLARE
36 
37 #endif
38 
39