Compare commits

..

14 Commits

Author SHA1 Message Date
Martin Storsjo
8724dc84af Fix building with MSVC for ARM
cmnintrin.h only existed for Windows CE, and doesn't seem to actually
be necessary for building this.
2016-10-28 10:26:28 +03:00
Martin Storsjo
3f138a3555 Detect MSVC x64 2016-10-28 10:26:28 +03:00
opcodevoid
e199ccda26 Windows MSVC Makefile 2016-10-28 10:26:28 +03:00
Lexyan
981a20334a Add aarch64 assembly optimization (ARMv8a 64 bits)
The fixmuldiv functions don't need inline assembly to be fast
in this architecture; the compiler (both clang and GCC) figure
out to use the optimal instructions for this (which is 2 instruction
sequence), and when letting the compiler emit the instructions
instead of using inline assembly, the compiler is able to
interleave those instructions with other instructions,
improving scheduling, making it even faster than when using
inline assembly.

Overall, this gives about 50% speedup.
2016-10-28 10:26:28 +03:00
Guillaume Smaha
ded21698e8 Invert inline and void to be compatible with gcc 3.3.4 2016-10-28 10:26:28 +03:00
Guillaume Smaha
bc316793d4 Fix issue with gcc 3.4.3 which doesn't support always_inline without inline 2016-10-28 10:26:28 +03:00
Martin Storsjo
db67ccef32 Remove android specific diagnostic logging 2016-10-28 10:26:28 +03:00
Vicente Olivert Riera
512267f7e7 libFDK/include/mips/cplx_mul.h: use C code instead of ASM
Replace the assembler code by the equivalent in C. This way it will work
for every MIPS ISA. Now the check for __mips_isa_rev < 6 is no longer
necessary, so remove it.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
2016-10-28 10:26:28 +03:00
Jasper Lievisse Adriaanse
e2eb9bbc10 Fix the preprocessor statements controlling the use of mips{32,64}r1 instructions.
Only enable code using mips32/mips64 instructions if the compiler is targetting
this ISA. (integer madd and msub instructions aren't available in the
``canonical'' mips ISAs)
2016-10-28 10:26:28 +03:00
Mark Harris
ef675bd11a Add ppc optimization for clz and fixmul
Optimize ppc/ppc64 similar to i386/x86_64, approximately doubling
encoding speed on a Power Mac G5 running OS X 10.5.8.
2016-10-28 10:26:28 +03:00
Mark Harris
c390358b54 Fix PowerPC Mac build 2016-10-28 10:26:28 +03:00
Martin Storsjo
60b69ab3e7 Include the library versions in the publicly installed headers
This allows callers to conditionally use new API features without
breaking compatibility with the earlier versions of the library.
2016-10-28 10:26:28 +03:00
Martin Storsjo
23ba26cabf Add automake/autoconf source files
Also add examples.
2016-10-28 10:26:28 +03:00
Sergio Ammirata
35963519e4 Add support for Workgroup 4 (WG4) channel mapping
This is the channel ordering used in DVD Audio, and is the standard
used internally in the VLC media player.
2016-10-28 10:26:28 +03:00

Diff Content Not Available