Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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 
ae_setting_t::middle_index
uint8_t middle_index
Definition: bebop_ae_awb.h:37
awb_setting_t::gain_scheduling_tolerance
float gain_scheduling_tolerance
Definition: bebop_ae_awb.h:49
awb_setting_t::active
bool active
Definition: bebop_ae_awb.h:44
ae_setting_t::active
bool active
Definition: bebop_ae_awb.h:32
ae_set
struct ae_setting_t ae_set
Definition: bebop_ae_awb.c:146
awb_setting_t::gain_scheduling_step
float gain_scheduling_step
Definition: bebop_ae_awb.h:50
awb_setting_t::gain_scheduling
bool gain_scheduling
Definition: bebop_ae_awb.h:47
awb_set
struct awb_setting_t awb_set
Definition: bebop_ae_awb.c:147
ae_setting_t
Definition: bebop_ae_awb.h:31
std.h
ae_setting_t::prev_active
bool prev_active
Definition: bebop_ae_awb.h:33
uint8_t
unsigned char uint8_t
Definition: types.h:14
ae_setting_t::exposure_gain
float exposure_gain
Definition: bebop_ae_awb.h:34
awb_setting_t
Definition: bebop_ae_awb.h:43
ae_setting_t::bright_bins
uint8_t bright_bins
Definition: bebop_ae_awb.h:39
awb_setting_t::gain
float gain
Definition: bebop_ae_awb.h:46
ae_setting_t::bright_ignore
float bright_ignore
Definition: bebop_ae_awb.h:35
ae_setting_t::dark_bins
uint8_t dark_bins
Definition: bebop_ae_awb.h:38
ae_setting_t::dark_ignore
float dark_ignore
Definition: bebop_ae_awb.h:36
awb_setting_t::prev_active
bool prev_active
Definition: bebop_ae_awb.h:45
bebop_ae_awb_init
void bebop_ae_awb_init(void)
Definition: bebop_ae_awb.c:336
awb_setting_t::gain_scheduling_target
float gain_scheduling_target
Definition: bebop_ae_awb.h:48