Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

IVideoReaderControler.h

00001 
00002 /*
00003  *  Copyright (c) 2000, University of Amsterdam, The Netherlands.
00004  *  All rights reserved.
00005  *
00006  *  Author(s):
00007  *  Marc Navarro            (mnavarro@wins.uva.nl)
00008  */
00009 
00010 #ifndef IVideoReaderControler_h
00011 #define IVideoReaderControler_h
00012 
00013 #include <streams.h>
00014 
00015 // Take a look at basetyps.h to know how to do this in C
00016 
00017 extern "C" {
00018 struct IVideoReaderControler : public IUnknown
00019 {
00020     virtual HRESULT __stdcall SetFrameCapacity(int nun) = 0;
00021     virtual HRESULT __stdcall GetFrameCapacity(int *nun) = 0;
00022 
00023     virtual HRESULT __stdcall SetFilterGraph(IFilterGraph* iGraph) = 0;
00024 
00025     virtual HRESULT __stdcall GetLength(int *num) = 0;
00026     virtual HRESULT __stdcall GetFrame(int nFrame, BYTE **data) = 0;
00027     virtual HRESULT __stdcall GetFrameWidth(int *width) = 0;
00028     virtual HRESULT __stdcall GetFrameHeight(int *height) = 0;
00029 
00030     //Methods called from IGetFrame
00031     virtual HRESULT __stdcall NextData(BYTE *data) = 0;
00032     virtual HRESULT __stdcall SetDataSizes(int width, int height) = 0;
00033 };
00034 
00035 }
00036 
00037 #endif // IVideoReaderControler_h

Generated on Tue Jan 8 13:59:18 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001