Home
last modified time | relevance | path

Searched refs:norm_double (Results 1 – 18 of 18) sorted by relevance

/third_party/libsnd/src/
Dpcm.c1190 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80) : 1.0 ; in pcm_read_sc2d()
1215 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80) : 1.0 ; in pcm_read_uc2d()
1240 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in pcm_read_bes2d()
1265 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in pcm_read_les2d()
1290 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80000000) : 1.0 / 256.0 ; in pcm_read_bet2d()
1316 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80000000) : 1.0 / 256.0 ; in pcm_read_let2d()
1341 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80000000) : 1.0 ; in pcm_read_bei2d()
1366 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80000000) : 1.0 ; in pcm_read_lei2d()
2374 convert (ptr + total, ubuf.scbuf, bufferlen, psf->norm_double) ; in pcm_write_d2sc()
2433 convert (ptr + total, ubuf.ucbuf, bufferlen, psf->norm_double) ; in pcm_write_d2uc()
[all …]
Dulaw.c941 normfact = (psf->norm_double) ? 1.0 / ((double) 0x8000) : 1.0 ; in ulaw_read_ulaw2d()
1039 normfact = (psf->norm_double) ? (0.25 * 0x7FFF) : 0.25 ; in ulaw_write_d2ulaw()
Dalaw.c440 normfact = (psf->norm_double) ? 1.0 / ((double) 0x8000) : 1.0 ; in alaw_read_alaw2d()
536 normfact = (psf->norm_double) ? (1.0 * 0x7FFF) / 16.0 : 1.0 / 16.0 ; in alaw_write_d2alaw()
Dvox_adpcm.c246 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in vox_read_d()
383 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in vox_write_d()
Dxi.c602 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80) : 1.0 ; in dpcm_read_dsc2d()
715 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in dpcm_read_dles2d()
839 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7F) : 1.0 ; in dpcm_write_d2dsc()
950 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in dpcm_write_d2dles()
Dg72x.c327 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in g72x_read_d()
566 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x8000) : 1.0 ; in g72x_write_d()
Dgsm610.c354 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in gsm610_read_d()
590 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in gsm610_write_d()
Ddwvw.c285 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80000000) : 1.0 ; in dwvw_read_d()
656 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFFFFFF) : 1.0 ; in dwvw_write_d()
Dtxw.c342 if (psf->norm_double == SF_TRUE) in txw_read_d()
Dms_adpcm.c439 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in msadpcm_read_d()
753 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in msadpcm_write_d()
Dpaf.c617 normfact = (psf->norm_double == SF_TRUE) ? (1.0 / 0x80000000) : (1.0 / 0x100) ; in paf24_read_d()
801 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFFFFFF) : (1.0 / 0x100) ; in paf24_write_d()
Dnms_adpcm.c848 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in nms_adpcm_read_d()
1006 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x8000) : 1.0 ; in nms_adpcm_write_d()
Dsds.c638 if (psf->norm_double == SF_TRUE) in sds_read_d()
984 if (psf->norm_double == SF_TRUE) in sds_write_d()
Dima_adpcm.c686 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ; in ima_read_d()
986 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ; in ima_write_d()
Dflac.c304 …double norm = (psf->norm_double == SF_TRUE) ? 1.0 / (1 << (frame->header.bits_per_sample - 1)) : 1… in flac_buffer_copy()
1293 convert (ptr + total, buffer, writecount, psf->norm_double) ; in flac_write_d2flac()
Dsndfile.c989 old_value = psf->norm_double ; in sf_command()
990 psf->norm_double = (datasize) ? SF_TRUE : SF_FALSE ; in sf_command()
997 return psf->norm_double ; in sf_command()
2960 psf->norm_double = SF_TRUE ; in psf_open_file()
Dcommon.h508 int norm_double ; member
Dalac.c563 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((float) 0x80000000) : 1.0 ; in alac_read_d()