Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
avi_isp_lens_shading_correction.h
Go to the documentation of this file.
1 /*********************************************************************
2  * avi_isp_lens_shading_correction register map
3  *
4  * Vendor: Parrot
5  * Library: AVI
6  * Version: P7R3
7  * Gen-date: (Date of generation of this C code, not the IP-Xact file)
8  * 2014-02-28
9  *
10  * WARNING: This code is automatically generated from the hardware
11  * IP-Xact XML files. Do not edit directly.
12  *********************************************************************/
13 
14 #ifndef _AVI_ISP_LENS_SHADING_CORRECTION_H_
15 #define _AVI_ISP_LENS_SHADING_CORRECTION_H_
16 
17 #define AVI_ISP_LENS_SHADING_CORRECTION_BAYER_CFA 0x00
18 #define AVI_ISP_LENS_SHADING_CORRECTION_OFFSET_X_Y 0x04
19 #define AVI_ISP_LENS_SHADING_CORRECTION_CELL_ID_X_Y 0x08
20 #define AVI_ISP_LENS_SHADING_CORRECTION_CELL_W 0x0c
21 #define AVI_ISP_LENS_SHADING_CORRECTION_CELL_H 0x10
22 #define AVI_ISP_LENS_SHADING_CORRECTION_CELL_W_INV 0x14
23 #define AVI_ISP_LENS_SHADING_CORRECTION_CELL_H_INV 0x18
24 #define AVI_ISP_LENS_SHADING_CORRECTION_ALPHA 0x1c
25 #define AVI_ISP_LENS_SHADING_CORRECTION_BETA 0x20
26 #define AVI_ISP_LENS_SHADING_CORRECTION_THRESHOLD 0x24
27 #define AVI_ISP_LENS_SHADING_CORRECTION_GAIN 0x28
28 
30 {
31  struct
32  {
33  uint32_t cfa : 2;
34  };
36 };
37 
39 {
40  struct
41  {
42  uint32_t offset_x : 9;
43  unsigned /*unused */ : 7;
44  uint32_t offset_y : 10;
45  };
47 };
48 
50 {
51  struct
52  {
53  uint32_t cell_id_x : 4;
54  unsigned /*unused */ : 12;
55  uint32_t cell_id_y : 4;
56  };
58 };
59 
61 {
62  struct
63  {
64  uint32_t cell_w : 9;
65  };
67 };
68 
70 {
71  struct
72  {
73  uint32_t cell_h : 10;
74  };
76 };
77 
79 {
80  struct
81  {
82  uint32_t w_inv : 17;
83  };
85 };
86 
88 {
89  struct
90  {
91  uint32_t h_inv : 17;
92  };
94 };
95 
97 {
98  struct
99  {
100  uint32_t alpha : 17;
101  };
103 };
104 
106 {
107  struct
108  {
109  uint32_t beta : 17;
110  };
112 };
113 
115 {
116  struct
117  {
118  uint32_t threshold_r : 10;
119  uint32_t threshold_g : 10;
120  uint32_t threshold_b : 10;
121  };
123 };
124 
126 {
127  struct
128  {
129  uint32_t gain_r : 10;
130  uint32_t gain_g : 10;
131  uint32_t gain_b : 10;
132  };
134 };
135 
137 {
149 };
150 
151 #define AVI_ISP_LENS_SHADING_CORRECTION_RED_COEFF_MEM 0x1000
152 
154 {
155  struct
156  {
157  uint32_t r_coeff_value : 8;
158  };
160 };
161 
163 {
165 };
166 
167 #define AVI_ISP_LENS_SHADING_CORRECTION_GREEN_COEFF_MEM 0x1400
168 
170 {
171  struct
172  {
173  uint32_t g_coeff_value : 8;
174  };
176 };
177 
179 {
181 };
182 
183 #define AVI_ISP_LENS_SHADING_CORRECTION_BLUE_COEFF_MEM 0x1800
184 
186 {
187  struct
188  {
189  uint32_t b_coeff_value : 8;
190  };
192 };
193 
195 {
197 };
198 
199 #endif /* _AVI_ISP_LENS_SHADING_CORRECTION_H_ */
avi_isp_lens_shading_correction_regs::threshold
union avi_isp_lens_shading_correction_threshold threshold
Definition: avi_isp_lens_shading_correction.h:147
avi_isp_lens_shading_correction_blue_coeff_mem::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:191
avi_isp_lens_shading_correction_offset_x_y
Definition: avi_isp_lens_shading_correction.h:38
avi_isp_lens_shading_correction_cell_w::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:66
avi_isp_lens_shading_correction_green_coeff_mem::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:175
avi_isp_lens_shading_correction_alpha::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:102
avi_isp_lens_shading_correction_bayer_cfa::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:35
avi_isp_lens_shading_correction_cell_id_x_y::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:57
avi_isp_lens_shading_correction_regs::alpha
union avi_isp_lens_shading_correction_alpha alpha
Definition: avi_isp_lens_shading_correction.h:145
uint32_t
unsigned long uint32_t
Definition: types.h:18
avi_isp_lens_shading_correction_cell_h_inv
Definition: avi_isp_lens_shading_correction.h:87
alpha
float alpha
Definition: textons.c:107
avi_isp_lens_shading_correction_green_coeff_mem_regs
Definition: avi_isp_lens_shading_correction.h:178
avi_isp_lens_shading_correction_regs::gain
union avi_isp_lens_shading_correction_gain gain
Definition: avi_isp_lens_shading_correction.h:148
avi_isp_lens_shading_correction_cell_h
Definition: avi_isp_lens_shading_correction.h:69
avi_isp_lens_shading_correction_cell_w
Definition: avi_isp_lens_shading_correction.h:60
avi_isp_lens_shading_correction_gain::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:133
avi_isp_lens_shading_correction_threshold
Definition: avi_isp_lens_shading_correction.h:114
avi_isp_lens_shading_correction_red_coeff_mem
Definition: avi_isp_lens_shading_correction.h:153
avi_isp_lens_shading_correction_gain
Definition: avi_isp_lens_shading_correction.h:125
avi_isp_lens_shading_correction_regs::cell_w_inv
union avi_isp_lens_shading_correction_cell_w_inv cell_w_inv
Definition: avi_isp_lens_shading_correction.h:143
avi_isp_lens_shading_correction_green_coeff_mem
Definition: avi_isp_lens_shading_correction.h:169
avi_isp_lens_shading_correction_cell_id_x_y
Definition: avi_isp_lens_shading_correction.h:49
avi_isp_lens_shading_correction_cell_h_inv::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:93
avi_isp_lens_shading_correction_blue_coeff_mem_regs::blue_coeff_mem
union avi_isp_lens_shading_correction_blue_coeff_mem blue_coeff_mem[221]
Definition: avi_isp_lens_shading_correction.h:196
avi_isp_lens_shading_correction_regs::offset_x_y
union avi_isp_lens_shading_correction_offset_x_y offset_x_y
Definition: avi_isp_lens_shading_correction.h:139
avi_isp_lens_shading_correction_bayer_cfa
Definition: avi_isp_lens_shading_correction.h:29
avi_isp_lens_shading_correction_regs::bayer_cfa
union avi_isp_lens_shading_correction_bayer_cfa bayer_cfa
Definition: avi_isp_lens_shading_correction.h:138
avi_isp_lens_shading_correction_regs::beta
union avi_isp_lens_shading_correction_beta beta
Definition: avi_isp_lens_shading_correction.h:146
avi_isp_lens_shading_correction_regs::cell_id_x_y
union avi_isp_lens_shading_correction_cell_id_x_y cell_id_x_y
Definition: avi_isp_lens_shading_correction.h:140
avi_isp_lens_shading_correction_beta::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:111
avi_isp_lens_shading_correction_cell_h::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:75
avi_isp_lens_shading_correction_green_coeff_mem_regs::green_coeff_mem
union avi_isp_lens_shading_correction_green_coeff_mem green_coeff_mem[221]
Definition: avi_isp_lens_shading_correction.h:180
avi_isp_lens_shading_correction_threshold::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:122
avi_isp_lens_shading_correction_cell_w_inv
Definition: avi_isp_lens_shading_correction.h:78
avi_isp_lens_shading_correction_offset_x_y::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:46
avi_isp_lens_shading_correction_red_coeff_mem::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:159
avi_isp_lens_shading_correction_blue_coeff_mem_regs
Definition: avi_isp_lens_shading_correction.h:194
avi_isp_lens_shading_correction_regs::cell_h_inv
union avi_isp_lens_shading_correction_cell_h_inv cell_h_inv
Definition: avi_isp_lens_shading_correction.h:144
avi_isp_lens_shading_correction_beta
Definition: avi_isp_lens_shading_correction.h:105
avi_isp_lens_shading_correction_regs::cell_h
union avi_isp_lens_shading_correction_cell_h cell_h
Definition: avi_isp_lens_shading_correction.h:142
avi_isp_lens_shading_correction_red_coeff_mem_regs::red_coeff_mem
union avi_isp_lens_shading_correction_red_coeff_mem red_coeff_mem[221]
Definition: avi_isp_lens_shading_correction.h:164
avi_isp_lens_shading_correction_cell_w_inv::_register
uint32_t _register
Definition: avi_isp_lens_shading_correction.h:84
avi_isp_lens_shading_correction_alpha
Definition: avi_isp_lens_shading_correction.h:96
avi_isp_lens_shading_correction_regs::cell_w
union avi_isp_lens_shading_correction_cell_w cell_w
Definition: avi_isp_lens_shading_correction.h:141
avi_isp_lens_shading_correction_blue_coeff_mem
Definition: avi_isp_lens_shading_correction.h:185
avi_isp_lens_shading_correction_red_coeff_mem_regs
Definition: avi_isp_lens_shading_correction.h:162
avi_isp_lens_shading_correction_regs
Definition: avi_isp_lens_shading_correction.h:136