33 #ifndef FLAC__PRIVATE__CRC_H 34 #define FLAC__PRIVATE__CRC_H 36 #include "../FLAC/ordinals.h" 43 #define FLAC__CRC8_UPDATE(data, crc) (crc) = FLAC__crc8_table[(crc) ^ (data)]; 54 #define FLAC__CRC16_UPDATE(data, crc) ((((crc)<<8) & 0xffff) ^ FLAC__crc16_table[((crc)>>8) ^ (data)]) 57 #define FLAC__CRC16_UPDATE(data, crc) ((((crc)<<8) ^ FLAC__crc16_table[((crc)>>8) ^ (data)]) & 0xffff) GLenum GLsizei len
Definition: glext.h:7389
void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc)
Definition: crc.c:114
FLAC__uint8 FLAC__byte
Definition: ordinals.h:72
unsigned const FLAC__crc16_table[256]
Definition: crc.c:78
FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len)
Definition: crc.c:125
FLAC__byte const FLAC__crc8_table[256]
Definition: crc.c:41
unsigned FLAC__crc16(const FLAC__byte *data, unsigned len)
Definition: crc.c:135
uint8_t FLAC__uint8
Definition: ordinals.h:59
void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc)
Definition: crc.c:119