diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-02-14 15:03:13 +0000 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-02-28 13:03:22 +0100 |
commit | 4cb6964244fd6c099383d8b7e99731e72cc844b9 (patch) | |
tree | 8b2fd29f4af8ba5d052e04d4dd1f4e97efaf73f2 /configure | |
parent | 7686afd049be98d18663682b92d983340fa2c305 (diff) | |
download | ffmpeg-4cb6964244fd6c099383d8b7e99731e72cc844b9.tar.gz |
dcadec: simplify decoding of VQ high frequencies
The vector dequantization has a test in a loop preventing effective SIMD
implementation. By moving it out of the loop, this loop can be DSPized.
Therefore, modify the current DSP implementation. In particular, the
DSP implementation no longer has to handle null loop sizes.
The decode_hf implementations have following timings:
For x86 Arrandale:
C SSE SSE2 SSE4
win32: 260 162 119 104
win64: 242 N/A 89 72
The arm NEON optimizations follow in a later patch as external asm. The
now unused check for the y modifier in arm inline asm is removed from
configure.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1330,7 +1330,6 @@ HAVE_LIST=" altivec_h arpa_inet_h asm_mod_q - asm_mod_y atomic_cas_ptr atomics_native attribute_may_alias @@ -3669,7 +3668,6 @@ EOF $ARCH_EXT_LIST_ARM check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)' - check_inline_asm asm_mod_y '"vmul.i32 d0, d0, %y0" :: "x"(0)' [ $target_os != win32 ] && enabled_all armv6t2 shared !pic && enable_weak_pic |