mpv/stream
wm4 74df1d8e05 Remove compile time/runtime CPU detection, and drop some platforms
mplayer had three ways of enabling CPU specific assembler routines:
a) Enable them at compile time; crash if the CPU can't handle it.
b) Enable them at compile time, but let the configure script detect
   your CPU. Your binary will only crash if you try to run it on a
   different system that has less features than yours.
   This was the default, I think.
c) Runtime detection.

The implementation of b) and c) suck. a) is not really feasible (it
sucks for users). Remove all code related to this, and use libav's CPU
detection instead. Now the configure script will always enable CPU
specific features, and disable them at runtime if libav reports them
not as available.

One implication is that now the compiler is always expected to handle
SSE (etc.) inline assembly at runtime, unless it's explicitly disabled.

Only checks for x86 CPU specific features are kept, the rest is either
unused or barely used.

Get rid of all the dump -mpcu, -march etc. flags. Trust the compiler
to select decent settings.

Get rid of support for the following operating systems:
- BSD/OS (some ancient BSD fork)
- QNX (don't care)
- BeOS (dead, Haiku support is still welcome)
- AIX (don't care)
- HP-UX (don't care)
- OS/2 (dead, actual support has been removed a while ago)

Remove the configure code for detecting the endianness. Instead, use
the standard header <endian.h>, which can be used if _GNU_SOURCE or
_BSD_SOURCE is defined. (Maybe these changes should have been in a
separate commit.)

Since this is a quite violent code removal orgy, and I'm testing only
on x86 32 bit Linux, expect regressions.
2012-07-30 01:37:28 +02:00
..
freesdp cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
librtsp
realrtsp build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
ai_alsa1x.c cleanup: remove more warnings 2011-05-02 00:46:48 +03:00
ai_oss.c
asf_mmst_streaming.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
asf_mmst_streaming.h
asf_streaming.c build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
audio_in.c
audio_in.h
cache2.c build: remove OS/2 support 2012-04-06 17:45:56 +03:00
cache2.h
cdd.h
cdinfo.c
cookies.c windows support: unicode filenames 2012-03-09 20:48:54 +02:00
cookies.h
dvb_tune.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
dvb_tune.h
dvbin.h
frequencies.c
frequencies.h
http.c configure, build: require at least Libav 0.7 2011-12-22 01:27:45 +02:00
http.h
network.c configure, build: remove --disable-libav support 2011-12-11 07:48:26 +02:00
network.h stream: http: Allow setting custom http header 2011-04-13 03:17:05 +03:00
open.c Add support for playing video from streaming sites with libquvi 2012-07-28 22:05:34 +02:00
pnm.c build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
pnm.h
pvr.h
rtp.c
rtp.h
stream.c bstr: rename bstr() function to bstr0(), and typedef bstr to struct bstr 2012-07-28 23:47:42 +02:00
stream.h stream: show negative seek position value in error message 2011-07-06 09:30:04 +03:00
stream_bluray.c stream_bluray: switch to new libbluray API 2011-07-10 11:30:06 +03:00
stream_cdda.c Remove compile time/runtime CPU detection, and drop some platforms 2012-07-30 01:37:28 +02:00
stream_cddb.c build: remove OS/2 support 2012-04-06 17:45:56 +03:00
stream_cue.c stream_cue: Avoid probing empty filename in cue_find_bin() 2011-07-06 08:56:37 +03:00
stream_dvb.c
stream_dvd.c stream_dvd: fix dvd_get_current_time() 2011-07-06 13:01:07 +03:00
stream_dvd.h options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00
stream_dvd_common.c build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
stream_dvd_common.h
stream_dvdnav.c cosmetics: stream_dvdnav.c: Remove pointless () 2011-07-06 13:01:07 +03:00
stream_dvdnav.h options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00
stream_ffmpeg.c stream_ffmpeg: fix broken line from 30afc64532 2012-04-18 01:27:55 +03:00
stream_file.c Merge remote-tracking branch 'origin/master' into my_master 2012-03-16 19:14:44 +01:00
stream_ftp.c
stream_live555.c
stream_mf.c
stream_nemesi.c
stream_netstream.c
stream_netstream.h
stream_null.c
stream_pvr.c stream_pvr: fix field size / snprintf size mismatch 2012-04-11 03:56:30 +03:00
stream_radio.c
stream_radio.h
stream_rtp.c
stream_rtsp.c
stream_smb.c Merge branch 'mplayer1_changes' 2011-05-02 00:46:03 +03:00
stream_tv.c
stream_udp.c
stream_vcd.c build: remove OS/2 support 2012-04-06 17:45:56 +03:00
stream_vstream.c stream_vstream: fix vstream_error format string 2012-04-01 17:35:01 +03:00
tcp.c
tcp.h
tv.c demux, vd_ffmpeg: fix demux keyframe flag, set AV_PKT_FLAG_KEY 2012-07-25 01:10:30 +03:00
tv.h
tvi_bsdbt848.c
tvi_def.h
tvi_dshow.c cleanup: tvi_dshow: add "static", fix printf format 2011-07-06 13:01:07 +03:00
tvi_dshow.h
tvi_dummy.c
tvi_v4l.c stream/tvi_v4l[2]: fix calculation of free RAM for buffers 2011-07-06 13:01:08 +03:00
tvi_v4l2.c stream/tvi_v4l[2]: fix calculation of free RAM for buffers 2011-07-06 13:01:08 +03:00
udp.c
udp.h
url.c
url.h
vcd_read.h build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
vcd_read_darwin.h cleanup: Make vcd_seek_to_track() static in more files 2011-06-29 09:26:00 +03:00
vcd_read_fbsd.h build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
vcd_read_win32.h cleanup: Make vcd_seek_to_track() static in more files 2011-06-29 09:26:00 +03:00