RetroArch
|
#include "../FLAC/ordinals.h"
Go to the source code of this file.
Macros | |
#define | FLAC__CRC8_UPDATE(data, crc) (crc) = FLAC__crc8_table[(crc) ^ (data)]; |
#define | FLAC__CRC16_UPDATE(data, crc) ((((crc)<<8) & 0xffff) ^ FLAC__crc16_table[((crc)>>8) ^ (data)]) |
Functions | |
void | FLAC__crc8_update (const FLAC__byte data, FLAC__uint8 *crc) |
void | FLAC__crc8_update_block (const FLAC__byte *data, unsigned len, FLAC__uint8 *crc) |
FLAC__uint8 | FLAC__crc8 (const FLAC__byte *data, unsigned len) |
unsigned | FLAC__crc16 (const FLAC__byte *data, unsigned len) |
Variables | |
FLAC__byte const | FLAC__crc8_table [256] |
unsigned const | FLAC__crc16_table [256] |
#define FLAC__CRC16_UPDATE | ( | data, | |
crc | |||
) | ((((crc)<<8) & 0xffff) ^ FLAC__crc16_table[((crc)>>8) ^ (data)]) |
#define FLAC__CRC8_UPDATE | ( | data, | |
crc | |||
) | (crc) = FLAC__crc8_table[(crc) ^ (data)]; |
unsigned FLAC__crc16 | ( | const FLAC__byte * | data, |
unsigned | len | ||
) |
FLAC__uint8 FLAC__crc8 | ( | const FLAC__byte * | data, |
unsigned | len | ||
) |
void FLAC__crc8_update | ( | const FLAC__byte | data, |
FLAC__uint8 * | crc | ||
) |
void FLAC__crc8_update_block | ( | const FLAC__byte * | data, |
unsigned | len, | ||
FLAC__uint8 * | crc | ||
) |
unsigned const FLAC__crc16_table[256] |
FLAC__byte const FLAC__crc8_table[256] |