diff options
author | Robert Swain <robert.swain@gmail.com> | 2008-01-12 11:11:19 +0000 |
---|---|---|
committer | Andreas Ă–man <andreas@lonelycoder.com> | 2008-01-12 11:11:19 +0000 |
commit | 4eb7a735cb7218794909e19773415be57ec959e4 (patch) | |
tree | 63a307e8d8395993efab8a29a3678102339dccdc /libavcodec/dsputil.h | |
parent | f5b410312fb201e819f158c78d3a8266dd07eae9 (diff) | |
download | ffmpeg-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.h | 6 |
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); |