[FFmpeg-devel] [PATCH] Move Kaiser-Bessel Derived window to mdct.c

Aurelien Jacobs aurel
Sat Jan 12 00:14:38 CET 2008


Robert Swain wrote:

> Hello,
> 
> On 11/01/2008, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Fri, Jan 11, 2008 at 12:53:10PM +0000, Robert Swain wrote:
> > > From 2c1ff501a911f61251eb4ccd4e8f90386c178337 Mon Sep 17 00:00:00
> > > 2001 From: Robert Swain <rob at opendot.cl>
> > > Date: Fri, 11 Jan 2008 09:06:52 +0000
> > > Subject: [PATCH] Move Kaiser-Bessel Derived window generation to
> > > mdct.c
> > >
> > > ---
> > >  libavcodec/ac3dec.c  |   26 +-------------------------
> > >  libavcodec/dsputil.h |    1 +
> > >  libavcodec/mdct.c    |   24 ++++++++++++++++++++++++
> > >  3 files changed, 26 insertions(+), 25 deletions(-)
> > [...]
> > > diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
> > > index d541fe0..8dc5ea1 100644
> > > --- a/libavcodec/dsputil.h
> > > +++ b/libavcodec/dsputil.h
> > > @@ -645,6 +645,7 @@ typedef struct MDCTContext {
> > >      FFTContext fft;
> > >  } MDCTContext;
> > >
> > > +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);
> > > diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c
> > > index de32752..668c514 100644
> > > --- a/libavcodec/mdct.c
> > > +++ b/libavcodec/mdct.c
> > > @@ -26,6 +26,30 @@
> > >   */
> > >
> > >  /**
> > > + * Generate a Kaiser-Bessel Derived Window.
> > > + */
> >
> > Doxygen comments should be in the header ideally (they are easier
> > to find in the header) especially with installed headers though
> > that doesnt apply here
> 
> It seems going back and editing the incremental commits isn't
> particularly easy so I'm going to give up on git's wonderfulness
> (unless anyone has suggestions for managing this) and approach each
> step one at a time. Back to svn for the moment.

I guess StGit (Stacked Git) or guilt could help you (see
http://git.or.cz/gitwiki/PatchManagement ).

Aurel




More information about the ffmpeg-devel mailing list