Searched refs:norm_float (Results 1 – 19 of 19) sorted by relevance
/third_party/libsnd/src/ |
D | pcm.c | 985 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 …]
|
D | ulaw.c | 916 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()
|
D | alaw.c | 415 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()
|
D | vox_adpcm.c | 215 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()
|
D | xi.c | 573 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()
|
D | g72x.c | 295 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()
|
D | alac.c | 530 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()
|
D | gsm610.c | 329 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()
|
D | dwvw.c | 253 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()
|
D | txw.c | 306 if (psf->norm_float == SF_TRUE) in txw_read_f()
|
D | ms_adpcm.c | 407 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()
|
D | paf.c | 589 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()
|
D | nms_adpcm.c | 816 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()
|
D | sds.c | 606 if (psf->norm_float == SF_TRUE) in sds_read_f() 951 if (psf->norm_float == SF_TRUE) in sds_write_f()
|
D | ima_adpcm.c | 655 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()
|
D | flac.c | 283 …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()
|
D | sndfile.c | 978 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()
|
D | common.h | 509 int norm_float ; member
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_route.c | 260 &&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()
|