Commit Graph

170 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
diego e5751ced4f Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +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
diego d9ded9284c Add missing 'void' to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 17:35:26 +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 d2a84bde4f Sync local changes file with #ifdef --> #if conversion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28832 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 00:41:09 +00:00
diego e98a6e2bff Convert HAVE_MEMALIGN into a 0/1 definition, fixes the warning:
mem.c:67:7: warning: "HAVE_MEMALIGN" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28628 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 10:41:13 +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 c92055c078 HAVE_ARMV6 is defined to 0/1, use the preprocessor directive accordingly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28394 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 22:27:04 +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 4abf191c5d More #ifdef -> #if fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28326 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:29:20 +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 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +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 159ef5f70e Drop av_always_inline definition. It is duplicated from libavutil and
unlikely to make any difference. This reduces the diff to upstream.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27486 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 22:38:12 +00:00
diego 03337f15ad Rename always_inline macro to av_always_inline so as not to clash with
with __attribute__((always_inline)) declarations.
This fixes the build on Mac OS X 10.4.11.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27485 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 21:29:54 +00:00
diego 934670b5ce Remove unused and untested function. It is only part of our local patchset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27477 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 21:35:38 +00:00
diego 2e3a315796 fix for alignment problem on older ARM cores
patch by Siarhei Siamashka, siarhei.siamashka gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27470 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-17 22:32:30 +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 0792780cb7 Use consistent #include paths without "../".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 14:50:24 +00:00
diego 835f0aaae6 Merge liba52/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26554 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-27 11:46:56 +00:00
diego f9857014b5 Remove unnecessary compilation command that shadows GNU Make builtin command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26553 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-27 11:00:06 +00:00
diego 15aeb0c9ca Remove unnecessary -lm linker flag from test program compilation command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26552 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-27 10:34: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 72b5d885bc Move compare.c to TOOLS, add it to the Makefile and document it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25830 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 00:05:48 +00:00
diego 8f5a9f22d6 Add proper license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25590 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 22:02:06 +00:00
diego 44596daef1 Add proper license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25554 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 22:15:45 +00:00
iive 99ad62f36f Fix compilation of liba52/test.c testing and benchmarking application.
It have been broken since API changes in liba52-0.7.4 
that have been introduced with commit r18723.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25514 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-23 11:29:36 +00:00
diego dca49663cd cosmetics: Remove trailing whitespace, reformat one comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25512 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 19:16:01 +00:00
diego ff08ff09ac Add proper copyright/license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25511 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 19:11:54 +00:00
diego e0b884f232 Remove wrong and misleading comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25509 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 18:49:28 +00:00
diego 1d6e081282 typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25508 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 18:35:52 +00:00
diego bb3cabe5df cosmetics: grammar/spelling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25507 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 18:35:09 +00:00
diego c4f9634758 Add missing #include, fixes
compare.c:18: warning: implicit declaration of function ‘exit’
compare.c:18: warning: incompatible implicit declaration of built-in function ‘exit’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25503 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:13:17 +00:00
diego fdfc6ffdf7 cosmetics: Remove trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25502 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:10:09 +00:00
diego 03d9657f10 cosmetics: spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25501 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:00:43 +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 222ea2c463 Relicense as GPL v2 or later like the rest of liba52.
Permission given by Nick Kurshev.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25351 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 14:53:14 +00:00
diego 4bb3d604d5 main() --> main(void)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:22:33 +00:00
lu_zero a74197b43f unaligned store, should fix bug #893
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25024 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-11 20:58:02 +00:00
diego 22fc24fe56 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:28:38 +00:00
diego 83470e26c3 Move test program removal on distclean to mpcommon.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22802 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 15:03:57 +00:00
diego 690d6c1f71 Simplify test program compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22556 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:32:22 +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
gpoirier ad29a1dd81 update local diff after r20779
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21507 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-05 07:14:05 +00:00
diego ca93b73028 libac3 was removed ages ago, remove the related test target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21309 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 10:49:44 +00:00