summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-06-17 15:43:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-06-17 15:43:23 +0000
commitaaaf1635c058dd17bf977356f0deb10b009bc059 (patch)
tree27523a121b0bd20672931e4ad71ca2197d5ff895 /libavcodec/avcodec.h
parent4904d6c2d3f94029c8ba01d865c50cd0d6aa124f (diff)
polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample filters
Originally committed as revision 3228 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index de6fd958fc..c71e4a946e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1846,6 +1846,7 @@ extern AVCodec ac3_decoder;
/* resample.c */
struct ReSampleContext;
+struct AVResampleContext;
typedef struct ReSampleContext ReSampleContext;
@@ -1854,6 +1855,9 @@ ReSampleContext *audio_resample_init(int output_channels, int input_channels,
int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples);
void audio_resample_close(ReSampleContext *s);
+struct AVResampleContext *av_resample_init(int out_rate, int in_rate);
+int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx);
+
/* YUV420 format is assumed ! */
struct ImgReSampleContext;