www.pudn.com > p1.rar > ProcessAVI.h


//--------------------------------------------------------------------------- 
 
#ifndef ProcessAVIH 
#define ProcessAVIH 
//--------------------------------------------------------------------------- 
#include  
#include  
#include  
#include  
 
#include  
#include  
//--------------------------------------------------------------------------- 
class TForm2 : public TForm 
{ 
__published:	// IDE-managed Components 
private:	// User declarations 
public:		// User declarations 
        __fastcall TForm2(TComponent* Owner); 
        __fastcall ~TForm2(); 
public: 
    int cx,cy,clength,cdim; 
    BYTE *pimagebuf; 
    BITMAPINFO *pbitmapinfo; 
    IAVIStream *pavistream; 
    PAVIFILE pfile; 
    AVISTREAMINFO streaminfo; 
    AVIFILEINFO *pfileinfo;   //注意还有AVISTREAMINFO结构 
 
    BOOL AviRead(int mFrame); 
    void AviCreate(AnsiString &string); 
    BOOL AviFileSave(AnsiString openfile, AnsiString savefile); 
    void ImageProcess(PUCHAR SourceImage,PUCHAR ResultImage,int w,int h); 
 
}; 
//--------------------------------------------------------------------------- 
extern PACKAGE TForm2 *Form2; 
//--------------------------------------------------------------------------- 
#endif