Searched refs:alaw (Results 1 – 3 of 3) sorted by relevance
314 static __inline int16_t alaw_to_linear(uint8_t alaw) { in alaw_to_linear() argument318 alaw ^= ALAW_AMI_MASK; in alaw_to_linear()319 i = ((alaw & 0x0F) << 4); in alaw_to_linear()320 seg = (((int) alaw & 0x70) >> 4); in alaw_to_linear()325 return (int16_t)((alaw & 0x80) ? i : -i); in alaw_to_linear()332 uint8_t alaw_to_ulaw(uint8_t alaw);
71 uint8_t alaw_to_ulaw(uint8_t alaw) { return alaw_to_ulaw_table[alaw]; } in alaw_to_ulaw() argument
108 struct vpfe_ccdc_a_law alaw; member