Commit Graph

156 Commits

Author SHA1 Message Date
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
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 17aebba77f Fix HAVE_VIS vs. HAVE_MVI typo, SPARC has MVI, not VIS.
patch by Alexis Ballier, alexis.ballier gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28013 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 08:29:34 +00:00
diego 480048ec6f Remove IWMMXT optimizations through libavcodec from libmpeg2.
According to Siarhei Siamashka libavcodec is faster on ARM so it is better to
use it directly instead of creating this hackish mix of two libraries.
Plus, these local changes would never be acceptable upstream, so no good
reason for keeping it in our local patchset remains.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27677 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-01 01:01:59 +00:00
diego 6ed300cfcb Sync diff with libmpeg2 update.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27605 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 17:33:04 +00:00
diego bbcccf2d19 Update internal libmpeg2 copy to version 0.5.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27604 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 17:31:45 +00:00
diego 26972b8895 libmpeg-0.4.1.diff was renamed to libmpeg2_changes.diff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27603 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 17:06:42 +00:00
diego 60c05a176f Remove version string from name of local changes diff file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27601 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 14:23:45 +00:00
diego d60e8b3d72 Use preprocessor conditionals to disable CPU-extension-specific code. We cannot
rely on libmpeg2's internal CPU extension handling, it leads to link failures
with our build system. Fixes Bugzilla #1188.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27554 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-09 10:56:51 +00:00
diego 4c532c4eb7 cosmetics: Fix offsets and fuzz in local diff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27553 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-09 10:52:47 +00:00
diego 9fd59e5379 Fix ARM linking failure when IWMMXT support is disabled.
patch by Siarhei Siamashka, siarhei.siamashka gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27393 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 23:15:36 +00:00
diego c8562086dd Remove obsolete diff hunk that is no longer applied to the code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27392 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 23:09:45 +00:00
diego cbe1fcbf83 Drop USE_ prefix from USE_MPLAYER_CPUDETECT #define.
It is unlike the other USE_ #defines set by configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27372 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 11:48:01 +00:00
diego 71f6340af7 Check for ALTIVEC_H instead of __APPLE_CC__ to decide which AltiVec vector
declaration syntax to use. Checking for HAVE_ALTIVEC_VECTOR_BRACES would be
better, but this variant is more likely to be mergeable upstream.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26928 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 12:09:06 +00:00
diego d8fccf4d46 Only compile and use libmpeg2 AltiVec code when AltiVec is available. The
AltiVec code needs -maltivec to compile, but then AltiVec instructions
appear in other places of the code causing MPlayer to sigill.
Somehow upstream libmpeg2 manages not to sigill under what appear to be
the same circumstances. Enlightenment welcome.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26657 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 15:23:22 +00:00
diego 6f0085c087 Remove modification notes from unmodified files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26651 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 11:19:27 +00:00
diego c0d5690ad0 Fix compilation on PPC without AltiVec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26627 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 12:45:59 +00:00
diego 83740c48da Merge libmpeg2/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26551 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-26 18:02:23 +00:00
diego fabb1b271a Backport SSE2-optimized IDCT routines from upstream libmpeg2.
Thanks to Alexander Strange for finding and fixing some bugs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 22:42:00 +00:00
diego 5e1f250543 Remove pointless comments from local diff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26316 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 17:42:16 +00:00
diego 01490fe993 cosmetics: Fix some typos and trailing whitespace in local changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26315 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 17:41:18 +00:00
diego 01eb667a55 Revert local changes that pointlessly add #ifdefs all over libmpeg2 to disable
code depending on CPU capabilities. Instead, rely on libmpeg2's builtin CPU
capability handling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26314 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 17:31:37 +00:00
diego e875bd35c6 Remove mistakenly committed hunk.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26079 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 19:33:02 +00:00
diego 475c319b81 Properly detect ARM mc acceleration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26078 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 19:29:28 +00:00
diego 55e51ffed4 Merge two #ifdefs into one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26076 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 14:47:43 +00:00
diego ea42787378 #define ATTRIBUTE_ALIGNED_MAX in config.h instead of hardcoding it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26075 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 13:13:28 +00:00
diego 884a2ba97a Replace Alpha MVI compiler workarounds by a proper configure check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26051 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 16:47:05 +00:00
diego 6334e53e95 typo fixes, port of my patch for upstream libmpeg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26030 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-19 08:20:43 +00:00
diego 6bf12ae060 Fix illegal identifiers, port of my patch to upstream libmpeg2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26029 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-19 08:18:59 +00:00
diego 2fb3a82350 Do not check for __APPLE_ALTIVEC__, just check for __APPLE_CC__.
This should work even when -faltivec is not specified.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26012 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 17:44:49 +00:00
diego e0045554b2 Remove Makefile changes from upstream diff. They are strictly local.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24748 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-08 12:53:02 +00:00
diego afaa5d3405 cosmetics: Align some lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24747 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-08 12:51:58 +00:00
diego 97369c5e09 Get rid of duplicate processor feature variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23684 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 23:11:21 +00:00
reimar 1064982ff8 Follow ffmpeg TARGET_ARCH_* -> ARCH_* change.
Feel free to revert if you do not like it, but I want to get MPlayer to compile again.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-16 15:24:39 +00:00
gpoirier 99ef6b44d2 add MPlayer's local changes introduced in r23258
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23259 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 23:26:40 +00:00
gpoirier f65ac3ac92 compile fix for regression introduced by r23254
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23258 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 22:22:27 +00:00
gpoirier 75e860c13c iWMMXt-accelerated DCT and motion compensation for ARM processors
Ported to SVN by David Bateman % adb014 A gmail P com % from www.mkezx.org
Originally written for Zaurus port http://atty.skr.jp/zplayer/ by AGAWA Koji
Original thread:
Date: Apr 5, 2007 1:11 AM
Subject: [MPlayer-dev-eng] mkezx patches (Was: mplayer zaurus patches)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23254 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 19:11:56 +00:00
diego f5d261067c Remove unnecessary -I option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22551 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:15:39 +00:00
diego 5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego 60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
diego 39414b500a Remove useless #define.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22545 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 10:33:33 +00:00
henry f8aa043601 fix crash with http://sam.zoy.org/zzuf/lol-mplayer.m2v
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21941 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 09:49:28 +00:00
henry ecd6df1c72 (hopefully) the rest of PPC modifications
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21587 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 08:35:49 +00:00
reimar d24e49b53d Fix ppc without altivec compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21550 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 18:09:41 +00:00
henry b4e852b305 sync to libmpeg2-0.4.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21542 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 10:34:27 +00:00
henry e6981cadec update for r21415 and r21416
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21418 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 17:56:41 +00:00
henry 86a5a52b2f fix incorrect 4:4:4 chroma handling (backport from 0.4.1)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21416 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 17:49:59 +00:00
henry c4a33d0dc4 ignore invalid values in the sequence display extension (backport from 0.4.1)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21415 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 17:47:55 +00:00
henry f115cf480b add missing r15484
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21393 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 20:46:27 +00:00
diego 2a86b5b99e FFmpeg-style dependency declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21325 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 13:42:36 +00:00