Home
last modified time | relevance | path

Searched refs:bytespersec (Results 1 – 7 of 7) sorted by relevance

/third_party/libsnd/src/
Dwavlike.c127 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()
238bytespersec = (wav_fmt->ima.samplerate * wav_fmt->ima.blockalign) / wav_fmt->ima.samplesperblock ; in wavlike_read_fmt_chunk()
[all …]
Dwavlike.h200 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
Dw64.c530 { 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()
Dwav.c819 { 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/
Driffenc.c57 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/
Dsofa2wavs.c60 int bytespersec = blkalign * sample_rate; in main() local
78 fwrite(&bytespersec, 4, 1, file); in main()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datoms.c5695 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()