00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef IVideoReaderControler_h
00011 #define IVideoReaderControler_h
00012
00013 #include <streams.h>
00014
00015
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
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