Matt Oliver
5ca44ebd99
lavu/intmath.h: fix compilation with msvc10.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
James Almer
a2e1b66460
x86/intmath: disable sse av_clip functions when using ICC
...
It seems to miscompile them
Should fix fate-ra-288 and fate-twinvq
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
36778627e2
x86/intmath: add missing early clobber to output operands
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
f4c1a48483
x86/intmath: add sse optimized av_clipf and av_clipd
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Matt Oliver
58d32c00be
avutil/x86/intmath: Fix intrinsic header include when using newer gcc with older icc.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
Matt Oliver
9105399060
avutil/x86/intmath: Disable use of tzcnt on older intel compilers.
...
ICC versions older than atleast 12.1.6 dont have the tzcnt intrinsics.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
Matt Oliver
f984174512
avutil/x86/intmath: Correct intrinsic headers for older compilers.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
Matt Oliver
bff009697d
avutil/x86/intmath: Add missing header.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
Matt Oliver
6c6ac9cb17
avutil/x86/intmath: Use tzcnt in place of bsf.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
Matt Oliver
b0bb1dc62d
lavu/intmath.h: Move x86 only msvc/icl functions to x86 specific header.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
Matt Oliver
216cc1f6fe
lavu/intmath.h: Add msvc/icl ctzll optimisations.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
James Almer
93e7b7fb34
avutil/x86/intmath: add missing check for inline assembly
...
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
James Almer
1e51e517be
avutil/x86/intmath: use bzhi gcc builtin in av_mod_uintp2()
...
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
James Almer
60b9373dbd
libavutil: add bmi2 optimized av_mod_uintp2
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
James Almer
bc65abc8d7
libavutil: add x86 optimized av_popcount
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Janne Grunau
f37815b1d5
arm: asm decode_block_coeffs_internal is vp8 specific
...
Unbreaks compilation on arm due to conflicting types for
'ff_decode_block_coeffs_armv6'.
11 years ago
Peter Ross
89f2f5dbd7
On2 VP7 decoder
...
Signed-off-by: Peter Ross <pross@xvid.org>
Reviewed-by: BBB
previous patch reviewed by jason
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
3e85b46ecf
arm: vp8: Add missing #includes for header to compile standalone
12 years ago
Diego Biurrun
88bd7fdc82
Drop DCTELEM typedef
...
It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years ago
Mans Rullgard
a7831d509f
arm: use HAVE*_INLINE/EXTERNAL macros for conditional compilation
...
These macros reflect the actual capabilities required here.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
aa06d65693
arm: Add missing #include to vp8.h to fix a make checkheaders warning.
13 years ago
Diego Biurrun
32f3c541bc
doxygen: Do not include license boilerplates in Doxygen comment blocks.
13 years ago
Diego Biurrun
153382e1b6
multiple inclusion guard cleanup
...
Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
4ae3ee4ae9
VP8: ARM optimised decode_block_coeffs_internal
...
Approximately 5% faster on Cortex-A8.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit a7878c9f73
)
14 years ago
Martin Storsjö
6ded3a0411
Fix headers so that "make checkheaders" passes again
...
Originally committed as revision 25411 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
645e75992d
Fix GSM decoding: regular GSM and MSGSM do not use the same
...
bitstream endianness, so they cannot reuse the same code
without a lot of function call overhead.
Thus use templating to compile two different binaries.
Originally committed as revision 25312 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
6a81329593
Move dctref prototypes to a header file
...
Originally committed as revision 22331 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
b06da1725a
Add missing stdint.h #include to fix 'make checkheaders'.
...
Originally committed as revision 19484 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
89cb5cd25d
Add CGA and palette data for 8088flex TMV decoder.
...
Patch by Daniel Verkamp daniel _AT_ drv DOT nu.
Originally committed as revision 18764 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a6493a8fbd
Rename libavcodec/i386/ --> libavcodec/x86/.
...
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.
Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
5d0ddd1a9f
split-radix FFT
...
c is 1.9x faster than previous c (on various x86 cpus), sse is 1.6x faster than previous sse.
Originally committed as revision 14698 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
40d0e665d0
Do not misuse long as the size of a register in x86.
...
typedef x86_reg as the appropriate size and use it instead.
Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
b550bfaa61
Add libavcodec to compiler include flags in order to simplify header
...
include paths in the source files.
mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
1e4ecf26f5
ff_fft_calc_3dn/3dn2/sse: convert intrinsics to inline asm.
...
2.5% faster fft, 0.5% faster vorbis.
Originally committed as revision 6023 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Zuxy Meng
82eb4b0f1b
3DNow! & Extended 3DNow! versions of FFT
...
Patch by Zuxy Meng, zuxy <<dot>> meng >>at<< gmail <<dot>> com
Minor non-functional diff-related fixes by me.
Originally committed as revision 5125 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago