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.c148 UWORD16 *crc_reg, UWORD8 feed) { in ixheaacd_adts_crc_fast_crc() argument
149 *crc_reg = in ixheaacd_adts_crc_fast_crc()
150 (*crc_reg << 8) ^ ptr_adts_crc_info->crc_lookup[(*crc_reg >> 8) ^ feed]; in ixheaacd_adts_crc_fast_crc()
153 VOID ixheaacd_adts_crc_slow_crc(UWORD16 *crc_reg, UWORD8 feed, in ixheaacd_adts_crc_slow_crc() argument
159 tmp ^= (*crc_reg & (1 << 15)) >> 15; in ixheaacd_adts_crc_slow_crc()
161 *crc_reg <<= 1; in ixheaacd_adts_crc_slow_crc()
162 *crc_reg ^= tmp; in ixheaacd_adts_crc_slow_crc()
Dixheaacd_aacdecoder.c125 WORD32 crc_reg = 0; in ixheaacd_aacdec_decodeframe() local
400 crc_reg = ixheaacd_adts_crc_start_reg(ptr_adts_crc_info, it_bit_buff, in ixheaacd_aacdec_decodeframe()
461 ixheaacd_adts_crc_end_reg(ptr_adts_crc_info, it_bit_buff, crc_reg); in ixheaacd_aacdec_decodeframe()
547 crc_reg = ixheaacd_adts_crc_start_reg(ptr_adts_crc_info, it_bit_buff, 0); in ixheaacd_aacdec_decodeframe()
617 ixheaacd_adts_crc_end_reg(ptr_adts_crc_info, it_bit_buff, crc_reg); in ixheaacd_aacdec_decodeframe()
621 if (ptr_adts_crc_info->str_crc_reg_data[crc_reg].bit_buf_cnt) { in ixheaacd_aacdec_decodeframe()
622 ptr_adts_crc_info->str_crc_reg_data[crc_reg].max_bits = in ixheaacd_aacdec_decodeframe()
623 ptr_adts_crc_info->str_crc_reg_data[crc_reg].bit_buf_cnt; in ixheaacd_aacdec_decodeframe()
660 crc_reg = ixheaacd_adts_crc_start_reg(ptr_adts_crc_info, it_bit_buff, in ixheaacd_aacdec_decodeframe()
740 ixheaacd_adts_crc_end_reg(ptr_adts_crc_info, it_bit_buff, 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.c487 WORD32 crc_reg = 0; in ixheaacd_individual_ch_stream() local
497 crc_reg = in ixheaacd_individual_ch_stream()
558 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