Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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.

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 )
extern

Initialize the view video.

Definition at line 251 of file viewvideo.c.

References cv_add_to_device_async(), udp_socket_create(), video_sock1, video_sock2, viewvideo, VIEWVIDEO_FPS, VIEWVIDEO_NICE_LEVEL, VIEWVIDEO_SOCKET_BROADCAST, and VIEWVIDEO_SOCKET_HOST.

Here is the call graph for this function:

Variable Documentation

◆ viewvideo

struct viewvideo_t viewvideo
extern

Definition at line 117 of file viewvideo.c.

Referenced by viewvideo_function(), and viewvideo_init().