Matthias Schwarzott schrieb: > On Friday 08 September 2006 22:56, Stefan Lucke wrote: >> On Freitag 08 September 2006 21:48, Chris Elsworth wrote: >>> On Fri, Sep 08, 2006 at 09:10:24PM +0200, Matthias Schwarzott wrote: >>>> Then I found a working version: >>>> Compiling softdevice with -O0 instead of -O2 made it working :))) >>>> (Exactly I use normally: -O2 -march=athlon-xp -fomit-frame-pointer >>>> -pipe, and changed the -O2 to -O0 leaving the rest as they are). >>>> >>>> It works now with -vo xv: and also with -vo shm:, the colors are >>>> correct for all channels not only these with 720px width. >>> Wow! Nice catch! I can confirm exactly the same result here, using >>> CXXFLAGS=-O0 -g -Wall -fPIC -Woverloaded-virtual >> I'd like to know: >> 1. compiler version >> mine is: >> gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) >> Copyright (C) 2004 Free Software Foundation, Inc. >> > gcc-Version 4.1.1 (Gentoo 4.1.1-r1) >
Maybe it is a compiler bug or at least a change in the behaviour. I had a similar problem some time ago, it went away when I disabled the mmx optimization. If with -O2 and --disable-mmx the code works, could you please try to enable the mmx by hand in the SoftOsd.c file separately for the Methods ScaleDownHoriz_MMX() and ScaleDownVert_MMX()? The best method to do this is to insert #define USE_MMX #define USE_MMX2 before the method and #undef USE_MMX #undef USE_MMX2 after it. If that breaks again, please tell me which method causes the problems. Thanks, Martin _______________________________________________ Softdevice-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/softdevice-devel
