Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

oxp_vidl_moviefile.h

Go to the documentation of this file.
00001 // This is oxl/oxp/oxp_vidl_moviefile.h
00002 #ifndef oxp_vidl_moviefile_h_
00003 #define oxp_vidl_moviefile_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \author awf@robots.ox.ac.uk
00010 // Created: 08 Dec 01
00011 
00012 #include <oxp/MovieFileInterface.h>
00013 
00014 struct oxp_vidl_moviefile_privates;
00015 
00016 class oxp_vidl_moviefile : public MovieFileInterface
00017 {
00018   oxp_vidl_moviefile_privates* p;
00019  public:
00020   oxp_vidl_moviefile(char const* filename);
00021   ~oxp_vidl_moviefile();
00022 
00023   int GetLength();
00024   int GetSizeX(int);
00025   int GetSizeY(int);
00026   int GetBitsPixel();
00027   bool IsInterlaced();
00028   bool HasFrame(int);
00029   bool GetFrame(int frame_index, void* buffer);
00030   bool GetField(int field_index, void* buffer);
00031   vil1_image GetImage(int);
00032 
00033   int GetFrameOffset(int frame_index);
00034   int GetFrameSize(int frame_index);
00035 };
00036 
00037 #endif // oxp_vidl_moviefile_h_

Generated on Thu Jan 10 14:46:06 2008 for contrib/oxl/oxp by  doxygen 1.4.4