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_ABAYERNR_HW_V1_H_
21 #define _RK_AIQ_TYPE_ABAYERNR_HW_V1_H_
22 #include "rk_aiq_comm.h"
23 
24 
25 
26 typedef struct RKAnr_Bayernr_Fix_V1_s {
27     unsigned char rawnr_en;
28     unsigned char gauss_en;
29     unsigned char log_bypass;
30 
31     unsigned short filtpar0;
32     unsigned short filtpar1;
33     unsigned short filtpar2;
34 
35     unsigned int dgain0;
36     unsigned int dgain1;
37     unsigned int dgain2;
38 
39     unsigned short luration[8];
40     unsigned short lulevel[8];
41 
42     unsigned int gauss;
43     unsigned short sigma;
44     unsigned short pix_diff;
45 
46     unsigned int thld_diff;
47 
48     unsigned char gas_weig_scl2;
49     unsigned char gas_weig_scl1;
50     unsigned short thld_chanelw;
51 
52     unsigned short lamda;
53 
54     unsigned short fixw0;
55     unsigned short fixw1;
56     unsigned short fixw2;
57     unsigned short fixw3;
58 
59     unsigned int wlamda0;
60     unsigned int wlamda1;
61     unsigned int wlamda2;
62 
63     unsigned short rgain_filp;
64     unsigned short bgain_filp;
65 } RK_Bayernr_Fix_V1_t;
66 
67 
68 
69 
70 #endif
71 
72 
73 
74