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.c134 UWORD16 *crc_reg, UWORD8 feed) { in ixheaacd_adts_crc_fast_crc() argument
135 *crc_reg = in ixheaacd_adts_crc_fast_crc()
136 (*crc_reg << 8) ^ ptr_adts_crc_info->crc_lookup[(*crc_reg >> 8) ^ feed]; in ixheaacd_adts_crc_fast_crc()
139 VOID ixheaacd_adts_crc_slow_crc(UWORD16 *crc_reg, UWORD8 feed, in ixheaacd_adts_crc_slow_crc() argument
145 tmp ^= (*crc_reg & (1 << 15)) >> 15; in ixheaacd_adts_crc_slow_crc()
147 *crc_reg <<= 1; in ixheaacd_adts_crc_slow_crc()
148 *crc_reg ^= tmp; in ixheaacd_adts_crc_slow_crc()
Dixheaacd_aacdecoder.c115 WORD32 crc_reg = 0; in ixheaacd_aacdec_decodeframe() local
352 crc_reg = ixheaacd_adts_crc_start_reg( in ixheaacd_aacdec_decodeframe()
411 crc_reg); in ixheaacd_aacdec_decodeframe()
491 crc_reg = in ixheaacd_aacdec_decodeframe()
553 ixheaacd_adts_crc_end_reg(ptr_adts_crc_info, it_bit_buff, crc_reg); in ixheaacd_aacdec_decodeframe()
557 if (ptr_adts_crc_info->str_crc_reg_data[crc_reg].bit_buf_cnt) { in ixheaacd_aacdec_decodeframe()
558 ptr_adts_crc_info->str_crc_reg_data[crc_reg].max_bits = in ixheaacd_aacdec_decodeframe()
559 ptr_adts_crc_info->str_crc_reg_data[crc_reg].bit_buf_cnt; in ixheaacd_aacdec_decodeframe()
598 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()
354 ixheaacd_adts_crc_end_reg(ptr_adts_crc_info, it_bit_buff, crc_reg); in ixheaacd_adtsframe()
Dixheaacd_channel.c468 WORD32 crc_reg = 0; in ixheaacd_individual_ch_stream() local
478 crc_reg = in ixheaacd_individual_ch_stream()
539 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.s463 MOV r14,#0 @ r14= crc_reg = 0
481 EOR r2, r2, r14,LSR #24 @ r2 = (crc_reg>>24)^data[j]
482 LDR r2, [r5, r2, LSL #2] @ r2 = crc_lkp[(crc_reg>>24)^data[j]]
485 EOR r14,r2, r14,LSL #8 @ r14= crc_reg = (crc_reg<<8)^r2