Home
last modified time | relevance | path

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

/external/libhevc/encoder/
Dihevce_encode_header_sei_vui.h48 #define CALC_CRC_BIT_LEVEL(u4_crc_val, u1_cur_val, bit_idx) \ argument
51 u4_crc_msb = (u4_crc_val >> 15) & 1; \
53 u4_crc_val = (((u4_crc_val << 1) + u4_bit_val) & 0xffff) ^ (u4_crc_msb * 0x1021); \
Dihevce_encode_header_sei_vui.c2138 UWORD32 u4_crc_val = 0xffff; in ihevce_calc_CRC() local
2150 u4_crc_val, pu_buf[y * (y_strd * gt8bit_mul) + (x * gt8bit_mul)], bit_idx); in ihevce_calc_CRC()
2158 u4_crc_val, in ihevce_calc_CRC()
2168 UWORD32 u4_crc_msb = (u4_crc_val >> 15) & 1; in ihevce_calc_CRC()
2169 u4_crc_val = ((u4_crc_val << 1) & 0xffff) ^ (u4_crc_msb * 0x1021); in ihevce_calc_CRC()
2172 ps_hash_sei_params->au1_sei_hash[0][0] = (u4_crc_val >> 8) & 0xff; in ihevce_calc_CRC()
2173 ps_hash_sei_params->au1_sei_hash[0][1] = u4_crc_val & 0xff; in ihevce_calc_CRC()