Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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
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
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
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
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
198
199#endif /* _AVI_ISP_LENS_SHADING_CORRECTION_H_ */
union avi_isp_lens_shading_correction_cell_w cell_w
union avi_isp_lens_shading_correction_cell_h_inv cell_h_inv
union avi_isp_lens_shading_correction_cell_id_x_y cell_id_x_y
union avi_isp_lens_shading_correction_bayer_cfa bayer_cfa
union avi_isp_lens_shading_correction_threshold threshold
union avi_isp_lens_shading_correction_offset_x_y offset_x_y
union avi_isp_lens_shading_correction_beta beta
union avi_isp_lens_shading_correction_green_coeff_mem green_coeff_mem[221]
union avi_isp_lens_shading_correction_cell_w_inv cell_w_inv
union avi_isp_lens_shading_correction_alpha alpha
union avi_isp_lens_shading_correction_red_coeff_mem red_coeff_mem[221]
union avi_isp_lens_shading_correction_cell_h cell_h
union avi_isp_lens_shading_correction_blue_coeff_mem blue_coeff_mem[221]
union avi_isp_lens_shading_correction_gain gain
float alpha
Definition textons.c:133
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.