[Mplayer-dev-eng] [Experimental PATCH] downmix_3dnow.S
nickols_k at mail.ru
Sat May 12 12:48:14 CEST 2001
On Fri, 11 May 2001 12:48:37 +0200 (CEST), Arpi wrote:
>> >for testing, you can download movie trailer vobs (50-100 mb each) from
>> >the net, they usually have ac3 audio.
>> >for example:
>> Oh thanks ;( !!!
>> >i want to test it, but i have no AMD cpu at all :)
>> >what about SSE support?
>> SSE support already exists in libac3. For detail see main/libac3/downmix/downmix_kni.S
>Downmix is just a small part of decoding.. btw, at least on my celeronII,
>that kni code is exactly as fast as the 586 asm code.
>(but about 3% faster than .c version)
I know it. There are a tons of pure C code in time-critical imdct.c+srfft.c+...
But I still have no ac3 samples - may be later, I hope.
What you think about adding to mplayer possibility to playback a pure
audio streams (like mp3, ac3 and so on)? Such feature could make optimization
easy on top small samples.
And in this case mplayer could be renamed to 'media player for linux' or "multimedia player for linux" ;-)
And last moment: Mplayer has imported libraries such as (libmp3, libac3, ...). They probably have
own centres of development. Did you ask their authors about expanding mmx-optimized code?
And how you plan to synchronize those projects later?
Best regards! Nick
P.S.: Mplayer (and its imported parts) contains a places which can be optimized with using inline-assembler.
Does mplayer run on non Intel architectures (at least with code which not required win32.dll)?
It would be better to add in mplayer something like HAVE_IA32 and HAVE_CPU=3(4,5,6) to enable such
assembler optimization. HAVE_CPU or likewise should be numeric for
#if HAVE_CPU > 3 constructions.
May you have any ideas about names such macros. (For compatibility with further importing, addition and
P.P.S.: I'm very interesting with results of downmix_3dnow testing.
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
More information about the MPlayer-dev-eng