[MPlayer-dev-eng] [PATCH] Mac OS X updates for darwinfixlib, libmpeg2 and ao_macosx

Alex Beregszaszi alex at fsn.hu
Tue Jun 17 23:28:12 CEST 2003


Hi,

> > CAN_COMPILE_ALTIVEC -- if gcc supports compilation
> >    (always true if HAVE_ALTIVEC is true)
> > HAVE_ALTIVEC -- if altivec is supported on this arch
> > HAVE_ALTIVEC_H -- ...
> 
> 	I wonder if it's necessary to have both CAN_COMPILE_ALTIVEC
> 	and HAVE_ALTIVEC.   Does it make sense to say HAVE_ALTIVEC but
> 	not be able to compile it?   
Yes, if a system has a G3 or older proc (but ppc!), but it can compile
altivec instructions, why not? It's always runtimely detected.

> 	
> 	Would having only HAVE_ALTIVEC and HAVE_ALTIVEC_H be enough?  I
> 	know that on a G4 OS/X system HAVE_ALTIVEC is true but
>         HAVE_ALTIVEC_H is false.
> 
> 	With libmpeg2 all I needed to do was copy cpu_state.c from
> 	mpeg2dec/libmpeg2's CVS version into MPlayer/libmpeg2/ - the
> 	recent version compile without problem.   How does the version
> 	of libmpeg2 bundled with MPlayer differ from the CVS version of
> 	libmpeg2 I wonder?   Would updating the bundled version be 
> 	sufficient?
Will have a look at it, but I only have G3 machines - someone could
donate me a G4 CPU ;)
(for Mac or for Pegasos)

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-dev-eng mailing list