Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
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) |
Start with streaming. More... | |
void | video_thread_stop (void) |
Stops the streaming This could take some time, because the thread is stopped asynchronous. More... | |
void | video_thread_take_shot (bool_t take) |
Take a shot and save it This will only work when the streaming is enabled. More... | |
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... | |
void video_thread_init | ( | void | ) |
Initialize the view video.
Definition at line 40 of file video_thread_nps.c.
References video_config_t::buf_cnt, video_thread_t::dev, video_config_t::dev_name, video_config_t::format, video_config_t::h, video_config_t::subdev_name, v4l2_init(), v4l2_init_subdev(), VIDEO_THREAD_CAMERA, VIDEO_THREAD_SHOT_PATH, and video_config_t::w.
void video_thread_periodic | ( | void | ) |
A dummy for now.
Definition at line 41 of file video_thread_nps.c.
References image_t::buf, cv_run(), image_t::h, image_create(), image_free(), IMAGE_YUV422, video_thread_t::is_running, p, and image_t::w.
void video_thread_start | ( | void | ) |
Start with streaming.
Definition at line 75 of file video_thread_nps.c.
References video_thread_t::is_running, VIDEO_THREAD_CAMERA, and video_thread_function().
void video_thread_stop | ( | void | ) |
Stops the streaming This could take some time, because the thread is stopped asynchronous.
Definition at line 76 of file video_thread_nps.c.
References video_thread_t::dev, FALSE, video_thread_t::is_running, v4l2_device::name, and v4l2_stop_capture().
void video_thread_take_shot | ( | bool_t | take | ) |
Take a shot and save it This will only work when the streaming is enabled.
Definition at line 77 of file video_thread_nps.c.
References video_thread_t::take_shot.
struct video_thread_t video_thread |