libcvd
|
This is just like ColourspaceBuffer, except it deleted the videobuffer on destruction. More...
#include <colourspacebuffer.h>
Public Member Functions | |
ColourspaceBuffer_managed (CVD::VideoBuffer< From > *buf) | |
Construct a ColourspaceBuffer by wrapping it around another VideoBuffer. More... | |
![]() | |
ColourspaceBuffer (CVD::VideoBuffer< From > &buf) | |
Construct a ColourspaceBuffer by wrapping it around another VideoBuffer. More... | |
virtual RawVideoBuffer * | source_buffer () |
Which video grabber provides the source images for this video grabber. More... | |
ImageRef | size () |
The size of the VideoFrames returns by this buffer. | |
virtual bool | frame_pending () |
Is there a frame waiting in the buffer? This function does not block. More... | |
virtual void | seek_to (double t) |
Go to a particular point in the video buffer (only implemented in buffers of recorded video) More... | |
virtual double | frame_rate () |
What is the (expected) frame rate of this video buffer, in frames per second? | |
virtual CVD::ColourspaceFrame< T > * | get_frame () |
Returns the next frame from the buffer. This function blocks until a frame is ready. | |
virtual void | put_frame (CVD::VideoFrame< T > *f) |
Tell the buffer that you are finished with this frame. More... | |
![]() | |
LocalVideoBuffer (typename VideoBufferType::Type t) | |
![]() | |
VideoBuffer (VideoBufferType::Type _type) | |
Construct the buffer with the known semantics. | |
virtual void | flush () |
Flush all old frames out of the video buffer, on a flushable buffer, causing the next get_frame() to sleep until a frame arrives. More... | |
VideoBufferType::Type | type () |
Returns the type of the video stream. More... | |
![]() | |
RawVideoBuffer * | root_buffer () |
Follow the chain of video grabbers back as far as at will go. More... | |
This is just like ColourspaceBuffer, except it deleted the videobuffer on destruction.
|
inline |
Construct a ColourspaceBuffer by wrapping it around another VideoBuffer.
buf | The buffer that will provide the raw frames |