Home
last modified time | relevance | path

Searched refs:resample (Results 1 - 25 of 28) sorted by relevance

12

/third_party/ffmpeg/tests/fate/
H A Dlibswresample.mak16 FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
17 fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
18 fate-swr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):internal_sample_fmt=$(3):exact_rational=0:linear_interp=0,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=0:linear_interp=0 -f wav -c:a pcm_s16le -
20 fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
21 fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
22 fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
23 fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
30 fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67
31 fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
33 fate-swr-resample
[all...]
H A Dlibavresample.mak35 FATE_LAVR_RESAMPLE += fate-lavr-resample-$(3)-$(1)-$(2)
36 fate-lavr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
37 fate-lavr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -ar $(2) -internal_sample_fmt $(3) -f $(4) -af atrim=end_sample=10240 -
38 fate-lavr-resample-$(3)-$(1)-$(2): CMP = oneoff
39 fate-lavr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
40 fate-lavr-resample-$(3)-$(1)-$(2): FUZZ = 6
41 fate-lavr-resample-$(3)-$(1)-$(2): REF = $(SAMPLES)/lavr/lavr-resample-$(3)-$(1)-$(2)-v3
49 FATE_LAVR_RESAMPLE += fate-lavr-resample-linear
50 fate-lavr-resample
[all...]
/third_party/ffmpeg/libswresample/
H A Dsoxr_resample.c70 s->delayed_samples_fixup = soxr_delay((soxr_t)s->resample); in flush()
72 soxr_process((soxr_t)s->resample, NULL, 0, NULL, NULL, 0, NULL); in flush()
77 soxr_process((soxr_t)s->resample, &f, 0, &idone, &f, 0, &odone); in flush()
78 s->delayed_samples_fixup -= soxr_delay((soxr_t)s->resample); in flush()
100 double delayed_samples = soxr_delay((soxr_t)s->resample); in get_delay()
118 double delayed_samples = soxr_delay((soxr_t)s->resample); in get_out_samples()
H A Dswresample.c181 s->resampler->free(&s->resample); in swr_free()
372 s->resample = s->resampler->init(s->resample, s->out_sample_rate, s->in_sample_rate, s->filter_size, s->phase_shift, s->linear_interp, s->cutoff, s->int_sample_fmt, s->filter_type, s->kaiser_beta, s->precision, s->cheby, s->exact_rational); in swr_init()
373 if (!s->resample) { in swr_init()
378 s->resampler->free(&s->resample); in swr_init()
383 && s->resample){ in swr_init()
438 if(!s->resample && !s->rematrix && !s->channel_map && !s->dither.method){ in swr_init()
461 if(s->resample) in swr_init()
466 if(s->resample) in swr_init()
474 if(s->resample){ in swr_init()
587 static int resample(SwrContext *s, AudioData *out_param, int out_count, resample() function
[all...]
H A DMakefile13 resample.o \
H A Dresample.c31 #include "resample.h"
513 ResampleContext *c = s->resample; in get_delay()
523 ResampleContext *c = s->resample; in get_out_samples()
542 ResampleContext *c = s->resample; in resample_flush()
H A Dswresample_internal.h153 AudioData postin; ///< post-input audio data: used for rematrix/resample
155 AudioData preout; ///< pre-output audio data: used for rematrix/resample
157 AudioData in_buffer; ///< cached audio data (convert and resample purpose)
172 struct ResampleContext *resample; ///< resampling context member
/third_party/ffmpeg/libavresample/
H A Dresample.c26 #include "resample.h"
205 "resample buffer"); in ff_audio_resample_init()
211 av_log(avr, AV_LOG_DEBUG, "resample: %s from %d Hz to %d Hz\n", in ff_audio_resample_init()
247 c = avr->resample; in avresample_set_compensation()
259 static int resample(ResampleContext *c, void *dst, const void *src, in resample() function
404 /* TODO: try to calculate this without the dummy resample() run */ in ff_audio_resample()
406 out_samples = resample(c, NULL, NULL, NULL, c->buffer->nb_samples, in ff_audio_resample()
415 /* resample each channel plane */ in ff_audio_resample()
417 out_samples = resample(c, (void *)dst->data[ch], in ff_audio_resample()
440 ResampleContext *c = avr->resample; in avresample_get_delay()
[all...]
H A DMakefile13 resample.o \
H A Dinternal.h95 ResampleContext *resample; /**< resampling context */ member
H A Dutils.c34 #include "resample.h"
236 avr->resample = ff_audio_resample_init(avr); in avresample_open()
237 if (!avr->resample) { in avresample_open()
271 ff_audio_resample_free(&avr->resample); in avresample_close()
447 av_log(avr, AV_LOG_TRACE, "[resample] %s to %s\n", in avresample_convert()
450 ret = ff_audio_resample(avr->resample, resample_out, in avresample_convert()
/third_party/pulseaudio/src/modules/rtp/
H A Drtp-gstreamer.c424 GstElement *resample = NULL, *opusdec = NULL; in init_receive_pipeline() local
435 MAKE_ELEMENT(resample, "audioresample"); in init_receive_pipeline()
446 gst_bin_add_many(GST_BIN(c->pipeline), opusdec, resample, NULL); in init_receive_pipeline()
483 !gst_element_link(opusdec, resample) || in init_receive_pipeline()
484 !gst_element_link(resample, appsink)) { in init_receive_pipeline()
530 if (resample) in init_receive_pipeline()
531 gst_object_unref(resample); in init_receive_pipeline()
/third_party/pulseaudio/src/pulsecore/resampler/
H A Dspeex.c162 r->impl.resample = speex_resample_int; in pa_resampler_speex_init()
168 r->impl.resample = speex_resample_float; in pa_resampler_speex_init()
H A Dlibsamplerate.c95 r->impl.resample = libsamplerate_resample; in pa_resampler_libsamplerate_init()
H A Dtrivial.c94 r->impl.resample = trivial_resample; in pa_resampler_trivial_init()
H A Dsoxr.c150 /* Maximum resample ratio is 100:1 */ in pa_resampler_soxr_init()
163 r->impl.resample = resampler_soxr_resample; in pa_resampler_soxr_init()
H A Dffmpeg.c69 /* Now, resample */ in ffmpeg_resample()
128 r->impl.resample = ffmpeg_resample; in pa_resampler_ffmpeg_init()
H A Dpeaks.c155 r->impl.resample = peaks_resample; in pa_resampler_peaks_init()
/third_party/alsa-lib/test/
H A Dlatency.c67 int resample = 1; variable
114 err = snd_pcm_hw_params_set_rate_resample(handle, params, resample); in setparams_stream()
116 printf("Resample setup failed for %s (val %i): %s\n", id, resample, snd_strerror(err)); in setparams_stream()
660 resample = 0; in main()
H A Dpcm.c29 static int resample = 1; /* enable alsa-lib resampling */ variable
116 err = snd_pcm_hw_params_set_rate_resample(handle, params, resample); in set_hwparams()
753 "-n,--noresample do not resample\n" in help()
864 resample = 0; in main()
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfdperf.c310 resample(void) in resample() function
629 resample(); in counter_dialog()
699 resample(); in main_ui()
723 resample(); in dump_counters()
725 resample(); in dump_counters()
/third_party/alsa-utils/alsaloop/
H A Dalsaloop.c111 handle->resample = 0; in create_loopback_handle()
186 "-n,--resample resample in alsa-lib\n" in help()
380 {"resample", 0, NULL, 'n'}, in parse_config()
621 play->resample = capt->resample = arg_resample; in parse_config()
H A Dalsaloop.h102 unsigned int resample:1; /* do resample */ member
/third_party/pulseaudio/src/pulsecore/
H A Dresampler.h39 unsigned (*resample)(pa_resampler *r, const pa_memchunk *in, unsigned in_n_frames, pa_memchunk *out, unsigned *out_n_frames); member
H A Dresampler.c421 /* pipeline is: format conv. -> remap -> resample -> format conv. */ in pa_resampler_new()
429 /* pipeline is: format conv. -> resample -> remap -> format conv. */ in pa_resampler_new()
1558 static pa_memchunk *resample(pa_resampler *r, pa_memchunk *input) { in resample() function
1566 if (!r->impl.resample || !input->length) in resample()
1574 leftover_n_frames = r->impl.resample(r, input, in_n_frames, &r->resample_buf, &out_n_frames); in resample()
1638 resample(r, buf); in pa_resampler_run()
1650 buf = resample(r, buf); in pa_resampler_run()
1652 buf = resample(r, buf); in pa_resampler_run()

Completed in 22 milliseconds

12