Merge remote branch 'qatar/master'
bswap: use native types for av_bwap16().
This prevents a call to bytestream_get_be16() using a movzwl both beforeand after the ror instruction, which is obviously inefficient. Arm usesthe same trick also.
Sintel decoding goes from (avg+SD) 9.856 +/- 0.003 to 9.797 +/- 0.003 sec....
Merge remote-tracking branch 'newdev/master'
Add a CPU flag for the Atom processor.
The Atom has SSSE3 support, which is useful in many cases, but sometimes theSSSE3 version is slower than the SSE2 equivalent on the Atom, but is generallyfaster on other processors supporting SSSE3. This flag allows for selectively...
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>
x86: use raw opcode for xgetbv instruction
This allows the CPU detection to work with assemblers not supportingthe xgetbv mnemonic. These include clang and some BSD versions.
All AVX code will be written for yasm, where the main assembleris not involved....
x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit 87f1355f9b4fc11414d0e6a91404203c2745f89f)
Add check for Athlon64 and similar AMD processors with slow SSE2.
Signed-off-by: Ronald S. Bultje <firstname.lastname@example.org>(cherry picked from commit 74b1f96859eb967222fcb3eb4c72d949b5165a89)
Signed-off-by: Ronald S. Bultje <email@example.com>
consolidate .gitignore patters into a single file
Signed-off-by: Janne Grunau <firstname.lastname@example.org>
convert svn:ignore properties to .gitignore files
Add missing #include <string.h> in x86/cpu.c
Originally committed as revision 25088 to svn://svn.ffmpeg.org/ffmpeg/trunk
Clean up av_get_cpu_flag()
Instead of defining functions in per-arch header files includedby the main cpu.c, define them normally and call them from thegeneric one.
Originally committed as revision 25084 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move mm_support() from libavcodec to libavutil, make it a publicfunction and rename it to av_get_cpu_flags().
Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if thedocumentation in the @file block refers to a file different from theone the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace many includes of libavutil/common.h with what is actually needed
This reduces the number of false dependencies on header files andspeeds up compilation.
Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add lots of missing includes
Originally committed as revision 22337 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move FASTDIV macro to intmath.h
Originally committed as revision 21335 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add macros for 64- and 128-bit write-combining optimization to intreadwrite.h.
Add x86 implementation using MMX/SSE.
Originally committed as revision 21281 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split libavutil/timer.h per architecture
Originally committed as revision 18304 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use full internal pathname in doxygen @file directives.Otherwise doxygen complains about ambiguous filenames when files existunder the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change semantic of CONFIG_*, HAVE_* and ARCH_*.They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
split bswap.h into per-arch files
Originally committed as revision 15663 to svn://svn.ffmpeg.org/ffmpeg/trunk