Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
avi_isp_statistics_yuv.h
Go to the documentation of this file.
1/*********************************************************************
2 * avi_isp_statistics_yuv 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_STATISTICS_YUV_H_
15#define _AVI_ISP_STATISTICS_YUV_H_
16
17#define AVI_ISP_STATISTICS_YUV_MEASURE_REQ 0x00
18#define AVI_ISP_STATISTICS_YUV_MEASURE_STATUS 0x04
19#define AVI_ISP_STATISTICS_YUV_WINDOW_POS_X 0x08
20#define AVI_ISP_STATISTICS_YUV_WINDOW_POS_Y 0x0c
21#define AVI_ISP_STATISTICS_YUV_CIRCLE_POS_X_CENTER 0x10
22#define AVI_ISP_STATISTICS_YUV_CIRCLE_POS_X_SQUARED 0x14
23#define AVI_ISP_STATISTICS_YUV_CIRCLE_POS_Y_CENTER 0x18
24#define AVI_ISP_STATISTICS_YUV_CIRCLE_POS_Y_SQUARED 0x1c
25#define AVI_ISP_STATISTICS_YUV_CIRCLE_RADIUS_SQUARED 0x20
26#define AVI_ISP_STATISTICS_YUV_INCREMENTS_LOG2 0x24
27#define AVI_ISP_STATISTICS_YUV_AE_NB_VALID_Y 0x30
28#define AVI_ISP_STATISTICS_YUV_AWB_THRESHOLD 0x40
29#define AVI_ISP_STATISTICS_YUV_AWB_SUM_Y 0x44
30#define AVI_ISP_STATISTICS_YUV_AWB_SUM_U 0x48
31#define AVI_ISP_STATISTICS_YUV_AWB_SUM_V 0x4c
32#define AVI_ISP_STATISTICS_YUV_AWB_NB_GREY_PIXELS 0x50
33
35{
36 struct
37 {
38 uint32_t measure_req : 1;
39 uint32_t clear : 1;
40 };
42};
43
45{
46 struct
47 {
48 uint32_t done : 1;
49 uint32_t error : 1;
50 };
52};
53
55{
56 struct
57 {
58 uint32_t window_x_start : 13;
59 unsigned /*unused */ : 3;
60 uint32_t window_x_end : 13;
61 };
63};
64
66{
67 struct
68 {
69 uint32_t window_y_start : 13;
70 unsigned /*unused */ : 3;
71 uint32_t window_y_end : 13;
72 };
74};
75
77{
78 struct
79 {
80 uint32_t x_center : 14;
81 };
83};
84
86{
87 struct
88 {
89 uint32_t x_squared : 26;
90 };
92};
93
95{
96 struct
97 {
98 uint32_t y_center : 14;
99 };
101};
102
104{
105 struct
106 {
107 uint32_t y_squared : 26;
108 };
110};
111
113{
114 struct
115 {
116 uint32_t radius_squared : 29;
117 };
119};
120
122{
123 struct
124 {
125 uint32_t x_log2_inc : 4;
126 unsigned /*unused */ : 13;
127 uint32_t y_log2_inc : 4;
128 };
130};
131
133{
134 struct
135 {
136 uint32_t nb_valid_y : 22;
137 };
139};
140
142{
143 struct
144 {
145 uint32_t awb_threshold : 8;
146 };
148};
149
151{
152 struct
153 {
154 uint32_t awb_sum_y : 30;
155 };
157};
158
160{
161 struct
162 {
163 uint32_t awb_sum_u : 30;
164 };
166};
167
169{
170 struct
171 {
172 uint32_t awb_sum_v : 30;
173 };
175};
176
178{
179 struct
180 {
181 uint32_t nb_grey_pixels : 22;
182 };
184};
185
210
211#define AVI_ISP_STATISTICS_YUV_AE_HISTOGRAM_Y 0x400
212
214{
215 struct
216 {
217 uint32_t histogram_y : 22;
218 };
220};
221
226
227#endif /* _AVI_ISP_STATISTICS_YUV_H_ */
union avi_isp_statistics_yuv_ae_nb_valid_y ae_nb_valid_y
union avi_isp_statistics_yuv_increments_log2 increments_log2
union avi_isp_statistics_yuv_circle_pos_y_center circle_pos_y_center
union avi_isp_statistics_yuv_measure_status measure_status
union avi_isp_statistics_yuv_circle_pos_x_squared circle_pos_x_squared
union avi_isp_statistics_yuv_circle_pos_y_squared circle_pos_y_squared
union avi_isp_statistics_yuv_ae_histogram_y ae_histogram_y[256]
union avi_isp_statistics_yuv_awb_sum_v awb_sum_v
union avi_isp_statistics_yuv_circle_radius_squared circle_radius_squared
union avi_isp_statistics_yuv_awb_sum_y awb_sum_y
union avi_isp_statistics_yuv_awb_sum_u awb_sum_u
union avi_isp_statistics_yuv_circle_pos_x_center circle_pos_x_center
union avi_isp_statistics_yuv_awb_threshold awb_threshold
union avi_isp_statistics_yuv_window_pos_y window_pos_y
union avi_isp_statistics_yuv_measure_req measure_req
union avi_isp_statistics_yuv_awb_nb_grey_pixels awb_nb_grey_pixels
union avi_isp_statistics_yuv_window_pos_x window_pos_x
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.