Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bebop_ae_awb.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Freek van Tienen
3  *
4  * This file is part of paparazzi
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  */
26 #ifndef BEBOP_AE_AWB_H
27 #define BEBOP_AE_AWB_H
28 
29 #include "std.h"
30 
31 struct ae_setting_t {
32  bool active;
36  float dark_ignore;
40 };
41 extern struct ae_setting_t ae_set;
42 
43 struct awb_setting_t {
44  bool active;
46  float gain;
51 };
52 extern struct awb_setting_t awb_set;
53 
54 extern void bebop_ae_awb_init(void);
55 
56 #endif
57 
float dark_ignore
Definition: bebop_ae_awb.h:36
uint8_t dark_bins
Definition: bebop_ae_awb.h:38
float gain_scheduling_step
Definition: bebop_ae_awb.h:50
void bebop_ae_awb_init(void)
Definition: bebop_ae_awb.c:357
uint8_t middle_index
Definition: bebop_ae_awb.h:37
struct awb_setting_t awb_set
Definition: bebop_ae_awb.c:152
float gain_scheduling_tolerance
Definition: bebop_ae_awb.h:49
bool gain_scheduling
Definition: bebop_ae_awb.h:47
bool prev_active
Definition: bebop_ae_awb.h:33
struct ae_setting_t ae_set
Definition: bebop_ae_awb.c:151
float gain_scheduling_target
Definition: bebop_ae_awb.h:48
unsigned char uint8_t
Definition: types.h:14
float exposure_gain
Definition: bebop_ae_awb.h:34
float bright_ignore
Definition: bebop_ae_awb.h:35
uint8_t bright_bins
Definition: bebop_ae_awb.h:39