libcvd
videofilebuffer_frame.h
1 #ifndef CVD_VIDEOFILEBUFFER_FRAME_H
2 #define CVD_VIDEOFILEBUFFER_FRAME_H
3 
4 #include <cvd/byte.h>
5 #include <cvd/localvideoframe.h>
6 #include <cvd/rgb.h>
7 #include <utility>
8 
9 struct AVCodecContext;
10 
11 namespace CVD
12 {
13 namespace VFB
14 {
15  class RawVideoFileBufferPIMPL;
16 }
17 
22 template <class T>
24 {
25  friend class VFB::RawVideoFileBufferPIMPL;
26 
27  public:
28  inline void delete_self() { delete this; }
29 
30  protected:
32  {
33  }
34 
38  VideoFileFrame(double time, CVD::Image<T>&& local)
39  : LocalVideoFrame<T>(time, std::move(local))
40  {
41  }
42 
43  private:
44 };
45 }
46 
47 #endif
A frame from a VideoFileBuffer.
Definition: videofilebuffer_frame.h:23
All classes and functions are within the CVD namespace.
Definition: argb.h:6
VideoFileFrame(double time, CVD::Image< T > &&local)
Construct a video frame from an Image and a timestamp.
Definition: videofilebuffer_frame.h:38
Definition: videofilebuffer2.cc:203
A full image which manages its own data.
Definition: image.h:623
A frame from a LocalVideoBuffer, which manages its own data rather than wrapping data owned by the sy...
Definition: localvideoframe.h:30