xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/acnr2/rk_aiq_types_acnr_hw_v2.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  *rk_aiq_types_alsc_hw.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_TYPE_ACNR_HW_V2_H_
21 #define _RK_AIQ_TYPE_ACNR_HW_V2_H_
22 #include "rk_aiq_comm.h"
23 
24 typedef struct RK_CNR_Fix_V2_s {
25     //ISP_CNR_2800_CTRL
26     uint8_t cnr_thumb_mix_cur_en;
27     uint8_t cnr_lq_bila_bypass;
28     uint8_t cnr_hq_bila_bypass;
29     uint8_t cnr_exgain_bypass;
30     uint8_t cnr_en_i;
31 
32     // ISP_CNR_2800_EXGAIN
33     uint8_t cnr_global_gain_alpha;
34     uint16_t cnr_global_gain;
35 
36     // ISP_CNR_2800_GAIN_PARA
37     uint8_t cnr_gain_iso;
38     uint8_t cnr_gain_offset;
39     uint8_t cnr_gain_1sigma;
40 
41     // ISP_CNR_2800_GAIN_UV_PARA
42     uint8_t cnr_gain_uvgain1;
43     uint8_t cnr_gain_uvgain0;
44 
45     // ISP_CNR_2800_LMED3
46     uint8_t cnr_lmed3_alpha;
47 
48     // ISP_CNR_2800_LBF5_GAIN
49     uint8_t cnr_lbf5_gain_y;
50     uint8_t cnr_lbf5_gain_c;
51 
52     // ISP_CNR_2800_LBF5_WEITD0_4
53     uint8_t cnr_lbf5_weit_d[5];
54 
55     // ISP_CNR_2800_HMED3
56     uint8_t cnr_hmed3_alpha;
57 
58     // ISP_CNR_2800_HBF5
59     uint8_t cnr_hbf5_weit_src;
60     uint8_t cnr_hbf5_min_wgt;
61     uint16_t cnr_hbf5_sigma;
62 
63     // ISP_CNR_2800_LBF3
64     uint8_t cnr_lbf5_weit_src;
65     uint16_t cnr_lbf3_sigma;
66 
67     //ISP_CNR_2800_SIGMA0-SIGMA3
68     uint8_t cnr_sigma_y[13];
69 
70 } RK_CNR_Fix_V2_t;
71 
72 
73 
74 #endif
75 
76 
77 
78