aboutsummaryrefslogtreecommitdiff
path: root/Src/replicant/nsmp3dec/crc16.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/replicant/nsmp3dec/crc16.h')
-rw-r--r--Src/replicant/nsmp3dec/crc16.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/Src/replicant/nsmp3dec/crc16.h b/Src/replicant/nsmp3dec/crc16.h
new file mode 100644
index 00000000..a8deb38e
--- /dev/null
+++ b/Src/replicant/nsmp3dec/crc16.h
@@ -0,0 +1,35 @@
+/***************************************************************************\
+ *
+* MPEG Layer3-Audio Decoder
+* © 1997-2006 by Fraunhofer IIS
+ * All Rights Reserved
+ *
+ * filename: crc16.h
+ * project : ISO/MPEG decoder
+ * author : Martin Sieler
+ * date : 1998-05-26
+ * contents/description: functions to calculate a CRC-16
+ *
+ *
+\***************************************************************************/
+
+/*
+ * $Date: 2010/11/17 20:46:02 $
+ * $Id: crc16.h,v 1.1 2010/11/17 20:46:02 audiodsp Exp $
+ */
+
+#ifndef __CRC16_H__
+#define __CRC16_H__
+
+/* ------------------------ includes --------------------------------------*/
+
+/* ------------------------------------------------------------------------*/
+
+class CBitStream;
+
+/* ------------------------------------------------------------------------*/
+
+unsigned int CalcCrc(CBitStream &Bs, int len, unsigned int start);
+
+/*-------------------------------------------------------------------------*/
+#endif