[MPlayer-dev-eng] [RFC] faster faad decoding

Bernd Ernesti mplayer-dev-eng at lists.veego.de
Wed Dec 7 19:18:07 CET 2005


On Wed, Dec 07, 2005 at 05:44:00PM +0100, Reimar Döffinger wrote:
> Hi,
> On Wed, Dec 07, 2005 at 05:34:27PM +0100, Reimar Döffinger wrote:
> > the attached patch speeds up AAC decoding esp. in integer mode on x86.
> > Unfortunately it also contains some parts that I think slow down
> > decoding.
> > I don't want to work on it any more, but maybe someone else can pick out
> > and clean up the good parts...
> 
> this patch I mean *g*

And I think you forgot to include a patch for the configure script to fix this
problem:

Checking for internal FAAD2 (AAC) support ... no (broken gcc)

>From the configure.log:

cc -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o /tmp/mplayer-conf--5305.o /tmp/mplayer-conf--5305.c -c -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -I/mplayer/libfaad2
In file included from /tmp/mplayer-conf--5305.c:37:
/mplayer/libfaad2/common.h:46:30: libvo/fastmemcpy.h: No such file or directory

ldd /tmp/mplayer-conf--5305.o
ldd: /tmp/mplayer-conf--5305.o: No such file or directory

See attached patch.

Bernd

-------------- next part --------------
--- configure-orig	2005-12-07 18:17:24.000000000 +0100
+++ configure	2005-12-07 18:24:58.000000000 +0100
@@ -5617,7 +5617,7 @@
 echores "$_faac"
 
 echocheck "internal FAAD2 (AAC) support"
-_inc_faad="-I`pwd`/libfaad2"
+_inc_faad="-I`pwd`/libfaad2 -I`pwd`"
 if test "$_faad_internal" = auto ; then
   # the faad check needs a config.h file
   if not test -f "config.h" ; then


More information about the MPlayer-dev-eng mailing list