crc16.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /***************************************************************************\
  2. *
  3. * MPEG Layer3-Audio Decoder
  4. * © 1997-2006 by Fraunhofer IIS
  5. * All Rights Reserved
  6. *
  7. * filename: crc16.h
  8. * project : ISO/MPEG decoder
  9. * author : Martin Sieler
  10. * date : 1998-05-26
  11. * contents/description: functions to calculate a CRC-16
  12. *
  13. *
  14. \***************************************************************************/
  15. /*
  16. * $Date: 2010/11/17 20:46:02 $
  17. * $Id: crc16.h,v 1.1 2010/11/17 20:46:02 audiodsp Exp $
  18. */
  19. #ifndef __CRC16_H__
  20. #define __CRC16_H__
  21. /* ------------------------ includes --------------------------------------*/
  22. /* ------------------------------------------------------------------------*/
  23. class CBitStream;
  24. /* ------------------------------------------------------------------------*/
  25. unsigned int CalcCrc(CBitStream &Bs, int len, unsigned int start);
  26. /*-------------------------------------------------------------------------*/
  27. #endif