Paparazzi UAS  v5.15_devel-99-g2ff7410
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
viewvideo.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2014 The Paparazzi Community
3  * 2015 Freek van Tienen <freek.v.tienen@gmail.com>
4  *
5  * This file is part of Paparazzi.
6  *
7  * Paparazzi is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * Paparazzi is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with paparazzi; see the file COPYING. If not, see
19  * <http://www.gnu.org/licenses/>.
20  *
21  */
22 
32 #ifndef VIEW_VIDEO_H
33 #define VIEW_VIDEO_H
34 
35 #include "std.h"
36 
37 // Main viewvideo structure
38 struct viewvideo_t {
39  volatile bool is_streaming;
42  bool use_rtp;
43 };
44 extern struct viewvideo_t viewvideo;
45 
46 // Module functions
47 extern void viewvideo_init(void);
48 
49 #endif /* VIEW_VIDEO_H */
50 
bool use_rtp
Stream over RTP.
Definition: viewvideo.h:42
void viewvideo_init(void)
Initialize the view video.
Definition: viewvideo.c:218
uint8_t quality_factor
Quality factor during the stream.
Definition: viewvideo.h:41
volatile bool is_streaming
When the device is streaming.
Definition: viewvideo.h:39
unsigned char uint8_t
Definition: types.h:14
uint8_t downsize_factor
Downsize factor during the stream.
Definition: viewvideo.h:40
struct viewvideo_t viewvideo
Definition: viewvideo.c:100