Searched refs:out_n_frames (Results 1 – 8 of 8) sorted by relevance
/third_party/pulseaudio/src/pulsecore/resampler/ |
D | speex.c | 57 … *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *output, unsigned *out_n_frames) { in speex_resample_float() argument 59 uint32_t inf = in_n_frames, outf = *out_n_frames; in speex_resample_float() 65 pa_assert(out_n_frames); in speex_resample_float() 88 *out_n_frames = outf; in speex_resample_float() 93 … *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *output, unsigned *out_n_frames) { in speex_resample_int() argument 95 uint32_t inf = in_n_frames, outf = *out_n_frames; in speex_resample_int() 101 pa_assert(out_n_frames); in speex_resample_int() 114 *out_n_frames = outf; in speex_resample_int()
|
D | ffmpeg.c | 33 … *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *output, unsigned *out_n_frames) { in ffmpeg_resample() argument 41 pa_assert(out_n_frames); in ffmpeg_resample() 66 w = pa_memblock_new(r->mempool, *out_n_frames * sizeof(int16_t)); in ffmpeg_resample() 73 (int) in_n_frames, (int) *out_n_frames, in ffmpeg_resample() 95 *out_n_frames = used_frames; in ffmpeg_resample()
|
D | libsamplerate.c | 28 … *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *output, unsigned *out_n_frames) { in libsamplerate_resample() argument 35 pa_assert(out_n_frames); in libsamplerate_resample() 44 data.output_frames = (long int) *out_n_frames; in libsamplerate_resample() 54 *out_n_frames = (unsigned) data.output_frames_gen; in libsamplerate_resample()
|
D | soxr.c | 30 pa_memchunk *output, unsigned *out_n_frames) { in resampler_soxr_resample() argument 38 pa_assert(out_n_frames); in resampler_soxr_resample() 46 … pa_assert_se(soxr_process(state, in, in_n_frames, &consumed, out, *out_n_frames, &produced) == 0); in resampler_soxr_resample() 51 *out_n_frames = produced; in resampler_soxr_resample()
|
D | trivial.c | 33 … *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *output, unsigned *out_n_frames) { in trivial_resample() argument 41 pa_assert(out_n_frames); in trivial_resample() 63 *out_n_frames = o_index; in trivial_resample()
|
D | peaks.c | 37 … *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *output, unsigned *out_n_frames) { in peaks_resample() argument 46 pa_assert(out_n_frames); in peaks_resample() 122 *out_n_frames = o_index; in peaks_resample()
|
/third_party/pulseaudio/src/pulsecore/ |
D | resampler.c | 1481 unsigned in_n_samples, out_n_samples, in_n_frames, out_n_frames; in remap_channels() local 1503 in_n_frames = out_n_frames = in_n_samples / r->i_ss.channels; in remap_channels() 1507 out_n_frames += leftover_length / r->w_fz; in remap_channels() 1510 out_n_samples = out_n_frames * r->o_ss.channels; in remap_channels() 1548 unsigned in_n_frames, out_n_frames, leftover_n_frames; in resample() local 1560 out_n_frames = ((in_n_frames*r->o_ss.rate)/r->i_ss.rate)+EXTRA_FRAMES; in resample() 1561 fit_buf(r, &r->resample_buf, r->w_fz * out_n_frames, &r->resample_buf_size, 0); in resample() 1563 leftover_n_frames = r->impl.resample(r, input, in_n_frames, &r->resample_buf, &out_n_frames); in resample() 1571 r->resample_buf.length = out_n_frames * r->w_fz; in resample()
|
D | resampler.h | 39 …sampler *r, const pa_memchunk *in, unsigned in_n_frames, pa_memchunk *out, unsigned *out_n_frames);
|