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
29
union
avi_isp_lens_shading_correction_bayer_cfa
30
{
31
struct
32
{
33
uint32_t
cfa : 2;
34
};
35
uint32_t
_register
;
36
};
37
38
union
avi_isp_lens_shading_correction_offset_x_y
39
{
40
struct
41
{
42
uint32_t
offset_x : 9;
43
unsigned
/*unused */
: 7;
44
uint32_t
offset_y : 10;
45
};
46
uint32_t
_register
;
47
};
48
49
union
avi_isp_lens_shading_correction_cell_id_x_y
50
{
51
struct
52
{
53
uint32_t
cell_id_x : 4;
54
unsigned
/*unused */
: 12;
55
uint32_t
cell_id_y : 4;
56
};
57
uint32_t
_register
;
58
};
59
60
union
avi_isp_lens_shading_correction_cell_w
61
{
62
struct
63
{
64
uint32_t
cell_w : 9;
65
};
66
uint32_t
_register
;
67
};
68
69
union
avi_isp_lens_shading_correction_cell_h
70
{
71
struct
72
{
73
uint32_t
cell_h : 10;
74
};
75
uint32_t
_register
;
76
};
77
78
union
avi_isp_lens_shading_correction_cell_w_inv
79
{
80
struct
81
{
82
uint32_t
w_inv : 17;
83
};
84
uint32_t
_register
;
85
};
86
87
union
avi_isp_lens_shading_correction_cell_h_inv
88
{
89
struct
90
{
91
uint32_t
h_inv : 17;
92
};
93
uint32_t
_register
;
94
};
95
96
union
avi_isp_lens_shading_correction_alpha
97
{
98
struct
99
{
100
uint32_t
alpha
: 17;
101
};
102
uint32_t
_register
;
103
};
104
105
union
avi_isp_lens_shading_correction_beta
106
{
107
struct
108
{
109
uint32_t
beta : 17;
110
};
111
uint32_t
_register
;
112
};
113
114
union
avi_isp_lens_shading_correction_threshold
115
{
116
struct
117
{
118
uint32_t
threshold_r : 10;
119
uint32_t
threshold_g : 10;
120
uint32_t
threshold_b : 10;
121
};
122
uint32_t
_register
;
123
};
124
125
union
avi_isp_lens_shading_correction_gain
126
{
127
struct
128
{
129
uint32_t
gain_r : 10;
130
uint32_t
gain_g : 10;
131
uint32_t
gain_b : 10;
132
};
133
uint32_t
_register
;
134
};
135
136
struct
avi_isp_lens_shading_correction_regs
137
{
138
union
avi_isp_lens_shading_correction_bayer_cfa
bayer_cfa
;
/* 0x000 */
139
union
avi_isp_lens_shading_correction_offset_x_y
offset_x_y
;
/* 0x004 */
140
union
avi_isp_lens_shading_correction_cell_id_x_y
cell_id_x_y
;
/* 0x008 */
141
union
avi_isp_lens_shading_correction_cell_w
cell_w
;
/* 0x00c */
142
union
avi_isp_lens_shading_correction_cell_h
cell_h
;
/* 0x010 */
143
union
avi_isp_lens_shading_correction_cell_w_inv
cell_w_inv
;
/* 0x014 */
144
union
avi_isp_lens_shading_correction_cell_h_inv
cell_h_inv
;
/* 0x018 */
145
union
avi_isp_lens_shading_correction_alpha
alpha
;
/* 0x01c */
146
union
avi_isp_lens_shading_correction_beta
beta
;
/* 0x020 */
147
union
avi_isp_lens_shading_correction_threshold
threshold
;
/* 0x024 */
148
union
avi_isp_lens_shading_correction_gain
gain
;
/* 0x028 */
149
};
150
151
#define AVI_ISP_LENS_SHADING_CORRECTION_RED_COEFF_MEM 0x1000
152
153
union
avi_isp_lens_shading_correction_red_coeff_mem
154
{
155
struct
156
{
157
uint32_t
r_coeff_value : 8;
158
};
159
uint32_t
_register
;
160
};
161
162
struct
avi_isp_lens_shading_correction_red_coeff_mem_regs
163
{
164
union
avi_isp_lens_shading_correction_red_coeff_mem
red_coeff_mem
[221];
165
};
166
167
#define AVI_ISP_LENS_SHADING_CORRECTION_GREEN_COEFF_MEM 0x1400
168
169
union
avi_isp_lens_shading_correction_green_coeff_mem
170
{
171
struct
172
{
173
uint32_t
g_coeff_value : 8;
174
};
175
uint32_t
_register
;
176
};
177
178
struct
avi_isp_lens_shading_correction_green_coeff_mem_regs
179
{
180
union
avi_isp_lens_shading_correction_green_coeff_mem
green_coeff_mem
[221];
181
};
182
183
#define AVI_ISP_LENS_SHADING_CORRECTION_BLUE_COEFF_MEM 0x1800
184
185
union
avi_isp_lens_shading_correction_blue_coeff_mem
186
{
187
struct
188
{
189
uint32_t
b_coeff_value : 8;
190
};
191
uint32_t
_register
;
192
};
193
194
struct
avi_isp_lens_shading_correction_blue_coeff_mem_regs
195
{
196
union
avi_isp_lens_shading_correction_blue_coeff_mem
blue_coeff_mem
[221];
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
sw
airborne
boards
bebop
isp
regmap
avi_isp_lens_shading_correction.h
Generated on Tue Feb 1 2022 13:51:13 for Paparazzi UAS by
1.8.17