diff avcodec.h @ 2082:3dc9bbe1b152 libavcodec

polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample filters
author michael
date Thu, 17 Jun 2004 15:43:23 +0000
parents 4bfb146e701b
children 02a4fd7c606c
line wrap: on
line diff
--- a/avcodec.h	Wed Jun 16 02:53:12 2004 +0000
+++ b/avcodec.h	Thu Jun 17 15:43:23 2004 +0000
@@ -1846,6 +1846,7 @@
 /* resample.c */
 
 struct ReSampleContext;
+struct AVResampleContext;
 
 typedef struct ReSampleContext ReSampleContext;
 
@@ -1854,6 +1855,9 @@
 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;