1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00
Commit Graph

2215 Commits

Author SHA1 Message Date
cehoyos
7a7b3d95e3 Allow compilation with icc 10.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27944 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 10:16:28 +00:00
reimar
21303cd0ad Fix missing -DARCH_X86_64 for yasm on x86_64.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27941 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 16:59:17 +00:00
bircoph
29f16f45f1 Add yasm support to the build system.
This allows to use yasm assembler optimizations from FFmpeg code,
in particular, from libavcodec/fft.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27940 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 13:04:16 +00:00
gpoirier
5dd1c3e739 On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,
use cpuinfo instead.
This allows MPlayer to get one step closer to building in 64 bits mode on Darwin,
if one passes --target=x86_64-darwin to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27931 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 20:37:08 +00:00
diego
5dbcc861f5 Print out that vo_macosx is disabled when Mac OS X APIs are not available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27905 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-13 00:15:09 +00:00
reimar
9349875149 lavc tscc decoder now also depends on zlib
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27884 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 18:25:44 +00:00
reimar
c9f2a3636c Change OpenGL support to work on unmodified MinGW64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27879 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 16:37:45 +00:00
diego
c600e40bc5 Make sure that linker flags passed as configure parameters appear before
those detected by configure so that the former can override the latter.
patch by Giacomo Comes, comes naic edu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27842 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-28 18:00:11 +00:00
diego
50076fe15a cosmetics: alphabetical order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27829 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-26 07:33:15 +00:00
uau
8bfdce3a83 configure: Set CONFIG_MDCT and CONFIG_GOLOMB for libavcodec
After the latest FFmpeg changes these must be set if certain codecs
are enabled.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27828 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-26 02:21:55 +00:00
diego
15a8009216 cosmetics: Reorder some FFmpeg-related config.h and config.mak entries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27824 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-25 01:43:24 +00:00
uau
ff6e6ec743 configure: Set CONFIG_FFT to fix libavcodec compilation
After the latest FFmpeg changes some codecs require that CONFIG_FFT is
also set if the codec is enabled. This commit enables CONFIG_FFT
unconditionally though in principle all the codecs requiring it could
be disabled.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27823 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-25 00:08:02 +00:00
diego
50b71e8fab 10l: Revert SH4 removal, which is required in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27819 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-24 09:08:03 +00:00
diego
1839492b59 SH4 is an architecture, not a CPU extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27814 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 10:58:47 +00:00
diego
e2362bfa55 Add ARM pld instruction test for FFmpeg ARM optimizations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27813 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-23 09:53:08 +00:00
diego
ed0af8844a Determine default CD/DVD device in configure instead of using an #ifdef jungle.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27809 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-21 07:02:25 +00:00
diego
491826b4cd cosmetics: Reorganize config.h. Remove pointless comments, group together
options in sensible parts and order them alphabetically.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27795 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:44:05 +00:00
diego
d0ff7c091a typo: _dev_dvd_openbsd --> _def_dvd_openbsd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27794 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:40:34 +00:00
diego
6fa340d54c Create LIBDIR for binary codecs upon make install.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27793 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:25:41 +00:00
diego
4a29d6dee8 Move dcbzl definition to the FFmpeg section of config.h where it belongs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27792 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:23:22 +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
629db77d89 Move DEFAULT_CDROM_DEVICE/DEFAULT_DVD_DEVICE to stream.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27787 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:28:38 +00:00
diego
7136bb0105 Move likely/unlikely macros to libmpdemux/demuxer.h where they are used.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27786 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:26:01 +00:00
diego
af21f25f31 Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:24:18 +00:00
diego
a290af1657 Move X11_FULLSCREEN definition to x11_common.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:19:36 +00:00
diego
2b9e1bf0fa Move attribute_used declaration from config.h to mangle.h where it is useful.
config.h should only contain definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27781 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:13:06 +00:00
diego
af9d6f2d0e sun --> __sun in config.h preprocessor check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 13:33:29 +00:00
diego
6e40bc14c9 cosmetics: Move _def_fast_unaligned to the FFmpeg section of config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:15:10 +00:00
diego
883557290d cosmetics: Consistently name all header #define variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27774 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:00:04 +00:00
diego
7b64ef7fd4 Set HAVE_FAST_UNALIGNED for PowerPC as well, patch by Emanuele Giaquinta.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27763 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 22:25:35 +00:00
diego
885a7962ec Remove global definition of WIN32 in config.h for Cygwin.
Instead just define it for libdvdcss, where it is strictly needed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27762 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:26:05 +00:00
diego
4d644f513c Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:23:55 +00:00
diego
7559876669 Remove check for byteswap.h, it was removed from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27752 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:17:25 +00:00
diego
8f2b2b1b03 Filter out .hh and .h files in the C++ dependency generation command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27749 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:18:15 +00:00
diego
28d7f776ac Remove useless HAVE_STRCHR definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27748 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:14:13 +00:00
diego
ac3b6d090c Move socklen_t typedef from config.h to stream/network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27744 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 12:12:41 +00:00
diego
4ac23d655f Do not provide a prototype for setenv in config.h, we do not provide a
prototype for all the other functions that we have in osdep/.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-11 08:22:03 +00:00
diego
41272e3014 cosmetics: Move some config.h entries to more sensible places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 21:56:03 +00:00
diego
54a1406b31 cosmetics: Group codec-, network- and gui-related options together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27741 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 05:34:49 +00:00
diego
e61c3a381a cosmetics: Group system header and function definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27740 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 22:11:56 +00:00
cehoyos
3fa84e0247 Disable mp3lib and liba52-internal for icc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27721 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 20:43:09 +00:00
diego
6fb9d58116 Revert the removal of the likely/unlikely macros, they are still used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27717 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:55:42 +00:00
diego
036b3d0c51 Merge variable declaration and export.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27716 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:15:39 +00:00
diego
d68f29e593 Add a comment to lonely 'fi' for clarification.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27713 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 15:06:50 +00:00
diego
975e5a97e2 cosmetics: more config.h reordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27711 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 13:07:31 +00:00
diego
34e161377a cosmetics: Reorder entries in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27710 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:39:16 +00:00
diego
5fa09d26e0 100l: Revert incorrect removal or --ar and --ranlib options.
They are still needed for FFmpeg.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27709 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:24:18 +00:00
diego
b91df4ad96 cosmetics: Improve some config.h comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27708 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:14:38 +00:00
diego
02c93f7b98 Do not duplicate likely/unlikely #defines from libmpeg2/libavcodec in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27707 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:47:00 +00:00