Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4 KiB

  1. // flags for lFlags in codec capability
  2. #define AM_DVDEC_Full 0x00000001
  3. #define AM_DVDEC_Half 0x00000002
  4. #define AM_DVDEC_Quarter 0x00000004
  5. #define AM_DVDEC_DC 0x00000008
  6. #define AM_DVDEC_NTSC 0x00000010
  7. #define AM_DVDEC_PAL 0x00000020
  8. #define AM_DVDEC_YUY2 0x00000040
  9. #define AM_DVDEC_UYVY 0x00000080
  10. #define AM_DVDEC_RGB24 0x00000100
  11. #define AM_DVDEC_RGB565 0x00000200
  12. #define AM_DVDEC_RGB555 0x00000400
  13. #define AM_DVDEC_RGB8 0x00000800
  14. #define AM_DVDEC_Y41P 0x00001000
  15. #define AM_DVDEC_DVSD 0x00002000
  16. #define AM_DVDEC_DVHD 0x00004000
  17. #define AM_DVDEC_DVSL 0x00008000
  18. #define AM_DVDEC_DV 0x00010000
  19. #define AM_DVDEC_DVCPRO 0x00020000
  20. #define AM_DVDEC_MMX 0x01000000
  21. typedef unsigned long DWORD;
  22. //extern "C" int __fastcall DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, char *pMem );
  23. extern "C" int __stdcall DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, long lwidth, char *pMem);
  24. //extern "C" int __stdcall DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, char *pMem,
  25. // unsigned int iWidth, unsigned char bFlag);
  26. //extern "C" int __cdecl DvDecodeAFrame(unsigned char *pSrc,unsigned char *pDst, DWORD dwCodecReq, char *pMem );
  27. int InitMem4Decoder(char **ppMem,DWORD dwCodecReq);
  28. void TermMem4Decoder(char *pMem);
  29. DWORD GetCodecCapabilities( );