1 #ifndef TIMEDDISKBUFFER_H 2 #define TIMEDDISKBUFFER_H 4 #include <cvd/diskbuffer2.h> 19 using CVD::Exceptions::VideoBuffer::All::All;
51 std::vector<double> file_times;
58 if(times.size() != names.size())
69 int current_frame = this->next_frame;
OnEndOfBuffer
If it is a finite buffer (a video file, for example), what should happen when the end of the buffer i...
Definition: videobufferflags.h:14
All classes and functions are within the CVD namespace.
Definition: argb.h:6
virtual CVD::DiskBuffer2Frame< T > * get_frame()
Returns the next frame from the buffer. This function blocks until a frame is ready.
Definition: timeddiskbuffer.h:67
Play a series of image files as a video stream and use a list of provided timestamps.
Definition: timeddiskbuffer.h:38
void timestamp(double time)
set the time stamp, required for TimedDiskBuffer2
Definition: diskbuffer2_frame.h:29
Continue to return the final frame when get_frame() is called (with the same timestamp) ...
Definition: videobufferflags.h:16
Play a series of image files as a video stream.
Definition: diskbuffer2.h:86
list lengths for name and time lists do not agree
Definition: timeddiskbuffer.h:23
Base class for all VideoBuffer exceptions.
Definition: videobuffer.h:153
A frame from a DiskBuffer2.
Definition: diskbuffer2_frame.h:19
Base class for all DiskBuffer2 exceptions.
Definition: timeddiskbuffer.h:17
virtual DiskBuffer2Frame< T > * get_frame()
Returns the next frame from the buffer. This function blocks until a frame is ready.
Definition: diskbuffer2.h:173
TimedDiskBuffer(const std::vector< std::string > &names, const std::vector< double > ×, CVD::VideoBufferFlags::OnEndOfBuffer eob=CVD::VideoBufferFlags::RepeatLastFrame)
Construct a TimedDiskBuffer2 from a vector of filenames and timestamps.
Definition: timeddiskbuffer.h:55