Firmware
Public Member Functions | List of all members
VideoDevice Class Reference

Public Member Functions

 VideoDevice (char const *dev_name, uint32_t n_buffers)
 
int start ()
 Start the device.
 
int stop ()
 Stop the device.
 
int print_info ()
 Print various infos.
 
int get_frame (struct frame_data &frame)
 Non-blocking call to fetch an image. More...
 
int put_frame (struct frame_data &frame)
 Return a frame when the data is not needed any more.
 

Member Function Documentation

§ get_frame()

int VideoDevice::get_frame ( struct frame_data frame)

Non-blocking call to fetch an image.

Returns 0 if the images was read, -1 on error and 1 no new image is ready.


The documentation for this class was generated from the following files: