|
Firmware
|
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. | |
| 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.
1.8.12