Searched refs:p_crc_calculator (Results 1 – 2 of 2) sorted by relevance
14 static void crc_calculator_process_data(CRC_CALCULATOR *p_crc_calculator, in crc_calculator_process_data() argument18 (p_crc_calculator->remainder >> (p_crc_calculator->bits - 8)) ^ in crc_calculator_process_data()20 p_crc_calculator->remainder <<= 8; in crc_calculator_process_data()21 p_crc_calculator->remainder ^= p_crc_calculator->table[index]; in crc_calculator_process_data()25 static void crc_calculator_reset(CRC_CALCULATOR *p_crc_calculator) { in crc_calculator_reset() argument26 p_crc_calculator->remainder = 0; in crc_calculator_reset()29 static uint32_t crc_calculator_get_crc(CRC_CALCULATOR *p_crc_calculator) { in crc_calculator_get_crc() argument30 return p_crc_calculator->remainder & p_crc_calculator->final_result_mask; in crc_calculator_get_crc()33 static void crc_calculator_init_table(CRC_CALCULATOR *p_crc_calculator) { in crc_calculator_init_table() argument34 const uint32_t high_bit = 1 << (p_crc_calculator->bits - 1); in crc_calculator_init_table()[all …]
33 void av1_crc_calculator_init(CRC_CALCULATOR *p_crc_calculator, uint32_t bits,