Home
last modified time | relevance | path

Searched refs:pa_resampler (Results 1 – 16 of 16) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dresampler.h31 typedef struct pa_resampler pa_resampler; typedef
35 void (*free)(pa_resampler *r);
36 void (*update_rates)(pa_resampler *r);
39 …unsigned (*resample)(pa_resampler *r, const pa_memchunk *in, unsigned in_n_frames, pa_memchunk *ou…
41 void (*reset)(pa_resampler *r);
82 struct pa_resampler { struct
127 pa_resampler* pa_resampler_new( argument
137 void pa_resampler_free(pa_resampler *r);
140 size_t pa_resampler_request(pa_resampler *r, size_t out_length);
143 size_t pa_resampler_result(pa_resampler *r, size_t in_length);
[all …]
Dresampler.c45 static int copy_init(pa_resampler *r);
47 static void setup_remap(const pa_resampler *r, pa_remap_t *m, bool *lfe_remixed);
50 static int (* const init_table[])(pa_resampler *r) = {
127 static void calculate_gcd(pa_resampler *r) { in calculate_gcd()
345 pa_resampler* pa_resampler_new( in pa_resampler_new()
355 pa_resampler *r = NULL; in pa_resampler_new()
368 r = pa_xnew0(pa_resampler, 1); in pa_resampler_new()
472 void pa_resampler_free(pa_resampler *r) { in pa_resampler_free()
497 void pa_resampler_set_input_rate(pa_resampler *r, uint32_t rate) { in pa_resampler_set_input_rate()
515 void pa_resampler_set_output_rate(pa_resampler *r, uint32_t rate) { in pa_resampler_set_output_rate()
[all …]
Dsource-output.h214 pa_resampler* resampler; /* may be NULL */
Dsink-input.h260 pa_resampler *resampler; /* may be NULL */
Dsink-input.c63 pa_resampler *r; in calculate_resampler_history_bytes()
360 pa_resampler *resampler = NULL; in pa_sink_input_new()
2578 pa_resampler *new_resampler; in pa_sink_input_update_resampler()
Dsource-output.c236 pa_resampler *resampler = NULL; in pa_source_output_new()
1815 pa_resampler *new_resampler; in pa_source_output_update_resampler()
/third_party/pulseaudio/src/pulsecore/resampler/
Dlibsamplerate.c28 static unsigned libsamplerate_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_fra… in libsamplerate_resample()
59 static void libsamplerate_update_rates(pa_resampler *r) { in libsamplerate_update_rates()
67 static void libsamplerate_reset(pa_resampler *r) { in libsamplerate_reset()
75 static void libsamplerate_free(pa_resampler *r) { in libsamplerate_free()
84 int pa_resampler_libsamplerate_init(pa_resampler *r) { in pa_resampler_libsamplerate_init()
Dspeex.c57 static unsigned speex_resample_float(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frame… 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()
119 static void speex_update_rates(pa_resampler *r) { in speex_update_rates()
128 static void speex_reset(pa_resampler *r) { in speex_reset()
138 static void speex_free(pa_resampler *r) { in speex_free()
149 int pa_resampler_speex_init(pa_resampler *r) { in pa_resampler_speex_init()
Dsoxr.c29 static unsigned resampler_soxr_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_fr… in resampler_soxr_resample()
56 static void resampler_soxr_free(pa_resampler *r) { in resampler_soxr_free()
66 static void resampler_soxr_reset(pa_resampler *r) { in resampler_soxr_reset()
96 static void resampler_soxr_update_rates(pa_resampler *r) { in resampler_soxr_update_rates()
105 int pa_resampler_soxr_init(pa_resampler *r) { in pa_resampler_soxr_init()
Dtrivial.c33 static unsigned trivial_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, p… in trivial_resample()
78 static void trivial_update_rates_or_reset(pa_resampler *r) { in trivial_update_rates_or_reset()
88 int pa_resampler_trivial_init(pa_resampler *r) { in pa_resampler_trivial_init()
Dffmpeg.c33 static unsigned ffmpeg_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa… in ffmpeg_resample()
100 static void ffmpeg_free(pa_resampler *r) { in ffmpeg_free()
110 int pa_resampler_ffmpeg_init(pa_resampler *r) { in pa_resampler_ffmpeg_init()
Dpeaks.c37 static unsigned peaks_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_… in peaks_resample()
137 static void peaks_update_rates_or_reset(pa_resampler *r) { in peaks_update_rates_or_reset()
147 int pa_resampler_peaks_init(pa_resampler*r) { in pa_resampler_peaks_init()
/third_party/pulseaudio/src/tests/
Dresampler-test.c411 pa_resampler *resampler; in main()
444 pa_resampler *forth, *back; in main()
Dremix-test.c84 pa_resampler *r; in main()
Dresampler-rewind-test.c68 static size_t calculate_resampler_history_bytes(pa_resampler *r, size_t in_rewind_frames) { in calculate_resampler_history_bytes()
229 pa_resampler *resampler; in main()
/third_party/pulseaudio/src/modules/
Dmodule-virtual-surround-sink.c739 pa_resampler *resampler; in pa__init()