[MPlayer-dev-eng] [PATCH] AltiVec: dct64 for mp3lib, IMDCT for liba52, detection code

Romain Dolbeau dolbeau at irisa.fr
Thu Jan 16 16:22:12 CET 2003


Hello all,

I've made a new version of my AltiVec patch for mplayer.

It includes

1) An altivec-optimized DCT64 for mp3lib
    (partially, it seems roughly three times as fast as
    the C code according to quick-n-dirty gprof tests)
    This one is bit-perfect.

It also includes my previous patch:

2) An AltiVec-enhanced IMDCT for liba52 (liba52/imdct.c)
     It's nearly bit-perfect, I have a couple of lsb
     changed in a 128 frames sample. I can't hear the
     differences :-)

3) AltiVec detection code ("borrowed" from FFmpeg) &
    enough code to enable the AltiVec IMDCT in liba52
    and mp3lib.

If there's any problem with this patch please tell me.
(and in particular how to add cpu-specific
  optimisation to mp3lib, it seems a bit x86-centric...)

-- 
Romain Dolbeau


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-3.patch.gz
Type: application/gzip
Size: 8367 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030116/f9f92a4f/attachment.bin>


More information about the MPlayer-dev-eng mailing list