IVideoInfo.h
Go to the documentation of this file.
1 #ifndef imm_IVideoInfo_included
2 #define imm_IVideoInfo_included
3 
4 
5 #include <istd/IPolymorphic.h>
6 #include <istd/CIndex2d.h>
7 
8 #include <imm/imm.h>
9 
10 
11 namespace imm
12 {
13 
14 
15 class IVideoInfo: virtual public istd::IPolymorphic
16 {
17 public:
21  virtual int GetFramesCount() const = 0;
22 
27  virtual double GetFrameIntervall() const = 0;
28 
33  virtual istd::CIndex2d GetFrameSize() const = 0;
34 
40  virtual double GetPixelAspectRatio() const = 0;
41 };
42 
43 
44 } // namespace imm
45 
46 
47 #endif // !imm_IVideoInfo_included
48 
49 
virtual istd::CIndex2d GetFrameSize() const =0
Return size in pixels of single frame.
virtual int GetFramesCount() const =0
Return length of video in seconds.
virtual double GetPixelAspectRatio() const =0
Get frame aspect ratio.
virtual double GetFrameIntervall() const =0
Return time difference between frames.

© 2007-2017 Witold Gantzke and Kirill Lepskiy