Home
last modified time | relevance | path

Searched refs:FLAC__CRC16_UPDATE (Results 1 – 3 of 3) sorted by relevance

/external/flac/libFLAC/
Dbitreader.c122 case 0: crc = FLAC__CRC16_UPDATE((unsigned)(word >> 24), crc); in crc16_update_word_()
123 case 8: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 16) & 0xff), crc); in crc16_update_word_()
124 case 16: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 8) & 0xff), crc); in crc16_update_word_()
125 case 24: br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)(word & 0xff), crc); in crc16_update_word_()
129 case 0: crc = FLAC__CRC16_UPDATE((unsigned)(word >> 56), crc); in crc16_update_word_()
130 case 8: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 48) & 0xff), crc); in crc16_update_word_()
131 case 16: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 40) & 0xff), crc); in crc16_update_word_()
132 case 24: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 32) & 0xff), crc); in crc16_update_word_()
133 case 32: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 24) & 0xff), crc); in crc16_update_word_()
134 case 40: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 16) & 0xff), crc); in crc16_update_word_()
[all …]
Dstream_decoder.c2027 frame_crc = FLAC__CRC16_UPDATE(decoder->private_->header_warmup[0], frame_crc); in read_frame_()
2028 frame_crc = FLAC__CRC16_UPDATE(decoder->private_->header_warmup[1], frame_crc); in read_frame_()
/external/flac/libFLAC/include/private/
Dcrc.h54 #define FLAC__CRC16_UPDATE(data, crc) ((((crc)<<8) & 0xffff) ^ FLAC__crc16_table[((crc)>>8) ^ (data… macro
57 #define FLAC__CRC16_UPDATE(data, crc) ((((crc)<<8) ^ FLAC__crc16_table[((crc)>>8) ^ (data)]) & 0xff…