Definition at line 147 of file v4l2buffer.h.
Public Member Functions | |
V4L2BufferT (const char *devname, bool fields, V4L2BufferBlockMethod block, int input=1, int numbufs=V4L2BUFFERS) | |
virtual ImageRef | size () |
virtual VideoFrame< T > * | get_frame () |
virtual void | put_frame (VideoFrame< T > *f) |
virtual bool | frame_pending () |
virtual double | frame_rate () |
virtual ImageRef CVD::V4L2BufferT< T >::size | ( | ) | [inline, virtual] |
The size of the VideoFrames returned by this buffer.
Implements CVD::VideoBuffer< T >.
Definition at line 155 of file v4l2buffer.h.
References CVD::V4L2Buffer_Base::size().
virtual VideoFrame<T>* CVD::V4L2BufferT< T >::get_frame | ( | ) | [inline, virtual] |
Returns the next frame from the buffer. This function blocks until a frame is ready.
Implements CVD::VideoBuffer< T >.
Definition at line 160 of file v4l2buffer.h.
virtual void CVD::V4L2BufferT< T >::put_frame | ( | VideoFrame< T > * | f | ) | [inline, virtual] |
Tell the buffer that you are finished with this frame. Overloaded version of VideoBuffer<T>::put_frame().
Implements CVD::VideoBuffer< T >.
Definition at line 163 of file v4l2buffer.h.
References CVD::V4L2Buffer_Base::put_frame().
virtual bool CVD::V4L2BufferT< T >::frame_pending | ( | ) | [inline, virtual] |
Is there a frame waiting in the buffer? This function does not block.
See is_live and is_flushable.
Implements CVD::VideoBuffer< T >.
Definition at line 165 of file v4l2buffer.h.
virtual double CVD::V4L2BufferT< T >::frame_rate | ( | ) | [inline, virtual] |
What is the (expected) frame rate of this video buffer, in frames per second?
Implements CVD::VideoBuffer< T >.
Definition at line 166 of file v4l2buffer.h.
References CVD::V4L2Buffer_Base::frame_rate().