[MPlayer-dev-eng] AMD64 assembler support

Johan Groth johan.groth at cell-telecom.co.uk
Sat Jul 30 18:01:28 CEST 2005


Johan Groth wrote:
> Hi,
> I wonder if anyone has succesfully ported the liba52 assembler to AMD64? 
> I managed to port the resampler and the downmixer but I got stumped on 
> imdct. It segfaults because of a corrupted stack (the return address 
> gets destroyed).

Hi again,
I've managed to fix the liba52 assembler so AMD64 users can now enjoy 
SSE optimized IMDCT transform.

==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================

I've attached a patch to fix this. The patch is against cvs (30/07/2005).

Regards,
Johan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amd64_assembler.diff
Type: text/x-patch
Size: 65433 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050730/b11c2ff8/attachment.bin>


More information about the MPlayer-dev-eng mailing list