summaryrefslogtreecommitdiff
path: root/libavutil/ppc/cpu.c
Commit message (Collapse)AuthorAge
* ppc: cpu: Add support for VSX and POWER8 extensionsLuca Barbato2015-05-31
|
* ppc: Clarify and extend the cpuid checkLuca Barbato2015-05-31
| | | | Add POWER entries.
* ppc: linux: Check altivec using the auxvLuca Barbato2015-05-31
| | | | Should prevent trying to use altivec when it is disabled by the kernel.
* avutil: Move internal CPU detection function declarations to private headerDiego Biurrun2013-08-28
|
* 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>
* 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