Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
video_device.h File Reference
#include <stdbool.h>
#include <inttypes.h>
#include "modules/computer_vision/lib/vision/image.h"
+ Include dependency graph for video_device.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  video_thread_t
 
struct  video_config_t
 V4L2 device settings. More...
 

Macros

#define VIDEO_FILTER_DEBAYER   (0x1 << 0)
 Enable software debayer. More...
 
#define VIDEO_FILTER_ISP   (0x1 << 1)
 Enable ISP. More...
 

Variables

struct video_config_t dummy_camera
 

Data Structure Documentation

struct video_thread_t

Definition at line 38 of file video_device.h.

+ Collaboration diagram for video_thread_t:
Data Fields
struct v4l2_device * dev The V4L2 device that is used for the video stream.
volatile bool is_running When the device is running.
struct video_config_t

V4L2 device settings.

Definition at line 44 of file video_device.h.

+ Collaboration diagram for video_config_t:
Data Fields
uint8_t buf_cnt Amount of V4L2 video device buffers.
struct crop_t crop Cropped area definition.
struct video_listener * cv_listener The first computer vision listener in the linked list for this video device.
char * dev_name path to device
uint8_t filters filters to use (bitfield with VIDEO_FILTER_x)
uint32_t format Video format.
int fps Target FPS.
struct img_size_t output_size Output image size.
struct img_size_t sensor_size Original sensor size.
uint32_t subdev_format Subdevice video format.
char * subdev_name path to sub device
struct video_thread_t thread Information about the thread this camera is running on.

Macro Definition Documentation

#define VIDEO_FILTER_DEBAYER   (0x1 << 0)

Enable software debayer.

Definition at line 34 of file video_device.h.

Referenced by video_thread_function().

#define VIDEO_FILTER_ISP   (0x1 << 1)

Enable ISP.

Definition at line 35 of file video_device.h.

Referenced by video_thread_function().

Variable Documentation

struct video_config_t dummy_camera