xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/awb/rk_aiq_types_awb_algo.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2 * rk_aiq_types_awb_algo.h
3 
4 * for rockchip v2.0.0
5 *
6 *  Copyright (c) 2019 Rockchip Corporation
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 *      http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 *
20 */
21 /* for rockchip v2.0.0*/
22 
23 #ifndef __RK_AIQ_TYPE_AWB_ALGO_H__
24 #define __RK_AIQ_TYPE_AWB_ALGO_H__
25 
26 #include "rk_aiq_types_awb_stat_v200.h"
27 #include "rk_aiq_types_awb_stat_v201.h"
28 #include "rk_aiq_types_awb_stat_v32.h"
29 typedef struct rk_aiq_wb_gain_s {
30     float rgain;
31     float grgain;
32     float gbgain;
33     float bgain;
34 } rk_aiq_wb_gain_t;
35 
36 typedef enum rk_aiq_wb_gapin_aplly_pos_s{
37     IN_AWBGAIN0 =0,
38     IN_AWBGAIN1
39 }rk_aiq_wb_gapin_aplly_pos_e;
40 
41 typedef struct rk_aiq_wb_gain_v32_s {
42     float rgain;
43     float grgain;
44     float gbgain;
45     float bgain;
46     rk_aiq_wb_gapin_aplly_pos_e applyPosition;
47 } rk_aiq_wb_gain_v32_t;
48 
49 #endif
50 
51