[Mplayer-users] What to do before version 1.0

Christoph Lampert lampert at math.chalmers.se
Tue Jun 12 16:13:42 CEST 2001


>>What I wanted to say is that this sort of thing:
>>
>>#ifdef HAVE_3DNOW
>>#include "mmx/imdct_3dnow.c"
>>#else
>>void imdct_do_512(float data[],float delay[])
>>{
>>        int i, j;
>>...
>>
>>should really be decided at runtime, not at compile time.
>>
>It's bad idea for opensource software. It's increased size of code and don't 
give any effects.
>Also it requires call via pointer instead of immediate call, so it minor 
slowdown speed too.

So, we should go back to selfmodifying code (or even better self-modifying 
java-bytecode). Or create a "fat binary" with all versions together in one file. 
This might be 10MB, but hey, if user's really want.

No, seriously: There could very well be more than one package: non-optimized, 
MMX, 3DNow, SSE, SSE2. Many programs come e.g. in RPMs for different 
architechtures, why not mplayer? After all, it's only 3 extra lines in the 
generating script...

gruel




 


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list