Home
last modified time | relevance | path

Searched refs:crc_reg (Results 1 – 7 of 7) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_adts_crc_check.c133 UWORD16 *crc_reg, UWORD8 feed) { in ixheaacd_adts_crc_fast_crc() argument
134 *crc_reg = in ixheaacd_adts_crc_fast_crc()
135 (*crc_reg << 8) ^ ptr_adts_crc_info->crc_lookup[(*crc_reg >> 8) ^ feed]; in ixheaacd_adts_crc_fast_crc()
138 VOID ixheaacd_adts_crc_slow_crc(UWORD16 *crc_reg, UWORD8 feed, in ixheaacd_adts_crc_slow_crc() argument
144 tmp ^= (*crc_reg & (1 << 15)) >> 15; in ixheaacd_adts_crc_slow_crc()
146 *crc_reg <<= 1; in ixheaacd_adts_crc_slow_crc()
147 *crc_reg ^= tmp; in ixheaacd_adts_crc_slow_crc()
Dixheaacd_aacdecoder.c112 WORD32 crc_reg = 0; in ixheaacd_aacdec_decodeframe() local
349 crc_reg = ixheaacd_adts_crc_start_reg( in ixheaacd_aacdec_decodeframe()
409 crc_reg); in ixheaacd_aacdec_decodeframe()
490 crc_reg = in ixheaacd_aacdec_decodeframe()
552 ixheaacd_adts_crc_end_reg(ptr_adts_crc_info, it_bit_buff, crc_reg); in ixheaacd_aacdec_decodeframe()
556 if (ptr_adts_crc_info->str_crc_reg_data[crc_reg].bit_buf_cnt) { in ixheaacd_aacdec_decodeframe()
557 ptr_adts_crc_info->str_crc_reg_data[crc_reg].max_bits = in ixheaacd_aacdec_decodeframe()
558 ptr_adts_crc_info->str_crc_reg_data[crc_reg].bit_buf_cnt; in ixheaacd_aacdec_decodeframe()
597 crc_reg = ixheaacd_adts_crc_start_reg( in ixheaacd_aacdec_decodeframe()
672 crc_reg); in ixheaacd_aacdec_decodeframe()
Dixheaacd_headerdecode.c320 WORD32 crc_reg; in ixheaacd_adtsframe() local
325 crc_reg = ixheaacd_adts_crc_start_reg(ptr_adts_crc_info, it_bit_buff, in ixheaacd_adtsframe()
355 ixheaacd_adts_crc_end_reg(ptr_adts_crc_info, it_bit_buff, crc_reg); in ixheaacd_adtsframe()
Dixheaacd_channel.c469 WORD32 crc_reg = 0; in ixheaacd_individual_ch_stream() local
479 crc_reg = in ixheaacd_individual_ch_stream()
540 crc_reg); in ixheaacd_individual_ch_stream()
/external/libogg/src/
Dframing.c282 ogg_uint32_t crc_reg=0; in ogg_page_checksum_set() local
292 crc_reg=(crc_reg<<8)^crc_lookup[((crc_reg >> 24)&0xff)^og->header[i]]; in ogg_page_checksum_set()
294 crc_reg=(crc_reg<<8)^crc_lookup[((crc_reg >> 24)&0xff)^og->body[i]]; in ogg_page_checksum_set()
296 og->header[22]=(unsigned char)(crc_reg&0xff); in ogg_page_checksum_set()
297 og->header[23]=(unsigned char)((crc_reg>>8)&0xff); in ogg_page_checksum_set()
298 og->header[24]=(unsigned char)((crc_reg>>16)&0xff); in ogg_page_checksum_set()
299 og->header[25]=(unsigned char)((crc_reg>>24)&0xff); in ogg_page_checksum_set()
/external/tremolo/Tremolo/
Dframing.c668 ogg_uint32_t crc_reg=0; in _checksum() local
675 crc_reg=(crc_reg<<8)^crc_lookup[((crc_reg >> 24)&0xff)^data[j]]; in _checksum()
680 return crc_reg; in _checksum()
Ddpen.s469 MOV r14,#0 @ r14= crc_reg = 0
487 EOR r2, r2, r14,LSR #24 @ r2 = (crc_reg>>24)^data[j]
488 LDR r2, [r5, r2, LSL #2] @ r2 = crc_lkp[(crc_reg>>24)^data[j]]
491 EOR r14,r2, r14,LSL #8 @ r14= crc_reg = (crc_reg<<8)^r2