aboutsummaryrefslogtreecommitdiff
path: root/Src/replicant/nsmp3dec/crc16.h
blob: a8deb38ee3c80717aa096ebfbaca8825746b9699 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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