Commit Graph

47 Commits

Author SHA1 Message Date
reimar a8580cbcf2 Disable liba52 SSE imdct for x86_64+PIC (e.g. OSX 64 bit) since it will
not compile for that combination.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29643 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-04 10:31:24 +00:00
bircoph 6e695dc64f Remove all kind of trailing whitespaces from all MPlayer's files.
This affects all kind of spaces (' ',^I,^M,^L,...): actually
[:space:] regex character set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29306 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 15:22:13 +00:00
ramiro ca242e5f73 Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29154 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-08 20:21:21 +00:00
diego 2c4882f890 Revert mistaken #ifdef --> #if change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28396 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:19:00 +00:00
diego eb4a4604c0 HAVE_3DNOW --> HAVE_AMD3DNOW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:29:53 +00:00
diego 401ea8e1db HAVE_3DNOWEX --> HAVE_3DNOWEXT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28361 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 21:03:02 +00:00
reimar 93d598c7b2 Lots and lots of #ifdef ARCH_... -> #if ARCH_...
and #ifdef HAVE_MMX etc -> #if HAVE_MMX.
There might be still more that need to be fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:21:21 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego d1dcbd2f87 Remove AltiVec vector declaration compiler compatibility macros.
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27350 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 12:26:04 +00:00
diego c6fe9d1af4 Check for HAVE_ALTIVEC_VECTOR_BRACES instead of __APPLE_CC__.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26927 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 12:05:24 +00:00
diego 55001d69f2 Refactor AltiVec macros as done for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26027 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 23:32:17 +00:00
diego 24af96f8cc There is a check for altivec.h in configure so use the preprocessor directive
set by configure instead of an OS-specific directive when #including altivec.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:16:00 +00:00
diego 17981e0ab6 Replace SYS_DARWIN conditional directive around gcc macros by __APPLE_CC__.
The macro definition depends on compiler capabilities, not OS features.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:07:18 +00:00
diego b89020afc8 Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:21:14 +00:00
diego 57f3213401 CVS --> Subversion in copyright notices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
rathann db9186aa8a sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 2: cosmetic changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18724 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:59:40 +00:00
rathann d686f4e3cf sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 1: functional changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18723 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:58:06 +00:00
nplourde a3713ceb29 add support for intel mac. mp3lib is not fixed yet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:46:54 +00:00
gpoirier 98f8e0088b Fixes segfault on IA-32 machines caused by the ASM patch for AMD-64 for a52.
Patch by Aurelien Jacobs < aurel AH gnuage POUM org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16190 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-09 19:58:13 +00:00
aurel 236d514567 liba52 asm optimizations ported to amd64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16174 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 13:33:50 +00:00
michael 3f3ef3d48b one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, netfarm it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15618 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 20:54:03 +00:00
diego 882fe89f99 Mark modified files as such to comply more closely with GPL §2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14992 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-22 23:27:18 +00:00
michael 813b34f68f attribute_used patch by (VMiklos <mamajom at axelero dot hu>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12304 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 19:47:50 +00:00
arpi 54cbe5eec3 The two attached patches *should* allow for proper
compilation of the AltiVec stuff on both Darwin
and non-Darwin system. They've only been tested
for compilation on Debian using Debian's gcc-3.2.
Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9123 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-27 21:47:25 +00:00
arpi 418e699d7e 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 :-)
patch by Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9002 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 19:28:29 +00:00
arpi b987127e0e compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +00:00
michael 01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
nick 2fe888069c Restore K7 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4498 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 10:27:26 +00:00
atmos4 4e3181a168 mangle for win32 in liba52 (includes dummy mangle.h pointing to the one in main)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4248 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 05:12:34 +00:00
michael 8a95255ef2 runtime cpudetect in liba52 way
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3909 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 21:38:53 +00:00
michael 8066b4ad33 ported 3dnow(ex) optimizations from libac3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3885 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 01:47:27 +00:00
melanson 62ca4bb318 Fixed #ifdef discrepancy that was breaking compilation on PPC platform
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3721 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 21:28:30 +00:00
michael 2df1079043 adding some comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3624 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 18:42:36 +00:00
michael 1db88fbdcb removing unnecessary sse sin/cos LUT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3585 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 17:29:27 +00:00
michael 7e81abb944 sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3582 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 15:59:01 +00:00
michael 6682ec830b runtime cpu detection for the idct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3580 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 04:00:29 +00:00
michael 5b6028ca4f sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3554 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 03:30:08 +00:00
michael 1c8fe49230 sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3553 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 02:26:30 +00:00
michael b5f22afc63 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3550 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 00:59:44 +00:00
michael d93f2abce2 sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3547 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 00:37:55 +00:00
michael 39c0ccfb47 C optimizations
sse opt.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3538 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 23:00:03 +00:00
michael b92c4402e1 sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3535 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 21:39:10 +00:00
michael 3d2fbf6386 sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3530 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 15:43:15 +00:00
michael f2466bcec9 sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3528 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 15:00:02 +00:00
michael 0a8ad047cd a bit more SSE optimizations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3513 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 03:06:41 +00:00
michael bd695cbb5c some SSE optimizations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3509 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-15 23:26:52 +00:00
arpi 3af73ad342 imported from liba52 CVS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3395 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 15:28:44 +00:00