diff options
author | Janne Grunau <janne-libav@jannau.net> | 2014-04-21 16:12:21 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-04-24 18:28:26 +0200 |
commit | cae8df78759c2e69257f7fe58842f34c0d98a7ec (patch) | |
tree | 2300334cf8f1c9a3ab854743d16f06b16c91e998 /libavresample/resample.c | |
parent | a88e1d1c598e641eecd5d43730211d91c82787c6 (diff) | |
download | ffmpeg-cae8df78759c2e69257f7fe58842f34c0d98a7ec.tar.gz |
lavr: define ResampleContext in resample.h
Required for arch optimized resampling.
Diffstat (limited to 'libavresample/resample.c')
-rw-r--r-- | libavresample/resample.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libavresample/resample.c b/libavresample/resample.c index 5fd6b90052..d0585ff16d 100644 --- a/libavresample/resample.c +++ b/libavresample/resample.c @@ -26,35 +26,6 @@ #include "resample.h" #include "audio_data.h" -struct ResampleContext { - AVAudioResampleContext *avr; - AudioData *buffer; - uint8_t *filter_bank; - int filter_length; - int ideal_dst_incr; - int dst_incr; - unsigned int index; - int frac; - int src_incr; - int compensation_distance; - int phase_shift; - int phase_mask; - int linear; - enum AVResampleFilterType filter_type; - int kaiser_beta; - void (*set_filter)(void *filter, double *tab, int phase, int tap_count); - void (*resample_one)(struct ResampleContext *c, void *dst0, - int dst_index, const void *src0, - unsigned int index, int frac); - void (*resample_nearest)(void *dst0, int dst_index, - const void *src0, unsigned int index); - int padding_size; - int initial_padding_filled; - int initial_padding_samples; - int final_padding_filled; - int final_padding_samples; -}; - /* double template */ #define CONFIG_RESAMPLE_DBL |