Home
last modified time | relevance | path

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

/third_party/libsnd/src/
Ddouble64.c371 mantissa = psf_lrint (floor (in)) ; in double64_be_write()
380 mantissa = psf_lrint (floor (in)) ; in double64_be_write()
411 mantissa = psf_lrint (floor (in)) ; in double64_le_write()
420 mantissa = psf_lrint (floor (in)) ; in double64_le_write()
490 { dest [count] = psf_lrint (scale * src [count]) ; in d2s_array()
504 dest [count] = psf_lrint (tmp) ; in d2s_clip_array()
511 { dest [count] = psf_lrint (scale * src [count]) ; in d2i_array()
525 dest [count] = psf_lrint (tmp) ; in d2i_clip_array()
Dpcm.c2134 value = psf_lrint (scaled_value) ; in f2bet_clip_array()
2336 { dest [count] = psf_lrint (src [count] * normfact) ; in d2sc_array()
2395 { dest [count] = psf_lrint (src [count] * normfact) + 128 ; in d2uc_array()
2416 dest [count] = (psf_lrint (src [count] * normfact) >> 24) + 128 ; in d2uc_clip_array()
2458 value = psf_lrint (src [count] * normfact) ; in d2bes_array()
2487 value = psf_lrint (scaled_value) ; in d2bes_clip_array()
2531 value = psf_lrint (src [count] * normfact) ; in d2les_array()
2560 value = psf_lrint (scaled_value) ; in d2les_clip_array()
2601 { value = psf_lrint (src [count] * normfact) ; in d2let_array()
2630 value = psf_lrint (scaled_value) ; in d2let_clip_array()
[all …]
Dflac.c884 pflac->compression = psf_lrint (SF_MAX (0.0, SF_MIN (8.0, quality))) ; in flac_command()
1324 dest [count] = psf_lrint (scaled_value) ; in d2flac8_clip_array()
1346 dest [count] = psf_lrint (scaled_value) ; in d2flac16_clip_array()
1368 dest [count] = psf_lrint (scaled_value) ; in d2flac24_clip_array()
1379 dest [count] = psf_lrint (src [count] * normfact) ; in d2flac8_array()
1387 dest [count] = psf_lrint (src [count] * normfact) ; in d2flac16_array()
1395 dest [count] = psf_lrint (src [count] * normfact) ; in d2flac24_array()
Dalaw.c355 buffer [count] = alaw_encode [psf_lrint (normfact * ptr [count])] ; in d2alaw_array()
357 buffer [count] = 0x7F & alaw_encode [- psf_lrint (normfact * ptr [count])] ; in d2alaw_array()
Dulaw.c856 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()
Dcommon.c1644 dest [count] = psf_lrint (src [count] * normfact) ; in psf_d2s_array()
1666 dest [count] = psf_lrint (scaled_value) ; in psf_d2s_clip_array()
1713 dest [count] = psf_lrint (src [count] * normfact) ; in psf_d2i_array()
1735 dest [count] = psf_lrint (scaled_value) ; in psf_d2i_clip_array()
Dmat4.c251 psf->sf.samplerate = psf_lrint (value) ; in mat4_read_header()
Dvox_adpcm.c390 sptr [k] = psf_lrint (normfact * ptr [total + k]) ; in vox_write_d()
Dmat5.c373 psf->sf.samplerate = psf_lrint (samplerate) ; in mat5_read_header()
Dg72x.c573 sptr [k] = psf_lrint (normfact * ptr [total + k]) ; in g72x_write_d()
Dxi.c1091 { current = psf_lrint (src [k] * normfact) ; in d2dsc_array()
1222 { current = psf_lrint (src [k] * normfact) ; in d2dles_array()
Dgsm610.c597 sptr [k] = psf_lrint (normfact * ptr [total + k]) ; in gsm610_write_d()
Ddwvw.c663 iptr [k] = psf_lrint (normfact * ptr [total + k]) ; in dwvw_write_d()
Dcommon.h1022 static inline int psf_lrint (double x) in psf_lrint() function
Dpaf.c808 iptr [k] = psf_lrint (normfact * ptr [total+k]) ; in paf24_write_d()
Dms_adpcm.c764 sptr [k] = psf_lrint (normfact * ptr [total + k]) ; in msadpcm_write_d()
Dnms_adpcm.c1013 sptr [k] = psf_lrint (normfact * ptr [total + k]) ; in nms_adpcm_write_d()
Dima_adpcm.c993 sptr [k] = psf_lrint (normfact * ptr [total + k]) ; in ima_write_d()
Dcaf.c373 psf->sf.samplerate = psf_lrint (srate) ; in caf_read_header()