Home
last modified time | relevance | path

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

/external/flac/libFLAC/
Dbitreader.c97 case 0: crc = FLAC__CRC16_UPDATE((unsigned)(word >> 24), crc); in crc16_update_word_()
98 case 8: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 16) & 0xff), crc); in crc16_update_word_()
99 case 16: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 8) & 0xff), crc); in crc16_update_word_()
100 case 24: br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)(word & 0xff), crc); in crc16_update_word_()
104 case 0: crc = FLAC__CRC16_UPDATE((unsigned)(word >> 56), crc); in crc16_update_word_()
105 case 8: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 48) & 0xff), crc); in crc16_update_word_()
106 case 16: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 40) & 0xff), crc); in crc16_update_word_()
107 case 24: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 32) & 0xff), crc); in crc16_update_word_()
108 case 32: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 24) & 0xff), crc); in crc16_update_word_()
109 case 40: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 16) & 0xff), crc); in crc16_update_word_()
[all …]
Dstream_decoder.c2040 frame_crc = FLAC__CRC16_UPDATE(decoder->private_->header_warmup[0], frame_crc); in read_frame_()
2041 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…