Paparazzi UAS  v5.15_devel-47-g0391b4d
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


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


struct viewvideo_t viewvideo

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 is_streaming When the device is streaming.
uint8_t quality_factor Quality factor during the stream.
bool use_rtp Stream over RTP.

Function Documentation

void viewvideo_init ( void  )

Initialize the view video.

Definition at line 218 of file viewvideo.c.

References cv_add_to_device_async(), viewvideo_t::downsize_factor, viewvideo_t::is_streaming, viewvideo_t::quality_factor, udp_socket_create(), video_sock1, video_sock2, viewvideo, VIEWVIDEO_FPS, and VIEWVIDEO_NICE_LEVEL.

+ Here is the call graph for this function:

Variable Documentation

struct viewvideo_t viewvideo

Definition at line 100 of file viewvideo.c.

Referenced by viewvideo_function(), and viewvideo_init().