#include <v4l2buffer.h>

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.
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 () |
| 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? |
| void CVD::V4L2Buffer_Base::put_frame | ( | VideoFrame< unsigned char > * | f | ) |
Tell the buffer that you are finished with this frame. Overloaded version of VideoBuffer<T>::put_frame().
Referenced by CVD::V4L2BufferT< T >::put_frame().
| void CVD::V4L2Buffer_Base::put_frame | ( | V4L2FrameT< unsigned char > * | f | ) |
Tell the buffer that you are finished with this frame. Overloaded version of VideoBuffer<T>::put_frame().
1.5.3