[FFmpeg-devel] Fixpoint FFT optimization, with MDCT and IMDCT wrappers for audio optimization

Michael Niedermayer michaelni
Sat Jul 28 13:46:51 CEST 2007


On Fri, Jul 27, 2007 at 09:38:53PM -0400, Marc Hoffman wrote:
> On 7/27/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> > Hi
> >
> > On Fri, Jul 27, 2007 at 05:40:14PM -0400, mmh wrote:
> > [...]
> 
> snip --- agreed and will make those changes.
> 
> > > --- libavcodec/fft.c  (revision 9807)
> > > +++ libavcodec/fft.c  (working copy)
> > > @@ -109,7 +109,7 @@
> > >                  }
> > >                  nblocks = nblocks >> 1;
> > >              } while (nblocks != 0);
> > > -            av_freep(&s->exptab);
> > > +//            av_freep(&s->exptab);
> > >          }
> >
> > hmm
> 
> 
> This because I'm testing on a machine that deallocates that array.
> i.e. X86 and guess what we make that array vanish.  Give me a
> direction, and I will cast down the code as you command.

ff_fft_init() should call the fixed point init
also
the mmx code in it should be split out into a i386/whatever.c
and allso called from ff_fft_init()

i think that would solve it?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070728/5fa89c17/attachment.pgp>



More information about the ffmpeg-devel mailing list