Searched refs:twos_complement (Results 1 – 2 of 2) sorted by relevance
76 static void twos_complement(unsigned char *dst, const unsigned char *src, in twos_complement() function142 twos_complement(p, b, blen, pb); in i2c_ibuf()202 twos_complement(b, p, plen, neg ? 0xffU : 0); in c2i_ibuf()
251 const int twos_complement = -sign_mask; in cfhd_encode_init() local321 int value = (i & sign_mask) ? twos_complement + (i & mag_mask): i; in cfhd_encode_init()