Searched refs:linear2ulaw (Results 1 – 2 of 2) sorted by relevance
105 static unsigned char linear2ulaw(short sample) in linear2ulaw() function152 linear2ulaw(dsp_audio_alaw_to_s32[i]); in dsp_audio_generate_law_tables()167 bitrev8(linear2ulaw(i)); in dsp_audio_generate_s2law_table()
83 static unsigned char linear2ulaw(int pcm_val) /* 2's complement (16-bit range) */ in linear2ulaw() function241 *dst = linear2ulaw(sample); in mulaw_encode()