Henrik Gramner
ab43beefab
x86inc: Drop SECTION_TEXT macro
...
The .text section is already 16-byte aligned by default on all supported
platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Henrik Gramner
f0b7882ceb
x86inc: Drop SECTION_TEXT macro
...
The .text section is already 16-byte aligned by default on all supported
platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
9 years ago
Thilo Borgmann
d814a839ac
Reinstate proper FFmpeg license for all files.
11 years ago
Diego Biurrun
2b479bcab0
build: Drop AVX assembly ifdefs
...
An assembler able to cope with AVX instructions is now required.
12 years ago
Diego Biurrun
4b60fac419
x86: PALIGNR: port to cpuflags
12 years ago
Diego Biurrun
352e18b766
x86: avresample: Add missing colons to assembly labels
...
YASM accepts labels without colons, but NASM issues warnings.
12 years ago
Diego Biurrun
04581c8c77
x86: yasm: Use complete source path for macro helper %includes
...
This is more consistent with the way we handle C #includes and
it simplifies the build system.
12 years ago
Diego Biurrun
6860b4081d
x86: include x86inc.asm in x86util.asm
...
This is necessary to allow refactoring some x86util macros with cpuflags.
12 years ago
Justin Ruggles
10e645e9cb
lavr: handle clipping in the float to s32 conversion
...
We cannot clip to INT_MAX because that value cannot be exactly
represented by a float value and ends up overflowing during conversion
anyway. We need to use a slightly smaller float value, which ends up
with slightly inaccurate results for samples which clip or nearly clip,
but it is close enough. Using doubles as intermediates in the conversion
would be more accurate, but it takes about twice as much time.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Diego Biurrun
17337f54c0
x86: Split inline and external assembly #ifdefs
12 years ago
Justin Ruggles
06e751a40f
lavr: x86: optimized 6-channel flt to fltp conversion
12 years ago
Justin Ruggles
e07c9705c8
lavr: x86: optimized 2-channel flt to fltp conversion
12 years ago
Justin Ruggles
5245c9f3ad
lavr: x86: optimized 6-channel flt to s16p conversion
12 years ago
Justin Ruggles
31d0d7181d
lavr: x86: optimized 2-channel flt to s16p conversion
12 years ago
Justin Ruggles
6092dafb5a
lavr: x86: optimized 6-channel s16 to fltp conversion
12 years ago
Justin Ruggles
91851a7b37
lavr: x86: optimized 2-channel s16 to fltp conversion
12 years ago
Justin Ruggles
205ace8843
lavr: x86: optimized 6-channel s16 to s16p conversion
12 years ago
Justin Ruggles
8eeffa8ada
lavr: x86: optimized 2-channel s16 to s16p conversion
12 years ago
Justin Ruggles
b66e20d2aa
lavr: x86: optimized 2-channel fltp to flt conversion
12 years ago
Justin Ruggles
d5b4e50c47
lavr: x86: optimized 6-channel fltp to s16 conversion
12 years ago
Justin Ruggles
a58a013980
lavr: x86: optimized 2-channel fltp to s16 conversion
12 years ago
Justin Ruggles
90cc27f813
lavr: x86: optimized 6-channel s16p to flt conversion
12 years ago
Justin Ruggles
46f929adad
lavr: x86: optimized 2-channel s16p to flt conversion
12 years ago
Justin Ruggles
13df7d2d40
lavr: x86: optimized 6-channel s16p to s16 conversion
12 years ago
Justin Ruggles
c0e12535aa
lavr: x86: optimized 2-channel s16p to s16 conversion
12 years ago
Ronald S. Bultje
30b45d9c38
x86inc: automatically insert vzeroupper for YMM functions.
12 years ago
Justin Ruggles
4e4dd71730
lavr: Add x86-optimized function for flt to s32 conversion
13 years ago
Justin Ruggles
6c63cbfe7a
lavr: Add x86-optimized function for flt to s16 conversion
13 years ago
Justin Ruggles
97ce1ba867
lavr: Add x86-optimized functions for s32 to flt conversion
13 years ago
Justin Ruggles
5904f25b9f
lavr: Add x86-optimized functions for s32 to s16 conversion
13 years ago
Justin Ruggles
d721f67d0a
lavr: Add x86-optimized functions for s16 to flt conversion
13 years ago
Justin Ruggles
1168e29df1
lavr: Add x86-optimized function for s16 to s32 conversion
13 years ago
Justin Ruggles
5cc6d5244d
lavr: replace the SSE version of ff_conv_fltp_to_flt_6ch() with SSE4 and AVX
...
The current SSE version is slower than the MMX version on Athlon64 and Sandy
Bridge, but the SSE4 and AVX versions are faster on Sandy Bridge.
13 years ago
Justin Ruggles
c8af852b97
Add libavresample
...
This is a new library for audio sample format, channel layout, and sample rate
conversion.
13 years ago