Wavelet and Image class library  1.3.2
VideoFile.hh
Go to the documentation of this file.
00001 /*
00002  * class VideoFile
00003  *
00004  * $Date$
00005  * $Revision$
00006  *
00007  */
00008 
00009 #ifndef VIDEO_FILE_HH__
00010 #define VIDEO_FILE_HH__
00011 
00012 #include "WImage/VideoArray.hh"
00013 #include "WImage/miscdefs.h"
00014 
00023 /*abstract*/
00024 class 
00025 VideoFile
00026 {
00027 public:
00028   
00038   VideoFile (char const *name, VideoArray < coeff > *arrays[], int channels,
00039              int frames);
00040   
00042   virtual ~VideoFile (void);
00043 
00046   inline clrmodel colormodel (void) { return m_cmodel; }
00049   inline void colormodel (clrmodel cm) { m_cmodel = cm; }
00050 
00053   inline int channels (void) const { return m_channels; }
00054 
00057   inline int frames (void) const { return m_frames; }
00058 
00061   inline clrmodel colormodel (void) const { return m_cmodel; }
00062 
00063 protected:
00064 
00066   VideoArray < coeff > **m_arrays;
00068   int m_channels;
00070   char const * m_fname;
00072   clrmodel m_cmodel;
00074   int m_frames;
00075   
00077   void init (VideoArray < coeff > *videos[]);
00078 }; /* class VideoFile */
00079 
00082 #endif /* VIDEO_FILE_HH__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines