summaryrefslogtreecommitdiff
path: root/libavutil/ppc
Commit message (Collapse)AuthorAge
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* os: fix OpenBSD/PowerPC compilationBrad2011-04-10
| | | | | | | | When attempting to re-enable the AltiVec support it was noticed that we need to undefine _POSIX_C_SOURCE to appease the headers for ff_get_cpu_flags_ppc() to be able to compile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Clean up av_get_cpu_flag()Måns Rullgård2010-09-09
| | | | | | | | Instead of defining functions in per-arch header files included by the main cpu.c, define them normally and call them from the generic one. Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move mm_support() from libavcodec to libavutil, make it a publicStefano Sabatini2010-09-08
| | | | | | function and rename it to av_get_cpu_flags(). Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all intreadwrite functions av_always_inlineMåns Rullgård2010-01-18
| | | | Originally committed as revision 21278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: fix asm operand constraints in AV_RL64Måns Rullgård2009-07-29
| | | | | | The target register of first word loaded must be marked early-clobber. Originally committed as revision 19536 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC: check for x-form asm constraint supportMåns Rullgård2009-04-18
| | | | Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PPC asm for AV_RL*()Måns Rullgård2009-04-18
| | | | | | | | | | | | PPC is normally big endian but has special little endian load/store instructions. Using these avoids a separate byteswap. This makes the vorbis decoder about 5% faster. Not much else uses little-endian read/write extensively. GCC generates horrible PPC code for the default AV_[RW]B64 (which uses a packed struct), so we override it with a plain pointer cast. Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split libavutil/timer.h per architectureMåns Rullgård2009-04-01
Originally committed as revision 18304 to svn://svn.ffmpeg.org/ffmpeg/trunk