Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
video_thread_nps.c File Reference
#include "video_thread.h"
#include "cv.h"
#include "lib/vision/image.h"
+ Include dependency graph for video_thread_nps.c:

Go to the source code of this file.

Functions

void video_thread_init (void)
 Initialize the view video. More...
 
void video_thread_periodic (void)
 A dummy for now. More...
 
void video_thread_start (void)
 Starts the streaming of a all cameras. More...
 
void video_thread_stop (void)
 Stops the streaming of all cameras This could take some time, because the thread is stopped asynchronous. More...
 
void video_thread_take_shot (bool take)
 
bool add_video_device (struct video_config_t *device)
 

Variables

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

Function Documentation

bool add_video_device ( struct video_config_t device)

Definition at line 81 of file video_thread_nps.c.

Referenced by cv_add_to_device().

+ Here is the caller graph for this function:

void video_thread_init ( void  )

Initialize the view video.

Definition at line 39 of file video_thread_nps.c.

References cameras, and VIDEO_THREAD_MAX_CAMERAS.

void video_thread_periodic ( void  )

A dummy for now.

Definition at line 40 of file video_thread_nps.c.

References image_t::buf, image_t::h, image_create(), image_free(), IMAGE_YUV422, video_thread_t::is_running, p, and image_t::w.

+ Here is the call graph for this function:

void video_thread_start ( void  )

Starts the streaming of a all cameras.

Definition at line 77 of file video_thread_nps.c.

References cameras, start_video_thread(), and VIDEO_THREAD_MAX_CAMERAS.

+ Here is the call graph for this function:

void video_thread_stop ( void  )

Stops the streaming of all cameras This could take some time, because the thread is stopped asynchronous.

Definition at line 78 of file video_thread_nps.c.

References cameras, stop_video_thread(), and VIDEO_THREAD_MAX_CAMERAS.

+ Here is the call graph for this function:

void video_thread_take_shot ( bool  take)

Definition at line 79 of file video_thread_nps.c.

Variable Documentation

struct video_thread_t video_thread
Initial value:
= {
.is_running = FALSE
}
#define FALSE
Definition: std.h:5

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

Definition at line 34 of file video_thread_nps.c.