[Ffmpeg-devel] benchmark of different CABAC routines
Guillaume Poirier
gpoirier
Tue Oct 10 14:49:23 CEST 2006
Hi,
Panagiotis Issaris wrote:
> On Tue, Oct 10, 2006 at 02:27:38PM +0200, Michael Niedermayer wrote:
>
>>[...]
>>
>>>>offtopic ... but can someone fix ffmpeg/configure so it sets march/mtune/mcpu ?
>>>
>>>According to the GCC manual, march implies mtune, and mcpu is a (deprecated)
>>>synonym for mtune. Here, my "configure --tune=athlon" sets the -march parameter,
>>>so that should be enough, no?
>>
>>id like some reasonable defaults like if configure is run on a p3 and the
>>user didnt explicitly specifies generic then -march should be set to
>>pentium3
>>just IMHO of course ...
>
> I see. That would be nice yes.
>
> Now, /bin/arch on my system just shows "i686" for all recent systems. Parsing
> /proc/cpuinfo would only work on GNU/Linux systems and cpuid based apps only on
> x86. I guess there is no generic way to do this or does anyone know a portable
> way? If there's no generic way, what would be better: An OS specific solution or
> an architecture specific one?
Yes, there's a way to do this:
cd ~/Prgm/
cp -i mplayer/configure ffmpeg/configure
;oP
In other words: MPlayer's configure already provides this kind of
detection/service.
Guillaume
More information about the ffmpeg-devel
mailing list