/third_party/libsnd/src/ |
D | wavlike.c | 127 int bytesread, k, bytespersec = 0 ; in wavlike_read_fmt_chunk() local 143 &(wav_fmt->min.samplerate), &(wav_fmt->min.bytespersec), in wavlike_read_fmt_chunk() 200 bytespersec = wav_fmt->min.samplerate * wav_fmt->min.blockalign ; in wavlike_read_fmt_chunk() 201 if (wav_fmt->min.bytespersec != (unsigned) bytespersec) in wavlike_read_fmt_chunk() 202 …_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->min.bytespersec, bytespersec) ; in wavlike_read_fmt_chunk() 204 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->min.bytespersec) ; in wavlike_read_fmt_chunk() 211 if (wav_fmt->min.bytespersec != wav_fmt->min.samplerate * wav_fmt->min.blockalign) in wavlike_read_fmt_chunk() 212 …psf_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->min.bytespersec, wav_fmt->m… in wavlike_read_fmt_chunk() 214 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->min.bytespersec) ; in wavlike_read_fmt_chunk() 238 … bytespersec = (wav_fmt->ima.samplerate * wav_fmt->ima.blockalign) / wav_fmt->ima.samplesperblock ; in wavlike_read_fmt_chunk() [all …]
|
D | wavlike.h | 200 unsigned int bytespersec ; member 209 unsigned int bytespersec ; member 220 unsigned int bytespersec ; member 236 unsigned int bytespersec ; member 247 unsigned int bytespersec ; member 259 unsigned int bytespersec ; member 277 unsigned int bytespersec ; member
|
D | w64.c | 530 { int blockalign, framesperblock, bytespersec ; in w64_write_header() local 534 bytespersec = (psf->sf.samplerate * blockalign) / framesperblock ; in w64_write_header() 545 psf_binheader_writef (psf, "e44", BHW4 (psf->sf.samplerate), BHW4 (bytespersec)) ; in w64_write_header() 555 { int blockalign, framesperblock, bytespersec, extrabytes ; in w64_write_header() local 559 bytespersec = (psf->sf.samplerate * blockalign) / framesperblock ; in w64_write_header() 571 psf_binheader_writef (psf, "e44", BHW4 (psf->sf.samplerate), BHW4 (bytespersec)) ; in w64_write_header() 584 { int bytespersec ; in w64_write_header() local 586 bytespersec = (psf->sf.samplerate * WAVLIKE_GSM610_BLOCKSIZE) / WAVLIKE_GSM610_SAMPLES ; in w64_write_header() 597 psf_binheader_writef (psf, "e44", BHW4 (psf->sf.samplerate), BHW4 (bytespersec)) ; in w64_write_header()
|
D | wav.c | 819 { int blockalign, framesperblock, bytespersec ; in wav_write_fmt_chunk() local 823 bytespersec = (psf->sf.samplerate * blockalign) / framesperblock ; in wav_write_fmt_chunk() 830 BHW2 (psf->sf.channels), BHW4 (psf->sf.samplerate), BHW4 (bytespersec)) ; in wav_write_fmt_chunk() 840 { int blockalign, framesperblock, bytespersec, extrabytes ; in wav_write_fmt_chunk() local 844 bytespersec = (psf->sf.samplerate * blockalign) / framesperblock ; in wav_write_fmt_chunk() 854 psf_binheader_writef (psf, "44", BHW4 (psf->sf.samplerate), BHW4 (bytespersec)) ; in wav_write_fmt_chunk() 883 { int bytespersec, blockalign, bitwidth ; in wav_write_fmt_chunk() local 887 bytespersec = psf->sf.samplerate * blockalign / 160 ; in wav_write_fmt_chunk() 896 psf_binheader_writef (psf, "422", BHW4 (bytespersec), BHW2 (blockalign), BHW2 (bitwidth)) ; in wav_write_fmt_chunk() 905 { int blockalign, framesperblock, bytespersec ; in wav_write_fmt_chunk() local [all …]
|
/third_party/ffmpeg/libavformat/ |
D | riffenc.c | 57 int bps, blkalign, bytespersec, frame_size; in ff_put_wav_header() local 134 bytespersec = par->sample_rate * blkalign; in ff_put_wav_header() 136 bytespersec = 800; in ff_put_wav_header() 138 bytespersec = par->bit_rate / 8; in ff_put_wav_header() 140 avio_wl32(pb, bytespersec); /* bytes per second */ in ff_put_wav_header()
|
/third_party/ffmpeg/tools/ |
D | sofa2wavs.c | 60 int bytespersec = blkalign * sample_rate; in main() local 78 fwrite(&bytespersec, 4, 1, file); in main()
|
/third_party/gstreamer/gstplugins_good/gst/isomp4/ |
D | atoms.c | 5695 gint bytespersec; in build_ima_adpcm_atom() local 5711 bytespersec = rate * blocksize / samplesperblock; in build_ima_adpcm_atom() 5715 GST_WRITE_UINT32_LE (data + 8, bytespersec); in build_ima_adpcm_atom()
|