Commit Graph

12 Commits

Author SHA1 Message Date
Uoti Urpala fc6a9e4a3e build: switch to libavutil bswap.h and intreadwrite.h
Remove the private bswap and intreadwrite.h implementations and use
libavutil headers instead.

Originally these headers weren't publicly installed by libavutil at
all. That already changed in 2010, but the pure C bswap version in
installed headers was very inefficient. That was recently (2011-12)
improved and now using the public bswap version probably shouldn't
cause noticeable performance problems, at least if using a new enough
compiler.
2012-02-01 22:46:27 +02:00
Uoti Urpala 12d3caebc7 Merge svn changes up to r30475 2010-03-09 19:18:43 +02:00
diego 99c1bbca2a Add license header to all top-level files missing them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 23:24:23 +00:00
Uoti Urpala d6c410b54c Replace libavutil internal header #includes with MPlayer copies
Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h
and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/
instead.
2009-07-26 06:16:43 +03:00
diego 37ea342f85 #include config.h before all other headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-14 16:46:13 +00:00
diego 7fbcd4a268 Add missing header #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26219 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 20:20:08 +00:00
diego b5ed673f32 Add necessary #includes to pass 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26163 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-04 23:35:24 +00:00
diego 8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
reimar 3fd9aa8196 Hide our swab prototype when the system has swab since at least the
Solaris definition is incompatible with ours (char * vs. void *)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23659 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 17:24:13 +00:00
reimar d0d23a71da Make sure we always have a swab() prototype when we use it,
even if we use our osdep/swab.c emulation


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23658 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 15:25:32 +00:00
reimar ec258b2095 Remove no longer needed always_inline hack in mpbswap.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21573 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 14:46:37 +00:00
reimar 18004d2d98 Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-07 11:58:07 +00:00