Home
last modified time | relevance | path

Searched refs:audio_u2s (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypePcm.cc183 ulaw2short(ulaw *&F, short *&T) { *T++ = audio_u2s(*F); F++; } in ulaw2short()
187 ulaw2float(ulaw *&F, float *&T) { *T++ = short2dbl(audio_u2s(*F)); F++; } in ulaw2float()
189 ulaw2double(ulaw *&F, double *&T) { *T++ = short2dbl(audio_u2s(*F)); F++; } in ulaw2double()
H A Dg721.c532 dx = (audio_u2s(sp) >> 2) - se; /* 16-bit prediction error */ in _tandem_adjust_ulaw()
649 sl = audio_u2s(*char_in++) >> 2; /* u-law to short */ in g721_encode()
H A Dg723.c533 dx = (audio_u2s(sp) >> 2) - se; /* 16-bit prediction error */ in _tandem_adjust_ulaw()
708 i = _encoder(audio_u2s(*char_ptr++) >> 2, state_ptr); in g723_encode()
/illumos-gate/usr/src/cmd/audio/include/
H A Daudio_encode.h71 #define audio_u2s(X) (_ulaw2linear[(unsigned char) (X)]) macro