[FFmpeg-devel] C99 or GCC extensions

Axel Holzinger aholzinger
Mon Jul 21 10:53:41 CEST 2008


Michael Niedermayer writes:
> On Sun, Jul 20, 2008 at 02:17:26PM +0200, Axel Holzinger wrote:
> > Axel Holzinger <aholzinger at gmx.de> writes:
> >
> > <...>
> >
> > > > Please also post some benchmarks that show that the uses of
> > > > FASTDIV didnt become slower. (see START/STOP_TIMER)
> > >
> > > Will do so, although I won't be able to do this for ARM V4,
> which is
> > > also concerned.
> > >
> > > Of course I checked the disassembly on Intel C compiler and I
> > > couldn't see a difference in the code.
> >
> > Hi again, I looked at the START/STOP TIMER code and come up with
> the
> > attached main.c file which implements loops of FASTDIVs with the
> > existing and the proposed implementation together with the
> definition
> > and table of FASTDIV, to keep everything in a single file.
> >
> > I hope I did get this right, otherwise the following output on my
> dual
> > Core 2 Duo machine is obsolete:
> 
> START/STOP_TIMER should be surrounding an EXISTING use of FASTDIV in
> lavc and then decode a file to /dev/null and look at the numbers.

Okay, I will mess around with this and come up with my findings,
later :-)

Cheers
Axel





More information about the ffmpeg-devel mailing list