Home
last modified time | relevance | path

Searched refs:psf_lrintf (Results 1 – 19 of 19) sorted by relevance

/third_party/libsnd/src/
Dpcm.c1769 { dest [count] = psf_lrintf (src [count] * normfact) ; in f2sc_array()
1790 dest [count] = psf_lrintf (scaled_value) >> 24 ; in f2sc_clip_array()
1828 { dest [count] = psf_lrintf (src [count] * normfact) + 128 ; in f2uc_array()
1849 dest [count] = (psf_lrintf (scaled_value) >> 24) + 128 ; in f2uc_clip_array()
1891 value = psf_lrintf (src [count] * normfact) ; in f2bes_array()
1920 value = psf_lrintf (scaled_value) ; in f2bes_clip_array()
1964 value = psf_lrintf (src [count] * normfact) ; in f2les_array()
1993 value = psf_lrintf (scaled_value) ; in f2les_clip_array()
2034 { value = psf_lrintf (src [count] * normfact) ; in f2let_array()
2063 value = psf_lrintf (scaled_value) ; in f2let_clip_array()
[all …]
Dflac.c1193 dest [count] = psf_lrintf (scaled_value) ; in f2flac8_clip_array()
1215 dest [count] = psf_lrintf (scaled_value) ; in f2flac16_clip_array()
1236 dest [count] = psf_lrintf (scaled_value) ; in f2flac24_clip_array()
1247 dest [count] = psf_lrintf (src [count] * normfact) ; in f2flac8_array()
1255 dest [count] = psf_lrintf (src [count] * normfact) ; in f2flac16_array()
1263 dest [count] = psf_lrintf (src [count] * normfact) ; in f2flac24_array()
Dalaw.c343 buffer [count] = alaw_encode [psf_lrintf (normfact * ptr [count])] ; in f2alaw_array()
345 buffer [count] = 0x7F & alaw_encode [- psf_lrintf (normfact * ptr [count])] ; in f2alaw_array()
Dulaw.c844 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()
Dogg_vorbis.c561 ptr [i++] = psf_lrintf ((pcm [n][j] * inverse) * 32767.0f) ; in vorbis_rshort()
567 ptr [i++] = psf_lrintf (pcm [n][j] * 32767.0f) ; in vorbis_rshort()
583 ptr [i++] = psf_lrintf ((pcm [n][j] * inverse) * 2147483647.0f) ; in vorbis_rint()
589 ptr [i++] = psf_lrintf (pcm [n][j] * 2147483647.0f) ; in vorbis_rint()
Dfloat32.c441 { dest [count] = psf_lrintf (scale * src [count]) ; in f2s_array()
455 dest [count] = psf_lrintf (tmp) ; in f2s_clip_array()
462 { dest [count] = psf_lrintf (scale * src [count]) ; in f2i_array()
476 dest [count] = psf_lrintf (tmp) ; in f2i_clip_array()
Dcommon.c1610 dest [count] = psf_lrintf (src [count] * normfact) ; in psf_f2s_array()
1632 dest [count] = psf_lrintf (scaled_value) ; in psf_f2s_clip_array()
1679 dest [count] = psf_lrintf (src [count] * normfact) ; in psf_f2i_array()
1701 dest [count] = psf_lrintf (scaled_value) ; in psf_f2i_clip_array()
Dogg_opus.c1164 { ptr [i] = psf_lrintf (((*(iptr++)) * inverse) * 32767.0f) ; in ogg_opus_read_s()
1169 { ptr [i] = psf_lrintf ((*(iptr++)) * 32767.0f) ; in ogg_opus_read_s()
1201 { ptr [i] = psf_lrintf (((*(iptr++)) * inverse) * 2147483647.0f) ; in ogg_opus_read_i()
1206 { ptr [i] = psf_lrintf ((*(iptr++)) * 2147483647.0f) ; in ogg_opus_read_i()
Dvox_adpcm.c359 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in vox_write_f()
Dxi.c1075 { current = psf_lrintf (src [k] * normfact) ; in f2dsc_array()
1205 { current = psf_lrintf (src [k] * normfact) ; in f2dles_array()
Dg72x.c541 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in g72x_write_f()
Dgsm610.c566 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in gsm610_write_f()
Ddwvw.c631 iptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in dwvw_write_f()
Dms_adpcm.c734 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in msadpcm_write_f()
Dcommon.h1013 static inline int psf_lrintf (float x) in psf_lrintf() function
Dpaf.c777 iptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in paf24_write_f()
Dnms_adpcm.c981 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in nms_adpcm_write_f()
Dima_adpcm.c962 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in ima_write_f()
/third_party/libsnd/
DNEWS5 * Implement fast SSE2 optimized psf_lrintf() and psf_lrintf() functions to