26 #ifndef VIDEO_DEVICE_H
27 #define VIDEO_DEVICE_H
34 #define VIDEO_FILTER_DEBAYER (0x1 << 0)
35 #define VIDEO_FILTER_ISP (0x1 << 1)
Image helper functions like resizing, color filter, converters...
float focal_y
focal length in the y-direction in pixels
float center_x
center image coordinate in the x-direction
struct video_thread_t thread
Information about the thread this camera is running on.
char * subdev_name
path to sub device
uint8_t filters
filters to use (bitfield with VIDEO_FILTER_x)
uint32_t format
Video format.
float focal_x
focal length in the x-direction in pixels
volatile bool is_running
When the device is running.
struct camera_intrinsics_t camera_intrinsics
Intrinsics of the camera; camera calibration parameters and distortion parameter(s)
float Dhane_k
(un)distortion parameter for a fish-eye lens
uint32_t subdev_format
Subdevice video format.
float center_y
center image coordinate in the y-direction
struct crop_t crop
Cropped area definition.
uint8_t buf_cnt
Amount of V4L2 video device buffers.
struct video_listener * cv_listener
The first computer vision listener in the linked list for this video device.
struct img_size_t output_size
Output image size.
char * dev_name
path to device
struct v4l2_device * dev
The V4L2 device that is used for the video stream.
struct img_size_t sensor_size
Original sensor size.
struct video_config_t dummy_camera
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.