Home
last modified time | relevance | path

Searched refs:frame_crc (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_hdlc/py/pw_hdlc/
Ddecode.py99 frame_crc = int.from_bytes(frame_data[-4:], 'little')
100 if zlib.crc32(frame_data[:-4]) != frame_crc:
/external/flac/src/libFLAC/
Dstream_decoder.c2021 uint32_t frame_crc; /* the one we calculate from the input stream */ in read_frame_() local
2027 frame_crc = 0; in read_frame_()
2028 frame_crc = FLAC__CRC16_UPDATE(decoder->private_->header_warmup[0], frame_crc); in read_frame_()
2029 frame_crc = FLAC__CRC16_UPDATE(decoder->private_->header_warmup[1], frame_crc); in read_frame_()
2030 FLAC__bitreader_reset_read_crc16(decoder->private_->input, (FLAC__uint16)frame_crc); in read_frame_()
2081 frame_crc = FLAC__bitreader_get_read_crc16(decoder->private_->input); in read_frame_()
2084 if(frame_crc == x) { in read_frame_()