Searched refs:ulaw_encode (Results 1 – 2 of 2) sorted by relevance
108 unsigned char ulaw_encode [8193] = variable822 buffer [count] = ulaw_encode [ptr [count] / 4] ; in s2ulaw_array()824 buffer [count] = 0x7F & ulaw_encode [ptr [count] / -4] ; in s2ulaw_array()832 buffer [count] = ulaw_encode [INT_MAX >> (16 + 2)] ; in i2ulaw_array()834 buffer [count] = ulaw_encode [ptr [count] >> (16 + 2)] ; in i2ulaw_array()836 buffer [count] = 0x7F & ulaw_encode [-ptr [count] >> (16 + 2)] ; in i2ulaw_array()844 buffer [count] = ulaw_encode [psf_lrintf (normfact * ptr [count])] ; in f2ulaw_array()846 buffer [count] = 0x7F & ulaw_encode [- psf_lrintf (normfact * ptr [count])] ; in f2ulaw_array()856 buffer [count] = ulaw_encode [psf_lrint (normfact * ptr [count])] ; in d2ulaw_array()858 buffer [count] = 0x7F & ulaw_encode [- psf_lrint (normfact * ptr [count])] ; in d2ulaw_array()
37 static unsigned char ulaw_encode (int sample) ;92 if (ulaw_encode (short_buffer [k]) != ulaw_buffer [k]) in main()93 …r error : sample #%d (0x%02X should be 0x%02X)\n", k, ulaw_buffer [k], ulaw_encode (short_buffer [… in main()188 unsigned char ulaw_encode (int sample) in ulaw_encode() function