Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
viewvideo_nps.c
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2013
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, write to
18  * the Free Software Foundation, 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
27 // Own header
28 #include "viewvideo.h"
29 
30 // Initialize the viewvideo structure with the defaults
33  .downsize_factor = 1,
34  .quality_factor = 99,
35 };
36 
37 // All dummy functions
38 void viewvideo_init(void) {}
39 void viewvideo_periodic(void) {}
40 void viewvideo_start(void) {}
41 void viewvideo_stop(void) {}
42 void viewvideo_take_shot(bool_t take __attribute__((unused))) {}
void viewvideo_init(void)
Initialize the view video.
Definition: viewvideo_nps.c:38
struct viewvideo_t viewvideo
Dummy C implementation for simulation The V4L2 could also work in simulation, but must be adapted a b...
Definition: viewvideo_nps.c:31
volatile bool_t is_streaming
When the device is streaming.
Definition: viewvideo.h:39
#define FALSE
Definition: std.h:5
void viewvideo_start(void)
Definition: viewvideo_nps.c:40
void viewvideo_stop(void)
Definition: viewvideo_nps.c:41
void viewvideo_take_shot(bool_t take)
Definition: viewvideo_nps.c:42
void viewvideo_periodic(void)
Definition: viewvideo_nps.c:39
Get live images from a RTP/UDP stream and save pictures on internal memory.