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.

29 lines
555 B

  1. // Copyright (C) 1996 Microsoft Corporation. All Rights Reserved.
  2. //
  3. // MODULE: mpegcrc.h
  4. //
  5. // PURPOSE: header file for a very fast CRC, all in MSB format.
  6. //
  7. // FUNCTIONS:
  8. //
  9. // COMMENTS:
  10. // This was written by Stephen Dennis, and it's very very quick.
  11. //
  12. //
  13. #ifndef __bridge_mpegcrc_h
  14. #define __bridge_mpegcrc_h
  15. #ifndef EXTERN_C
  16. #ifdef __cplusplus
  17. #define EXTERN_C extern "C"
  18. #else
  19. #define EXTERN_C
  20. #endif
  21. #endif
  22. #define MPEG_CRC_START_VALUE 0xFFFFFFFFUL
  23. EXTERN_C void MpegCrcUpdate (ULONG * crc, UINT length, UCHAR * data);
  24. #endif