|
CVD 0.8
|
A live video buffer from a the framegrabber (using the Video for Linux 2 API). More...
#include <v4l2buffer.h>
Public Member Functions | |
| V4L2Buffer_Base (const char *devname, bool fields, V4L2BufferBlockMethod block, int input, int numbufs, unsigned long int pixtpe) | |
| ImageRef | size () |
| V4L2FrameT< unsigned char > * | get_frame () |
| void | put_frame (VideoFrame< unsigned char > *f) |
| void | put_frame (V4L2FrameT< unsigned char > *f) |
| bool | frame_pending () |
| double | frame_rate () |
A live video buffer from a the framegrabber (using the Video for Linux 2 API).
This provides 8-bit greyscale video frames of type CVD::V4L2Frame and throws exceptions of type CVD::Exceptions::V4L2Buffer
Definition at line 96 of file v4l2buffer.h.
| CVD::V4L2Buffer_Base::V4L2Buffer_Base | ( | const char * | devname, |
| bool | fields, | ||
| V4L2BufferBlockMethod | block, | ||
| int | input, | ||
| int | numbufs, | ||
| unsigned long int | pixtpe | ||
| ) |
Construct a video buffer.
| devname | The device name |
| fields | |
| block | Which buffer block method to use |
| input | Which card input? |
| numbufs | How many buffers? |
1.7.4