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.h File Reference

Get live images from a RTP/UDP stream and save pictures on internal memory. More...

#include "std.h"
+ Include dependency graph for viewvideo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  viewvideo_t
 

Functions

void viewvideo_init (void)
 Initialize the view video. More...
 

Variables

struct viewvideo_t viewvideo
 Dummy C implementation for simulation The V4L2 could also work in simulation, but must be adapted a bit. More...
 

Detailed Description

Get live images from a RTP/UDP stream and save pictures on internal memory.

Works on Linux platforms

Definition in file viewvideo.h.


Data Structure Documentation

struct viewvideo_t

Definition at line 38 of file viewvideo.h.

Data Fields
uint8_t downsize_factor Downsize factor during the stream.
volatile bool_t is_streaming When the device is streaming.
uint8_t quality_factor Quality factor during the stream.
bool_t use_rtp Stream over RTP.

Function Documentation

void viewvideo_init ( void  )

Initialize the view video.

Definition at line 198 of file viewvideo.c.

References cv_add(), viewvideo_t::is_streaming, TRUE, udp_socket_create(), video_sock, viewvideo, viewvideo_function(), and VIEWVIDEO_SHOT_PATH.

+ Here is the call graph for this function:

Variable Documentation

struct viewvideo_t viewvideo

Dummy C implementation for simulation The V4L2 could also work in simulation, but must be adapted a bit.

Definition at line 100 of file viewvideo.c.

Referenced by video_usb_logger_periodic(), viewvideo_function(), and viewvideo_init().