#include <stdbool.h>
#include <inttypes.h>
#include "modules/computer_vision/lib/vision/image.h"
Go to the source code of this file.
◆ video_thread_t
◆ camera_intrinsics_t
      
        
          | struct camera_intrinsics_t | 
      
 
Definition at line 46 of file video_device.h.
 
| Data Fields | 
|---|
| float | center_x | center image coordinate in the x-direction | 
| float | center_y | center image coordinate in the y-direction | 
| float | Dhane_k | (un)distortion parameter for a fish-eye lens | 
| float | focal_x | focal length in the x-direction in pixels | 
| float | focal_y | focal length in the y-direction in pixels | 
 
 
◆ video_config_t
V4L2 device settings. 
Definition at line 55 of file video_device.h.
| Data Fields | 
|---|
| uint8_t | buf_cnt | Amount of V4L2 video device buffers. | 
| struct camera_intrinsics_t | camera_intrinsics | Intrinsics of the camera; camera calibration parameters and distortion parameter(s) | 
| 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. | 
 
 
◆ VIDEO_FILTER_DEBAYER
      
        
          | #define VIDEO_FILTER_DEBAYER   (0x1 << 0) | 
      
 
 
◆ VIDEO_FILTER_ISP
      
        
          | #define VIDEO_FILTER_ISP   (0x1 << 1) | 
      
 
 
◆ dummy_camera