/third_party/ffmpeg/tests/fate/ |
H A D | libswresample.mak | 16 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 D | libavresample.mak | 35 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 D | soxr_resample.c | 70 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 D | swresample.c | 181 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 D | Makefile | 13 resample.o \
|
H A D | resample.c | 31 #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 D | swresample_internal.h | 153 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 D | resample.c | 26 #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 D | Makefile | 13 resample.o \
|
H A D | internal.h | 95 ResampleContext *resample; /**< resampling context */ member
|
H A D | utils.c | 34 #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 D | rtp-gstreamer.c | 424 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 D | speex.c | 162 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 D | libsamplerate.c | 95 r->impl.resample = libsamplerate_resample; in pa_resampler_libsamplerate_init()
|
H A D | trivial.c | 94 r->impl.resample = trivial_resample; in pa_resampler_trivial_init()
|
H A D | soxr.c | 150 /* 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 D | ffmpeg.c | 69 /* Now, resample */ in ffmpeg_resample() 128 r->impl.resample = ffmpeg_resample; in pa_resampler_ffmpeg_init()
|
H A D | peaks.c | 155 r->impl.resample = peaks_resample; in pa_resampler_peaks_init()
|
/third_party/alsa-lib/test/ |
H A D | latency.c | 67 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 D | pcm.c | 29 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 D | fdperf.c | 310 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 D | alsaloop.c | 111 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 D | alsaloop.h | 102 unsigned int resample:1; /* do resample */ member
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | resampler.h | 39 unsigned (*resample)(pa_resampler *r, const pa_memchunk *in, unsigned in_n_frames, pa_memchunk *out, unsigned *out_n_frames); member
|
H A D | resampler.c | 421 /* 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()
|