libcvd
colourspace_frame.h
1 #ifndef CVD_COLOURSPACE_FRAME_H
2 #define CVD_COLOURSPACE_FRAME_H
3 
4 #include <cvd/localvideoframe.h>
5 #include <utility>
6 
7 namespace CVD
8 {
9 //template<class To, class From> class ColourspaceBuffer;
10 
12 template <class T>
14 {
16  public:
18  {
19  }
20 
21  ColourspaceFrame(double time, CVD::Image<T>&& converted)
22  : LocalVideoFrame<T>(time, std::move(converted))
23  {
24  }
25 };
26 }
27 
28 #endif
A frame from a ColourspaceBuffer. Can be treated as a VideoFrame.
Definition: colourspace_frame.h:13
All classes and functions are within the CVD namespace.
Definition: argb.h:6
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
~ColourspaceFrame()
Allow ColourspaceBuffer to manage frames.
Definition: colourspace_frame.h:17