10 #ifndef CVD_VIDEOFRAME_H 11 #define CVD_VIDEOFRAME_H 13 #include <cvd/image.h> 18 namespace VideoFrameFlags
43 VideoFrame(
double t, T* data,
const ImageRef& size, VideoFrameFlags::FieldType f = VideoFrameFlags::Unknown)
67 VideoFrameFlags::FieldType field()
const 78 VideoFrameFlags::FieldType my_field;
double my_timestamp
Type of field in this frame.
Definition: videoframe.h:79
virtual ~VideoFrame()
We don't usually delete video frames. Some special destruction is usually needed. ...
Definition: videoframe.h:74
All classes and functions are within the CVD namespace.
Definition: argb.h:6
double timestamp() const
What is the time (since boot) of this frame?
Definition: videoframe.h:62
Definition: image_ref.h:29
A generic image class to manage a block of arbitrarily padded data as an image.
Definition: image.h:273
A frame from a VideoBuffer.
Definition: videoframe.h:35
Unknown image type (can be returned by string_to_image_type.
Definition: image_io.h:40
VideoFrame(double t, const BasicImage< T > &im, VideoFrameFlags::FieldType f=VideoFrameFlags::Unknown)
(Used internally) Construct a VideoFrame from a BasicImage
Definition: videoframe.h:54
VideoFrame(double t, T *data, const ImageRef &size, VideoFrameFlags::FieldType f=VideoFrameFlags::Unknown)
(Used internally) Construct a VideoFrame around a block of memory.
Definition: videoframe.h:43