Lines Matching full:tempval
20 uint16_t tempVal, tempVal2;
32 tempVal = (uint16_t) linear_to_alaw(speechIn[n]);
36 encoded[n >> 1] |= ((uint16_t) tempVal);
38 encoded[n >> 1] = ((uint16_t) tempVal) << 8;
42 tempVal2 |= ((uint16_t) tempVal) << 8;
43 encoded[n >> 1] |= ((uint16_t) tempVal) << 8;
45 tempVal2 = ((uint16_t) tempVal);
46 encoded[n >> 1] = ((uint16_t) tempVal);
58 uint16_t tempVal;
70 tempVal = (uint16_t) linear_to_ulaw(speechIn[n]);
74 encoded[n >> 1] |= ((uint16_t) tempVal);
76 encoded[n >> 1] = ((uint16_t) tempVal) << 8;
80 encoded[n >> 1] |= ((uint16_t) tempVal) << 8;
82 encoded[n >> 1] = ((uint16_t) tempVal);
95 uint16_t tempVal;
108 tempVal = ((uint16_t) encoded[n >> 1] & 0xFF);
110 tempVal = ((uint16_t) encoded[n >> 1] >> 8);
114 tempVal = (encoded[n >> 1] >> 8);
116 tempVal = (encoded[n >> 1] & 0xFF);
119 decoded[n] = (int16_t) alaw_to_linear(tempVal);
132 uint16_t tempVal;
145 tempVal = ((uint16_t) encoded[n >> 1] & 0xFF);
147 tempVal = ((uint16_t) encoded[n >> 1] >> 8);
151 tempVal = (encoded[n >> 1] >> 8);
153 tempVal = (encoded[n >> 1] & 0xFF);
156 decoded[n] = (int16_t) ulaw_to_linear(tempVal);