aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorRobert Swain <robert.swain@gmail.com>2008-01-12 11:11:19 +0000
committerAndreas Ă–man <andreas@lonelycoder.com>2008-01-12 11:11:19 +0000
commit4eb7a735cb7218794909e19773415be57ec959e4 (patch)
tree63a307e8d8395993efab8a29a3678102339dccdc /libavcodec/dsputil.h
parentf5b410312fb201e819f158c78d3a8266dd07eae9 (diff)
downloadffmpeg-4eb7a735cb7218794909e19773415be57ec959e4.tar.gz
Make the Kaiser-Bessel window generator a common function
Patch by Robert Swain, robert d swain a gmail d com Originally committed as revision 11514 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index d541fe0abd..da4c3a9089 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -645,6 +645,12 @@ typedef struct MDCTContext {
FFTContext fft;
} MDCTContext;
+/**
+ * Generate a Kaiser-Bessel Derived Window.
+ * @param window pointer to half window
+ */
+void ff_kbd_window_init(float *window);
+
int ff_mdct_init(MDCTContext *s, int nbits, int inverse);
void ff_imdct_calc(MDCTContext *s, FFTSample *output,
const FFTSample *input, FFTSample *tmp);