[Ffmpeg-devel] Re: [PATCH] Intel Mac MMX/SSE2 support

Nigel Pearson nigel
Thu Jul 20 05:16:48 CEST 2006

	Hi. I'm Nigel.

	I did a lot of the porting of MythTV to the Mac,
and am thus an indirect user/developer of ffmpeg.
Sorry to jump in late, but I am anxious to get
some of this committed to reduce the patching
burden for Intel MythTV hackers.

	Assuming that we are not going to force users to
upgrade GAS, or Apple to change binary format,
could we discuss/apply the patch file by file?

	Guillaume's reworked patch seems fairly tidy to me.
Apart from one missing line of context at the end,
it applies cleanly to SVN r5799, and with the configure
workaround (no memalign), builds and almost works.

(make test fails ...
pass:0 changed:11
pass:1 changed:2
pass:2 changed:1
pass:3 changed:0
../ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -y -i 
./data/a-snow.avi -f rawvideo -s 352x288 ./data/out.yuv
/users/nigel/ffmpeg/tests/regression.sh: line 494: 27554 Illegal 
instruction     $ffmpeg -y -flags +bitexact -dct fastint -idct simple 
-bbenchmark $* >$datadir/bench.tmp 2>/tmp/ttmpeg$$
make[1]: *** [codectest] Error 132
make: *** [test] error 2

P.S. MythTV also has Apple-specific configure patches
to work out processor optimisation on Mac OS X,
and if you are really brave, I have some Mac HW
MPEG acceleration that I almost understand :-)

Nigel Pearson, nigel at ind.tansu.com.au|"Gentlemen,
Telstra Net. Eng., Sydney, Australia | you can't fight in here
Office: 9202 3900    Fax:  9261 3912 | - this is the war room!"
Mobile: 0408 664435  Home: 9792 6998 |     Dr Strangelove

More information about the ffmpeg-devel mailing list