Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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
;
40
uint8_t
downsize_factor
;
41
uint8_t
quality_factor
;
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
viewvideo_t
Definition:
viewvideo.h:38
viewvideo_t::use_rtp
bool use_rtp
Stream over RTP.
Definition:
viewvideo.h:42
std.h
uint8_t
unsigned char uint8_t
Definition:
types.h:14
viewvideo_t::quality_factor
uint8_t quality_factor
Quality factor during the stream.
Definition:
viewvideo.h:41
viewvideo_t::is_streaming
volatile bool is_streaming
When the device is streaming.
Definition:
viewvideo.h:39
viewvideo
struct viewvideo_t viewvideo
Definition:
viewvideo.c:100
viewvideo_init
void viewvideo_init(void)
Initialize the view video.
Definition:
viewvideo.c:218
viewvideo_t::downsize_factor
uint8_t downsize_factor
Downsize factor during the stream.
Definition:
viewvideo.h:40
sw
airborne
modules
computer_vision
viewvideo.h
Generated on Tue Feb 1 2022 13:51:15 for Paparazzi UAS by
1.8.17