Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavresample/arm/
H A 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 *
[all...]
/third_party/ffmpeg/libavresample/aarch64/
H A 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/
H A Dresample.h30 typedef struct ResampleContext { struct
56 int (*resample_common)(struct ResampleContext *c, void *dst,
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);
H A Dsoxr_resample.c32 static struct ResampleContext *create(struct ResampleContext *c, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, 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()
H A Dswresample_internal.h71 typedef struct ResampleContext * (* resample_init_func)(struct ResampleContext *c, int out_rate, int in_rate, int filter_size, int phase_shift, int linear,
73 typedef void (* resample_free_func)(struct ResampleContext **c);
74 typedef int (* multiple_resample_func)(struct ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int src_size, int *consumed);
76 typedef int (* set_compensation_func)(struct ResampleContext *c, int sample_delta, int compensation_distance);
78 typedef int (* invert_initial_buffer_func)(struct ResampleContext *c, AudioData *dst, const AudioData *src, int src_size, int *dst_idx, int *dst_count);
172 struct ResampleContext *resample; ///< resampling context
H A Dresample.c145 static int build_filter(ResampleContext *c, void *filter, double factor, int tap_count, int alloc, int phase_count, int scale, in build_filter()
280 static void resample_free(ResampleContext **cc){ in resample_free()
281 ResampleContext *c = *cc; in resample_free()
288 static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, in resample_init()
384 static int rebuild_filter_bank_with_compensation(ResampleContext *c) in rebuild_filter_bank_with_compensation()
432 static int set_compensation(ResampleContext *c, int sample_delta, int compensation_distance){ in set_compensation()
453 static int multiple_resample(ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int src_size, int *consumed){ in multiple_resample()
486 int (*resample_func)(struct ResampleContext *c, void *dst, in multiple_resample()
513 ResampleContext * in get_delay()
[all...]
H A Dresample_template.c88 static int RENAME(resample_common)(ResampleContext *c, in resample_common()
143 static int RENAME(resample_linear)(ResampleContext *c, in resample_linear()
H A Dresample_dsp.c46 void swri_resample_dsp_init(ResampleContext *c) in swri_resample_dsp_init()
/third_party/ffmpeg/libswresample/x86/
H A Dresample.asm31 struc ResampleContext
59 ; int resample_common_$format(ResampleContext *ctx, $format *dst,
82 mov indexd, [ctxq+ResampleContext.index]
83 mov fracd, [ctxq+ResampleContext.frac]
84 mov dst_incr_modd, [ctxq+ResampleContext.dst_incr_mod]
85 mov filter_bankq, [ctxq+ResampleContext.filter_bank]
86 mov src_incrd, [ctxq+ResampleContext.src_incr]
88 mov min_filter_len_x4d, [ctxq+ResampleContext.filter_length]
89 mov dst_incr_divd, [ctxq+ResampleContext.dst_incr_div]
94 mov ecx, [ctxq+ResampleContext
[all...]
H A Dresample_init.c33 int ff_resample_common_##type##_##opt(ResampleContext *c, void *dst, \
35 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/
H A Dresample.h28 struct ResampleContext { struct
45 void (*resample_one)(struct ResampleContext *c, void *dst0,
58 * Allocate and initialize a ResampleContext.
61 * ResampleContext.
64 * @return newly-allocated ResampleContext
66 ResampleContext *ff_audio_resample_init(AVAudioResampleContext *avr);
69 * Free a ResampleContext.
71 * @param c ResampleContext
73 void ff_audio_resample_free(ResampleContext **c);
89 * @param c ResampleContext
[all...]
H A 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,
H A 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()
H A Dresample_template.c64 static void SET_TYPE(resample_linear)(ResampleContext *c, void *dst0, int dst_index, in resample_linear()
85 static void SET_TYPE(resample_one)(ResampleContext *c, in resample_one()
/third_party/ffmpeg/libavfilter/
H A Daf_resample.c38 typedef struct ResampleContext { struct
49 } ResampleContext; typedef
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/
H A Dresample_init.c40 static int ff_resample_common_##TYPE##_neon(ResampleContext *c, void *dest, const void *source, \
106 av_cold void swri_resample_dsp_aarch64_init(ResampleContext *c) in DECLARE_RESAMPLE_COMMON_TEMPLATE()
/third_party/ffmpeg/libswresample/arm/
H A Dresample_init.c40 static int ff_resample_common_##TYPE##_neon(ResampleContext *c, void *dest, const void *source, \
106 av_cold void swri_resample_dsp_arm_init(ResampleContext *c) in DECLARE_RESAMPLE_COMMON_TEMPLATE()

Completed in 8 milliseconds