mpv/libaf
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
..
af.c af: fix crash when trying to use volume controls with AC3 pass-through 2012-01-18 04:21:46 +01:00
af.h libaf: Make af_reinit "public", to allow using it in future patches 2010-11-02 04:18:37 +02:00
af_bs2b.c
af_center.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_channels.c
af_comp.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_delay.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_dummy.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_equalizer.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_export.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_extrastereo.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_format.c Remove compile time/runtime CPU detection, and drop some platforms 2012-07-30 01:37:28 +02:00
af_format.h Remove compile time/runtime CPU detection, and drop some platforms 2012-07-30 01:37:28 +02:00
af_format_alaw.h
af_format_ulaw.h
af_gate.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_hrtf.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_hrtf.h
af_karaoke.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_ladspa.c cleanup: avoid various GCC warnings 2011-04-20 04:22:53 +03:00
af_lavcac3enc.c build: switch to libavutil bswap.h and intreadwrite.h 2012-02-01 22:46:27 +02:00
af_lavcresample.c cleanup: avoid various GCC warnings 2011-04-20 04:22:53 +03:00
af_pan.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_resample.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_resample_template.c
af_scaletempo.c
af_sinesuppress.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_stats.c
af_sub.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_surround.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_sweep.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_tools.c
af_volnorm.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_volume.c af_volume: do not change data when volume is 1 2012-01-16 22:40:14 +02:00
control.h
dsp.h
equalizer.h
filter.c
filter.h
format.c cleanup: silence most of the clang warnings 2011-07-09 04:23:24 +03:00
reorder_ch.c
reorder_ch.h
window.c
window.h