Searched refs:in_n_frames (Results 1 – 8 of 8) sorted by relevance
/third_party/pulseaudio/src/pulsecore/resampler/ |
D | ffmpeg.c | 33 static unsigned ffmpeg_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa… in ffmpeg_resample() argument 52 b = pa_memblock_new(r->mempool, in_n_frames * sizeof(int16_t)); in ffmpeg_resample() 58 for (u = 0; u < in_n_frames; u++) { in ffmpeg_resample() 73 (int) in_n_frames, (int) *out_n_frames, in ffmpeg_resample() 79 pa_assert(consumed_frames <= (int) in_n_frames); in ffmpeg_resample() 97 return in_n_frames - previous_consumed_frames; in ffmpeg_resample()
|
D | speex.c | 57 …eex_resample_float(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *o… in speex_resample_float() argument 59 uint32_t inf = in_n_frames, outf = *out_n_frames; in speex_resample_float() 87 pa_assert(inf == in_n_frames); in speex_resample_float() 93 static unsigned speex_resample_int(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames,… in speex_resample_int() argument 95 uint32_t inf = in_n_frames, outf = *out_n_frames; in speex_resample_int() 113 pa_assert(inf == in_n_frames); in speex_resample_int()
|
D | peaks.c | 37 static unsigned peaks_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_… in peaks_resample() argument 55 while (i_end < in_n_frames) { in peaks_resample() 66 for (; i < i_end && i < in_n_frames; i++) { in peaks_resample() 82 for (; i < i_end && i < in_n_frames; i++) in peaks_resample() 101 for (; i < i_end && i < in_n_frames; i++) in peaks_resample() 124 peaks_data->i_counter += in_n_frames; in peaks_resample()
|
D | trivial.c | 33 static unsigned trivial_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, p… in trivial_resample() argument 52 if (i_index >= in_n_frames) in trivial_resample() 65 trivial_data->i_counter += in_n_frames; in trivial_resample()
|
D | libsamplerate.c | 28 …amplerate_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *o… in libsamplerate_resample() argument 41 data.input_frames = (long int) in_n_frames; in libsamplerate_resample() 56 return in_n_frames - data.input_frames_used; in libsamplerate_resample()
|
D | soxr.c | 29 …c unsigned resampler_soxr_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, in resampler_soxr_resample() argument 46 … pa_assert_se(soxr_process(state, in, in_n_frames, &consumed, out, *out_n_frames, &produced) == 0); in resampler_soxr_resample() 53 return in_n_frames - consumed; in resampler_soxr_resample()
|
/third_party/pulseaudio/src/pulsecore/ |
D | resampler.c | 1340 unsigned in_n_samples, out_n_samples, in_n_frames, out_n_frames; in remap_channels() local 1362 in_n_frames = out_n_frames = in_n_samples / r->i_ss.channels; in remap_channels() 1379 remap->do_remap(remap, dst, src, in_n_frames); in remap_channels() 1407 unsigned in_n_frames, out_n_frames, leftover_n_frames; in resample() local 1417 in_n_frames = (unsigned) (input->length / r->w_fz); in resample() 1419 out_n_frames = ((in_n_frames*r->o_ss.rate)/r->i_ss.rate)+EXTRA_FRAMES; in resample() 1422 leftover_n_frames = r->impl.resample(r, input, in_n_frames, &r->resample_buf, &out_n_frames); in resample() 1425 …void *leftover_data = (uint8_t *) pa_memblock_acquire_chunk(input) + (in_n_frames - leftover_n_fra… in resample()
|
D | resampler.h | 39 …unsigned (*resample)(pa_resampler *r, const pa_memchunk *in, unsigned in_n_frames, pa_memchunk *ou…
|