Home
last modified time | relevance | path

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

/third_party/libsnd/src/
Dpcm.c985 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80) : 1.0 ; in pcm_read_sc2f()
1010 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80) : 1.0 ; in pcm_read_uc2f()
1035 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in pcm_read_bes2f()
1060 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in pcm_read_les2f()
1086 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80000000) : 1.0 / 256.0 ; in pcm_read_bet2f()
1112 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80000000) : 1.0 / 256.0 ; in pcm_read_let2f()
1137 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80000000) : 1.0 ; in pcm_read_bei2f()
1162 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80000000) : 1.0 ; in pcm_read_lei2f()
1807 convert (ptr + total, ubuf.scbuf, bufferlen, psf->norm_float) ; in pcm_write_f2sc()
1866 convert (ptr + total, ubuf.ucbuf, bufferlen, psf->norm_float) ; in pcm_write_f2uc()
[all …]
Dulaw.c916 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in ulaw_read_ulaw2f()
1013 normfact = (psf->norm_float == SF_TRUE) ? (0.25 * 0x7FFF) : 0.25 ; in ulaw_write_f2ulaw()
Dalaw.c415 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in alaw_read_alaw2f()
511 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFF) / 16.0 : 1.0 / 16 ; in alaw_write_f2alaw()
Dvox_adpcm.c215 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in vox_read_f()
352 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in vox_write_f()
Dxi.c573 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80) : 1.0 ; in dpcm_read_dsc2f()
686 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in dpcm_read_dles2f()
810 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7F) : 1.0 ; in dpcm_write_f2dsc()
921 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in dpcm_write_f2dles()
Dg72x.c295 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in g72x_read_f()
534 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x8000) : 1.0 ; in g72x_write_f()
Dalac.c530 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80000000) : 1.0 ; in alac_read_f()
720 convert (ptr, iptr, writecount, psf->norm_float) ; in alac_write_f()
753 convert (ptr, iptr, writecount, psf->norm_float) ; in alac_write_d()
Dgsm610.c329 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in gsm610_read_f()
559 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in gsm610_write_f()
Ddwvw.c253 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80000000) : 1.0 ; in dwvw_read_f()
624 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFFFFFF) : 1.0 ; in dwvw_write_f()
Dtxw.c306 if (psf->norm_float == SF_TRUE) in txw_read_f()
Dms_adpcm.c407 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in msadpcm_read_f()
727 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in msadpcm_write_f()
Dpaf.c589 normfact = (psf->norm_float == SF_TRUE) ? (1.0 / 0x80000000) : (1.0 / 0x100) ; in paf24_read_f()
770 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFFFFFF) : (1.0 / 0x100) ; in paf24_write_f()
Dnms_adpcm.c816 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in nms_adpcm_read_f()
974 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x8000) : 1.0 ; in nms_adpcm_write_f()
Dsds.c606 if (psf->norm_float == SF_TRUE) in sds_read_f()
951 if (psf->norm_float == SF_TRUE) in sds_write_f()
Dima_adpcm.c655 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ; in ima_read_f()
955 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in ima_write_f()
Dflac.c283 …float norm = (psf->norm_float == SF_TRUE) ? 1.0 / (1 << (frame->header.bits_per_sample - 1)) : 1.0… in flac_buffer_copy()
1162 convert (ptr + total, buffer, writecount, psf->norm_float) ; in flac_write_f2flac()
Dsndfile.c978 old_value = psf->norm_float ; in sf_command()
979 psf->norm_float = (datasize) ? SF_TRUE : SF_FALSE ; in sf_command()
994 return psf->norm_float ; in sf_command()
2959 psf->norm_float = SF_TRUE ; in psf_open_file()
Dcommon.h509 int norm_float ; member
/third_party/alsa-lib/src/pcm/
Dpcm_route.c260 &&norm_float, in snd_pcm_route_convert1_many()
261 &&norm_float, in snd_pcm_route_convert1_many()
376 norm_float: in snd_pcm_route_convert1_many()