Home
last modified time | relevance | path

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

/third_party/libsnd/src/
Dpcm.c1777 { dest [i] = psf_lrintf (src [i] * normfact) ; in f2sc_array()
1798 dest [i] = psf_lrintf (scaled_value) >> 24 ; in f2sc_clip_array()
1836 { dest [i] = psf_lrintf (src [i] * normfact) + 128 ; in f2uc_array()
1857 dest [i] = (psf_lrintf (scaled_value) >> 24) + 128 ; in f2uc_clip_array()
1898 value = psf_lrintf (src [i] * normfact) ; in f2bes_array()
1926 value = psf_lrintf (scaled_value) ; in f2bes_clip_array()
1969 value = psf_lrintf (src [i] * normfact) ; in f2les_array()
1997 value = psf_lrintf (scaled_value) ; in f2les_clip_array()
2038 { value = psf_lrintf (src [i] * normfact) ; in f2let_array()
2071 value = psf_lrintf (scaled_value) ; in f2let_clip_array()
[all …]
Dflac.c1202 dest [i] = psf_lrintf (scaled_value) ; in f2flac8_clip_array()
1224 dest [i] = psf_lrintf (scaled_value) ; in f2flac16_clip_array()
1245 dest [i] = psf_lrintf (scaled_value) ; in f2flac24_clip_array()
1256 dest [i] = psf_lrintf (src [i] * normfact) ; in f2flac8_array()
1264 dest [i] = psf_lrintf (src [i] * normfact) ; in f2flac16_array()
1272 dest [i] = psf_lrintf (src [i] * normfact) ; in f2flac24_array()
Dulaw.c844 buffer [i] = ulaw_encode [psf_lrintf (normfact * ptr [i])] ; in f2ulaw_array()
846 buffer [i] = 0x7F & ulaw_encode [- psf_lrintf (normfact * ptr [i])] ; in f2ulaw_array()
Dalaw.c343 buffer [i] = alaw_encode [psf_lrintf (normfact * ptr [i])] ; in f2alaw_array()
345 buffer [i] = 0x7F & alaw_encode [- psf_lrintf (normfact * ptr [i])] ; in f2alaw_array()
Dogg_vorbis.c563 ptr [i++] = psf_lrintf ((pcm [n][j] * inverse) * 32767.0f) ; in vorbis_rshort()
569 ptr [i++] = psf_lrintf (pcm [n][j] * 32767.0f) ; in vorbis_rshort()
585 ptr [i++] = psf_lrintf ((pcm [n][j] * inverse) * 2147483647.0f) ; in vorbis_rint()
591 ptr [i++] = psf_lrintf (pcm [n][j] * 2147483647.0f) ; in vorbis_rint()
Dfloat32.c441 { dest [i] = psf_lrintf (scale * src [i]) ; in f2s_array()
455 dest [i] = psf_lrintf (tmp) ; in f2s_clip_array()
462 { dest [i] = psf_lrintf (scale * src [i]) ; in f2i_array()
476 dest [i] = psf_lrintf (tmp) ; in f2i_clip_array()
Dcommon.c1682 dest [i] = psf_lrintf (src [i] * normfact) ; in psf_f2s_array()
1704 dest [i] = psf_lrintf (scaled_value) ; in psf_f2s_clip_array()
1751 dest [i] = psf_lrintf (src [i] * normfact) ; in psf_f2i_array()
1777 dest [i] = psf_lrintf (scaled_value) ; in psf_f2i_clip_array()
Dogg_opus.c1172 { ptr [i] = psf_lrintf (((*(iptr++)) * inverse) * 32767.0f) ; in ogg_opus_read_s()
1177 { ptr [i] = psf_lrintf ((*(iptr++)) * 32767.0f) ; in ogg_opus_read_s()
1209 { ptr [i] = psf_lrintf (((*(iptr++)) * inverse) * 2147483647.0f) ; in ogg_opus_read_i()
1214 { 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.c1069 { current = psf_lrintf (src [k] * normfact) ; in f2dsc_array()
1199 { 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()
Dcommon.h960 static inline int psf_lrintf (float x) in psf_lrintf() function
Dms_adpcm.c740 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in msadpcm_write_f()
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.c967 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in ima_write_f()
/third_party/libsnd/
DNEWS.OLD5 * Implement fast SSE2 optimized psf_lrintf() and psf_lrintf() functions to