Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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 
187 {
198  unsigned /*unused*/ : 32; /* 0x028 */
199  unsigned /*unused*/ : 32; /* 0x02c */
201  unsigned /*unused*/ : 32; /* 0x034 */
202  unsigned /*unused*/ : 32; /* 0x038 */
203  unsigned /*unused*/ : 32; /* 0x03c */
209 };
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 
223 {
225 };
226 
227 #endif /* _AVI_ISP_STATISTICS_YUV_H_ */
avi_isp_statistics_yuv_increments_log2::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:129
avi_isp_statistics_yuv_window_pos_x
Definition: avi_isp_statistics_yuv.h:54
avi_isp_statistics_yuv_window_pos_y
Definition: avi_isp_statistics_yuv.h:65
avi_isp_statistics_yuv_ae_nb_valid_y::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:138
avi_isp_statistics_yuv_regs::increments_log2
union avi_isp_statistics_yuv_increments_log2 increments_log2
Definition: avi_isp_statistics_yuv.h:197
avi_isp_statistics_yuv_awb_nb_grey_pixels::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:183
avi_isp_statistics_yuv_ae_histogram_y::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:219
avi_isp_statistics_yuv_regs::circle_pos_y_center
union avi_isp_statistics_yuv_circle_pos_y_center circle_pos_y_center
Definition: avi_isp_statistics_yuv.h:194
avi_isp_statistics_yuv_regs::measure_status
union avi_isp_statistics_yuv_measure_status measure_status
Definition: avi_isp_statistics_yuv.h:189
avi_isp_statistics_yuv_measure_status
Definition: avi_isp_statistics_yuv.h:44
avi_isp_statistics_yuv_regs::circle_pos_y_squared
union avi_isp_statistics_yuv_circle_pos_y_squared circle_pos_y_squared
Definition: avi_isp_statistics_yuv.h:195
avi_isp_statistics_yuv_regs::circle_radius_squared
union avi_isp_statistics_yuv_circle_radius_squared circle_radius_squared
Definition: avi_isp_statistics_yuv.h:196
uint32_t
unsigned long uint32_t
Definition: types.h:18
avi_isp_statistics_yuv_regs::awb_sum_u
union avi_isp_statistics_yuv_awb_sum_u awb_sum_u
Definition: avi_isp_statistics_yuv.h:206
avi_isp_statistics_yuv_regs::circle_pos_x_squared
union avi_isp_statistics_yuv_circle_pos_x_squared circle_pos_x_squared
Definition: avi_isp_statistics_yuv.h:193
avi_isp_statistics_yuv_awb_sum_v::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:174
avi_isp_statistics_yuv_circle_pos_y_center
Definition: avi_isp_statistics_yuv.h:94
avi_isp_statistics_yuv_ae_nb_valid_y
Definition: avi_isp_statistics_yuv.h:132
avi_isp_statistics_yuv_ae_histogram_y
Definition: avi_isp_statistics_yuv.h:213
avi_isp_statistics_yuv_measure_req::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:41
avi_isp_statistics_yuv_regs::ae_nb_valid_y
union avi_isp_statistics_yuv_ae_nb_valid_y ae_nb_valid_y
Definition: avi_isp_statistics_yuv.h:200
avi_isp_statistics_yuv_measure_status::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:51
avi_isp_statistics_yuv_regs::measure_req
union avi_isp_statistics_yuv_measure_req measure_req
Definition: avi_isp_statistics_yuv.h:188
avi_isp_statistics_yuv_circle_pos_x_center
Definition: avi_isp_statistics_yuv.h:76
avi_isp_statistics_yuv_regs::circle_pos_x_center
union avi_isp_statistics_yuv_circle_pos_x_center circle_pos_x_center
Definition: avi_isp_statistics_yuv.h:192
avi_isp_statistics_yuv_regs
Definition: avi_isp_statistics_yuv.h:186
avi_isp_statistics_yuv_regs::awb_sum_y
union avi_isp_statistics_yuv_awb_sum_y awb_sum_y
Definition: avi_isp_statistics_yuv.h:205
avi_isp_statistics_yuv_circle_pos_y_squared
Definition: avi_isp_statistics_yuv.h:103
avi_isp_statistics_yuv_awb_threshold::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:147
avi_isp_statistics_yuv_awb_threshold
Definition: avi_isp_statistics_yuv.h:141
avi_isp_statistics_yuv_awb_nb_grey_pixels
Definition: avi_isp_statistics_yuv.h:177
avi_isp_statistics_yuv_window_pos_x::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:62
avi_isp_statistics_yuv_awb_sum_y::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:156
avi_isp_statistics_yuv_awb_sum_u
Definition: avi_isp_statistics_yuv.h:159
avi_isp_statistics_yuv_awb_sum_v
Definition: avi_isp_statistics_yuv.h:168
avi_isp_statistics_yuv_awb_sum_y
Definition: avi_isp_statistics_yuv.h:150
avi_isp_statistics_yuv_regs::window_pos_y
union avi_isp_statistics_yuv_window_pos_y window_pos_y
Definition: avi_isp_statistics_yuv.h:191
avi_isp_statistics_yuv_circle_pos_y_squared::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:109
avi_isp_statistics_yuv_regs::awb_nb_grey_pixels
union avi_isp_statistics_yuv_awb_nb_grey_pixels awb_nb_grey_pixels
Definition: avi_isp_statistics_yuv.h:208
avi_isp_statistics_yuv_circle_pos_x_squared
Definition: avi_isp_statistics_yuv.h:85
avi_isp_statistics_yuv_circle_radius_squared::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:118
avi_isp_statistics_yuv_increments_log2
Definition: avi_isp_statistics_yuv.h:121
avi_isp_statistics_yuv_measure_req
Definition: avi_isp_statistics_yuv.h:34
avi_isp_statistics_yuv_regs::awb_threshold
union avi_isp_statistics_yuv_awb_threshold awb_threshold
Definition: avi_isp_statistics_yuv.h:204
avi_isp_statistics_yuv_circle_radius_squared
Definition: avi_isp_statistics_yuv.h:112
avi_isp_statistics_yuv_ae_histogram_y_regs
Definition: avi_isp_statistics_yuv.h:222
avi_isp_statistics_yuv_regs::awb_sum_v
union avi_isp_statistics_yuv_awb_sum_v awb_sum_v
Definition: avi_isp_statistics_yuv.h:207
avi_isp_statistics_yuv_circle_pos_x_squared::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:91
avi_isp_statistics_yuv_circle_pos_x_center::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:82
avi_isp_statistics_yuv_circle_pos_y_center::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:100
avi_isp_statistics_yuv_window_pos_y::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:73
avi_isp_statistics_yuv_ae_histogram_y_regs::ae_histogram_y
union avi_isp_statistics_yuv_ae_histogram_y ae_histogram_y[256]
Definition: avi_isp_statistics_yuv.h:224
avi_isp_statistics_yuv_regs::window_pos_x
union avi_isp_statistics_yuv_window_pos_x window_pos_x
Definition: avi_isp_statistics_yuv.h:190
avi_isp_statistics_yuv_awb_sum_u::_register
uint32_t _register
Definition: avi_isp_statistics_yuv.h:165