search for: saturate_32bit_to_16bit

Displaying 6 results from an estimated 6 matches for "saturate_32bit_to_16bit".

2016 Jul 30
2
Cannot compile speexdsp 1.2rc3 on ARM64
...droid builds, so there would be some configure changes needed to build it stand alone. On Tue, Apr 19, 2016 at 4:32 PM, Frank Barchard <fbarchard at google.com> wrote: > Hi I'm new to speex list but joined because I'm needing to port the Neon > to ARM64. > On that function, saturate_32bit_to_16bit(), I noticed the ifdef's are > wrong. > The first version is for normal arm 32 bit arm and should be used for > arm32 and thumb2 but not thumb1. > The second version is 32 bit neon and should be #ifdef __ARM_NEON__ > I've done a third version which is 64 bit neon. I'm w...
2015 Mar 28
4
Cannot compile speexdsp 1.2rc3 on ARM64
Hi all, I build successfully with speex-1.2rc2. And with speexdsp 1.2rc3, I build with i386, X86_64, armv7 and armv7s all passed. But when I build for ARM64 (for iPhone 6), it failed with: /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in libspeexdsp CC preprocess.lo CC jitter.lo CC mdf.lo CC fftwrap.lo CC
2016 Apr 19
0
Cannot compile speexdsp 1.2rc3 on ARM64
Hi I'm new to speex list but joined because I'm needing to port the Neon to ARM64. On that function, saturate_32bit_to_16bit(), I noticed the ifdef's are wrong. The first version is for normal arm 32 bit arm and should be used for arm32 and thumb2 but not thumb1. The second version is 32 bit neon and should be #ifdef __ARM_NEON__ I've done a third version which is 64 bit neon. I'm working off an android ver...
2016 Aug 09
0
Cannot compile speexdsp 1.2rc3 on ARM64
...e some configure changes needed to build it stand alone. > > On Tue, Apr 19, 2016 at 4:32 PM, Frank Barchard <fbarchard at google.com> > wrote: > >> Hi I'm new to speex list but joined because I'm needing to port the Neon >> to ARM64. >> On that function, saturate_32bit_to_16bit(), I noticed the ifdef's are >> wrong. >> The first version is for normal arm 32 bit arm and should be used for >> arm32 and thumb2 but not thumb1. >> The second version is 32 bit neon and should be #ifdef __ARM_NEON__ >> I've done a third version which is 64 b...
2011 Sep 01
0
[PATCH 5/5] resample: Add NEON optimized inner_product_single for floating point
...nsertions(+), 0 deletions(-) diff --git a/libspeex/resample_neon.h b/libspeex/resample_neon.h index ba93e41..e7e981e 100644 --- a/libspeex/resample_neon.h +++ b/libspeex/resample_neon.h @@ -39,6 +39,30 @@ #include <arm_neon.h> #ifdef FIXED_POINT +#ifdef __thumb2__ +static inline int32_t saturate_32bit_to_16bit(int32_t a) { + int32_t ret; + asm ("ssat %[ret], #16, %[a]" + : [ret] "=&r" (ret) + : [a] "r" (a) + : ); + return ret; +} +#else +static inline int32_t saturate_32bit_to_16bit(int32_t a) { + int32_t ret; + asm ("vmov.s32...
2011 Sep 01
6
[PATCH 0/5] ARM NEON optimization for samplerate converter
From: Jyri Sarha <jsarha at ti.com> I optimized Speex resampler for NEON capable ARM CPUs. The first patch should speed up resampling on any platform that can spare the increased memory usage. It would be nice to have these merged to the master branch. Please let me know if there is anything I can do to help the the merge. The patches have been rebased on top of master branch in