Home
last modified time | relevance | path

Searched refs:ResampleContext (Results 1 – 17 of 17) sorted by relevance

/third_party/ffmpeg/libavresample/arm/
Dresample_init.c32 AV_CHECK_OFFSET(struct ResampleContext, filter_bank, FILTER_BANK);
33 AV_CHECK_OFFSET(struct ResampleContext, filter_length, FILTER_LENGTH);
34 AV_CHECK_OFFSET(struct ResampleContext, src_incr, SRC_INCR);
35 AV_CHECK_OFFSET(struct ResampleContext, phase_shift, PHASE_SHIFT);
36 AV_CHECK_OFFSET(struct ResampleContext, phase_mask, PHASE_MASK);
38 void ff_resample_one_flt_neon(struct ResampleContext *c, void *dst0,
41 void ff_resample_one_s16_neon(struct ResampleContext *c, void *dst0,
44 void ff_resample_one_s32_neon(struct ResampleContext *c, void *dst0,
48 void ff_resample_linear_flt_neon(struct ResampleContext *c, void *dst0,
52 av_cold void ff_audio_resample_init_arm(ResampleContext *c, in ff_audio_resample_init_arm()
/third_party/ffmpeg/libavresample/aarch64/
Dresample_init.c30 AV_CHECK_OFFSET(struct ResampleContext, filter_bank, FILTER_BANK);
31 AV_CHECK_OFFSET(struct ResampleContext, filter_length, FILTER_LENGTH);
32 AV_CHECK_OFFSET(struct ResampleContext, phase_shift, PHASE_SHIFT);
33 AV_CHECK_OFFSET(struct ResampleContext, phase_mask, PHASE_MASK);
35 void ff_resample_one_dbl_neon(struct ResampleContext *c, void *dst0,
38 void ff_resample_one_flt_neon(struct ResampleContext *c, void *dst0,
41 void ff_resample_one_s16_neon(struct ResampleContext *c, void *dst0,
44 void ff_resample_one_s32_neon(struct ResampleContext *c, void *dst0,
48 av_cold void ff_audio_resample_init_aarch64(ResampleContext *c, in ff_audio_resample_init_aarch64()
/third_party/ffmpeg/libswresample/
Dresample.h30 typedef struct ResampleContext { struct
56 int (*resample_common)(struct ResampleContext *c, void *dst, argument
58 int (*resample_linear)(struct ResampleContext *c, void *dst,
61 } ResampleContext; typedef
63 void swri_resample_dsp_init(ResampleContext *c);
64 void swri_resample_dsp_x86_init(ResampleContext *c);
65 void swri_resample_dsp_arm_init(ResampleContext *c);
66 void swri_resample_dsp_aarch64_init(ResampleContext *c);
Dsoxr_resample.c32 static struct ResampleContext *create(struct ResampleContext *c, int out_rate, int in_rate, int fil… in create()
57 c = (struct ResampleContext *) in create()
64 static void destroy(struct ResampleContext * *c){ in destroy()
85 struct ResampleContext * c, AudioData *dst, int dst_size, in process()
111 static int invert_initial_buffer(struct ResampleContext *c, AudioData *dst, const AudioData *src, in invert_initial_buffer()
Dswresample_internal.h71 typedef struct ResampleContext * (* resample_init_func)(struct ResampleContext *c, int out_rate, in…
73 typedef void (* resample_free_func)(struct ResampleContext **c);
74 typedef int (* multiple_resample_func)(struct ResampleContext *c, AudioData *dst, int dst_size,…
76 typedef int (* set_compensation_func)(struct ResampleContext *c, int sample_delta, int compensa…
78 typedef int (* invert_initial_buffer_func)(struct ResampleContext *c, AudioData *dst, const Aud…
168 struct ResampleContext *resample; ///< resampling context
Dresample.c144 static int build_filter(ResampleContext *c, void *filter, double factor, int tap_count, int alloc, … in build_filter()
279 static void resample_free(ResampleContext **cc){ in resample_free()
280 ResampleContext *c = *cc; in resample_free()
287 static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_rate, int filter_siz… in resample_init()
383 static int rebuild_filter_bank_with_compensation(ResampleContext *c) in rebuild_filter_bank_with_compensation()
431 static int set_compensation(ResampleContext *c, int sample_delta, int compensation_distance){ in set_compensation()
452 static int multiple_resample(ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int … in multiple_resample()
488 int (*resample_func)(struct ResampleContext *c, void *dst, in multiple_resample()
518 ResampleContext *c = s->resample; in get_delay()
528 ResampleContext *c = s->resample; in get_out_samples()
[all …]
Dresample_template.c88 static int RENAME(resample_common)(ResampleContext *c, in RENAME()
143 static int RENAME(resample_linear)(ResampleContext *c, in RENAME()
Dresample_dsp.c46 void swri_resample_dsp_init(ResampleContext *c) in swri_resample_dsp_init()
/third_party/ffmpeg/libswresample/x86/
Dresample.asm31 struc ResampleContext
261 mov [ctxq+ResampleContext.frac ], fracd
263 mov [ctxq+ResampleContext.index], indexd
272 ; int resample_linear_$format(ResampleContext *ctx, float *dst,
307 mov indexd, [ctxq+ResampleContext.index]
308 mov fracd, [ctxq+ResampleContext.frac]
309 mov dst_incr_modd, [ctxq+ResampleContext.dst_incr_mod]
310 mov filter_bankq, [ctxq+ResampleContext.filter_bank]
311 mov src_incrd, [ctxq+ResampleContext.src_incr]
313 mov min_filter_len_x4d, [ctxq+ResampleContext.filter_length]
[all …]
Dresample_init.c32 int ff_resample_common_##type##_##opt(ResampleContext *c, void *dst, \
34 int ff_resample_linear_##type##_##opt(ResampleContext *c, void *dst, \
48 av_cold void swri_resample_dsp_x86_init(ResampleContext *c) in swri_resample_dsp_x86_init()
/third_party/ffmpeg/libavresample/
Dresample.h28 struct ResampleContext { struct
45 void (*resample_one)(struct ResampleContext *c, void *dst0, argument
66 ResampleContext *ff_audio_resample_init(AVAudioResampleContext *avr);
73 void ff_audio_resample_free(ResampleContext **c);
94 int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src);
Dinternal.h33 typedef struct ResampleContext ResampleContext; typedef
95 ResampleContext *resample; /**< resampling context */
111 void ff_audio_resample_init_aarch64(ResampleContext *c,
113 void ff_audio_resample_init_arm(ResampleContext *c,
Dresample.c67 static int build_filter(ResampleContext *c, double factor) in build_filter()
120 ResampleContext *ff_audio_resample_init(AVAudioResampleContext *avr) in ff_audio_resample_init()
122 ResampleContext *c; in ff_audio_resample_init()
224 void ff_audio_resample_free(ResampleContext **c) in ff_audio_resample_free()
236 ResampleContext *c; in avresample_set_compensation()
259 static int resample(ResampleContext *c, void *dst, const void *src, in resample()
334 int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src) in ff_audio_resample()
440 ResampleContext *c = avr->resample; in avresample_get_delay()
Dresample_template.c64 static void SET_TYPE(resample_linear)(ResampleContext *c, void *dst0, int dst_index, in SET_TYPE()
85 static void SET_TYPE(resample_one)(ResampleContext *c, in SET_TYPE()
/third_party/ffmpeg/libavfilter/
Daf_resample.c38 typedef struct ResampleContext { struct
49 } ResampleContext; argument
53 ResampleContext *s = ctx->priv; in init()
80 ResampleContext *s = ctx->priv; in uninit()
120 ResampleContext *s = ctx->priv; in config_output()
189 ResampleContext *s = ctx->priv; in request_frame()
226 ResampleContext *s = ctx->priv; in filter_frame()
325 ResampleContext *s = obj; in resample_child_next()
362 .priv_size = sizeof(ResampleContext),
/third_party/ffmpeg/libswresample/aarch64/
Dresample_init.c39 static int ff_resample_common_##TYPE##_neon(ResampleContext *c, void *dest, const void *source, \
105 av_cold void swri_resample_dsp_aarch64_init(ResampleContext *c)
/third_party/ffmpeg/libswresample/arm/
Dresample_init.c39 static int ff_resample_common_##TYPE##_neon(ResampleContext *c, void *dest, const void *source, \
105 av_cold void swri_resample_dsp_arm_init(ResampleContext *c)