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_ABAYER2DNR_HW_V23_H_
21 #define _RK_AIQ_TYPE_ABAYER2DNR_HW_V23_H_
22 #include "rk_aiq_comm.h"
23 
24 
25 
26 typedef struct RK_Bayer2dnr_Fix_V23_s {
27     /* BAYNR_CTRL */
28     uint8_t bay3d_gain_en;
29     uint8_t lg2_mode;
30     uint8_t gauss_en;
31     uint8_t log_bypass;
32     uint8_t bayer_en;
33 
34     /* BAYNR_DGAIN */
35     uint16_t dgain[3];
36 
37     /* BAYNR_PIXDIFF */
38     uint16_t pix_diff;
39     /* BAYNR_THLD */
40     uint16_t diff_thld;
41     uint16_t softthld;
42     /* BAYNR_W1_STRENG */
43     uint16_t bltflt_streng;
44     uint16_t reg_w1;
45     /* BAYNR_SIGMA */
46     uint16_t sigma_x[16];
47     uint16_t sigma_y[16];
48     /* BAYNR_WRIT_D */
49     uint16_t weit_d[3];
50     /* BAYNR_LG_OFF */
51     uint16_t lg2_lgoff;
52     uint16_t lg2_off;
53     /* BAYNR_DAT_MAX */
54     uint32_t dat_max;
55     /* BAYNR_SIGOFF */
56     uint16_t rgain_off;
57     uint16_t bgain_off;
58     /* BAYNR_GAIN */
59     uint8_t gain_x[16];
60     uint16_t gain_y[16];
61 } RK_Bayer2dnr_Fix_V23_t;
62 
63 
64 
65 #endif
66 
67 
68 
69