Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
viewvideo.h File Reference
#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
 

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

◆ viewvideo_t

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

◆ viewvideo_init()

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

◆ viewvideo

struct viewvideo_t viewvideo

Definition at line 100 of file viewvideo.c.

Referenced by viewvideo_function(), and viewvideo_init().