// flags for lFlags in codec capability #define AM_DVDEC_Full 0x00000001 #define AM_DVDEC_Half 0x00000002 #define AM_DVDEC_Quarter 0x00000004 #define AM_DVDEC_DC 0x00000008 #define AM_DVDEC_NTSC 0x00000010 #define AM_DVDEC_PAL 0x00000020 #define AM_DVDEC_YUY2 0x00000040 #define AM_DVDEC_UYVY 0x00000080 #define AM_DVDEC_RGB24 0x00000100 #define AM_DVDEC_RGB565 0x00000200 #define AM_DVDEC_RGB555 0x00000400 #define AM_DVDEC_RGB8 0x00000800 #define AM_DVDEC_Y41P 0x00001000 #define AM_DVDEC_DVSD 0x00002000 #define AM_DVDEC_DVHD 0x00004000 #define AM_DVDEC_DVSL 0x00008000 #define AM_DVDEC_DV 0x00010000 #define AM_DVDEC_DVCPRO 0x00020000 #define AM_DVDEC_MMX 0x01000000 typedef unsigned long DWORD; //extern "C" int __fastcall DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, char *pMem ); extern "C" int __stdcall DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, long lwidth, char *pMem); //extern "C" int __stdcall DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, char *pMem, // unsigned int iWidth, unsigned char bFlag); //extern "C" int __cdecl DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, char *pMem ); int InitMem4Decoder(char **ppMem,DWORD dwCodecReq); void TermMem4Decoder(char *pMem); DWORD GetCodecCapabilities( );