Searched refs:u_val (Results 1 – 1 of 1) sorted by relevance
120 static int ulaw2linear(unsigned char u_val) in ulaw2linear() argument125 u_val = ~u_val; in ulaw2linear()131 t = ((u_val & QUANT_MASK) << 3) + BIAS; in ulaw2linear()132 t <<= ((unsigned)u_val & SEG_MASK) >> SEG_SHIFT; in ulaw2linear()134 return ((u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS)); in ulaw2linear()