|
Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include "modules/computer_vision/video_capture.h"#include "modules/computer_vision/cv.h"#include "lib/encoding/jpeg.h"
Include dependency graph for video_capture.c:Go to the source code of this file.
Macros | |
| #define | VIDEO_CAPTURE_PATH /data/video/images |
| #define | VIDEO_CAPTURE_JPEG_QUALITY 99 |
Functions | |
| struct image_t * | video_capture_func (struct image_t *img) |
| void | video_capture_save (struct image_t *img) |
| void | video_capture_init (void) |
| void | video_capture_shoot (void) |
Variables | |
| bool | video_capture_take_shot = false |
| int | video_capture_index = 0 |
| #define VIDEO_CAPTURE_JPEG_QUALITY 99 |
Definition at line 40 of file video_capture.c.
Referenced by video_capture_save().
| #define VIDEO_CAPTURE_PATH /data/video/images |
Definition at line 36 of file video_capture.c.
Referenced by video_capture_init(), and video_capture_save().
Definition at line 67 of file video_capture.c.
References video_capture_save(), and video_capture_take_shot.
Referenced by video_capture_init().
Here is the call graph for this function:
Here is the caller graph for this function:| void video_capture_init | ( | void | ) |
Definition at line 52 of file video_capture.c.
References cv_add_to_device(), video_capture_func(), and VIDEO_CAPTURE_PATH.
Here is the call graph for this function:| void video_capture_save | ( | struct image_t * | img | ) |
Definition at line 87 of file video_capture.c.
References image_t::buf, image_t::buf_size, image_t::h, image_create(), image_free(), IMAGE_JPEG, jpeg_encode_image(), video_capture_index, VIDEO_CAPTURE_JPEG_QUALITY, VIDEO_CAPTURE_PATH, and image_t::w.
Referenced by video_capture_func().
Here is the call graph for this function:
Here is the caller graph for this function:| void video_capture_shoot | ( | void | ) |
Definition at line 80 of file video_capture.c.
References video_capture_take_shot.
Referenced by dc_send_command().
Here is the caller graph for this function:| int video_capture_index = 0 |
Definition at line 45 of file video_capture.c.
Referenced by video_capture_save().
| bool video_capture_take_shot = false |
Definition at line 44 of file video_capture.c.
Referenced by video_capture_func(), and video_capture_shoot().