search for: floating_point

Displaying 20 results from an estimated 20 matches for "floating_point".

2011 Jun 06
1
QCONST16?
Gents, In Version 8.1, QCONST16 is defined as follows in arch.h within the FLOATING_POINT section: #define QCONST16(x,bits) (x) However, in both celt.c and quant_bands.c, QCONST16 is referenced without a conditional FLOATING_POINT define. So when I compile as FIXED_POINT I get an "undefined identifier" for QCONST16. Am I doing something wrong? Thx, MikeH ---...
2005 Apr 21
1
Fwd: (KAME-snap 9012) racoon in the kame project
FYI, looks like support for Racoon is ending. Does anyone have any experience with the version in ipsec-tools ? ---Mike >Racoon users, > >This is the announcement that the kame project will quit providing >a key management daemon, the racoon, and that "ipsec-tools" will become >the formal team to release the racoon. >The final release of the racoon in the
2008 Nov 12
2
SPEEX on iPhone ?
I can confirm that it will run in real time on iPhone if you compile with FIXED_POINT defined; it will also run in real time if you have FLOATING_POINT defined and disable 'Compile for Thumb' in the target's build settings in xcode. Wideband works too. Cheers, Dave
2008 Nov 11
1
visual studio 2005 - help getting speex workin'
...t ioquake3 has done this with JPEG support and some other stuff, so I figure what the heck, I'll give it a shot. Under the "quake3" project, I add a new filter called "speex" and shove *.c from \libspeex into there. I try compiling but it wants a preprocessor directive for FLOATING_POINT or FIXED_POINT. Someone else mentioned USE_ALLOCA so I gave both a shot. I ended up with about 800 errors and 800 warnings related to speex files. So, I know it's possible in theory, I'm just having a heck of a time getting things to work. It just magically works using the mingw compili...
2008 Nov 12
1
SPEEX on iPhone ?
...t; > Cc: <speex-dev at xiph.org> > Sent: Wednesday, November 12, 2008 7:11 AM > Subject: RE: [Speex-dev] SPEEX on iPhone ? > > > I can confirm that it will run in real time on iPhone if you compile > with FIXED_POINT defined; it will also run in real time if you have > FLOATING_POINT defined and disable 'Compile for Thumb' in the target's > build settings in xcode. Wideband works too. > > Cheers, > Dave > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listi...
2010 Apr 09
1
How to compile speex with XCode (for iPhone App)?
...If I now choose "Build > Build" from the Xcode menu I get 30 warnings and 155 errors. Most of the errors are error: expected '=',',',';','asm' or '__attribute__' before 'void' or error: #error You now need to define either FIXED_POINT or FLOATING_POINT Any idea which settings I have to change in order to get the speex code compiled? I would really appreciate any help. Many thanks & regards, Nils -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
2006 Dec 07
1
speex 1.2beta1 encoding/decoding clicking noise on WM2003
Would it help if I scale the input wav data before encoding to spx? One interesting thing is if I encode the same wav file to spx(or decode the same spx file to wav ) on Windows platform, then there is no such big clicking noise, samething is true if I use floating_point speex library to encode/decode on WM2003. Problem happens only on WM2003 using FIXED_POINT library. Thanks Yanxin ----- Original Message ----- From: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca> To: <ycui@wmsvision.com> Cc: <speex-dev@xiph.org> Sent: Tuesday, D...
2017 May 29
0
[PATCH] Add CMake build script
...o you can generate Unix makefiles, VS 6.0-2017 projects and many more. Features ======== * Win32 and Linux tested * Travis CI test added * Generates working Visual Studio 6.0-2017 solutions * Generates working Unix Makefile * Supported options (<option> - <default value>): * `ENABLE_FLOATING_POINT` - on * `ENABLE_FIXED_POINT` - off * `ENABLE_FIXED_POINT_DEBUG` - off * `USE_GPL_FFTW3` - off * `DISABLE_FLOAT_API` - off * `DISABLE_VBR` - off * `ENABLE_VORBIS_PSY` - off * `ENABLE_SSE` - on if supported * `ENABLE_ARM4_ASM` - off * `ENABLE_ARM5E_ASM` - off * `ENABLE_BLACKFIN_AS...
2006 Dec 06
0
speex 1.2beta1 encoding/decoding clicking noise on WM2003
...Yanxin Cui a ?crit : > Would it help if I scale the input wav data before encoding to spx? > One interesting thing is if I encode the same wav file to spx(or > decode the same spx file to wav ) on Windows platform, then there is > no such big clicking noise, samething is true if I use floating_point > speex library to encode/decode on WM2003. Problem happens only on > WM2003 using FIXED_POINT library. > > Thanks > > Yanxin > > > ----- Original Message ----- From: "Jean-Marc Valin" > <jean-marc.valin@usherbrooke.ca> To: <ycui@wmsvision.com&gt...
2009 Sep 25
1
High CPU usage
I have run into the same issue. Before sending a frame to encoder, I calculate the energy. If it is less than a small threshold, I simply replace this frame with "silence frame," which is 320 random samples of values smaller than 3 (16 kHz). BTW, I have only experience this problem with certain USB headsets that provide you all 0 samples when muted. Jozsef
2009 Oct 01
0
High CPU usage
...30, 2009 11:52 AM To: speex-dev at xiph.org Subject: Re: [Speex-dev] High CPU usage We have that problem too. Not with USB headset only. Some sound cards deliver all 0 samples when no microphone is connected. Using FIXED_POINT solved it. But what are the drawbacks of FIXED_POINT in comparison to FLOATING_POINT? Mark -----Urspr?ngliche Nachricht----- Von: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] Im Auftrag von Jozsef Vass Gesendet: Freitag, 25. September 2009 23:43 An: mark_schilling at gmx.de Cc: speex-dev at xiph.org Betreff: Re: [Speex-dev] High CPU usage I have run into...
2011 Jul 23
1
inside p value 'e'
Hi could some one please tell me what can identfy my numbers ? I have like 5.075e-12 , 3.207e-05, 7.438e-07 and 9.393e-08 *** , i dont know what number they are correspond to? help pls!! thanks -- View this message in context: http://r.789695.n4.nabble.com/inside-p-value-e-tp3688961p3688961.html Sent from the R help mailing list archive at Nabble.com.
2006 Dec 05
2
speex 1.2beta1 encoding/decoding clicking noise on WM2003
I am running speex 1.2beta1 on WM2003 using FIXED_POINT option, I got big clicking noise during encoding or decoding randomly, I got more noise if I spoke louder or made the MIC sensitivity higher, for example, when I encode the wav file to spx file, the original saved wav file does not have such noise, the noise is added only after it's converted to spx format. The floating point version of
2011 Sep 01
0
[PATCH 5/5] resample: Add NEON optimized inner_product_single for floating point
...ERRIDE_INNER_PRODUCT_SINGLE /* Only works when len % 4 == 0 */ static inline int32_t inner_product_single(const int16_t *a, const int16_t *b, unsigned int len) @@ -97,4 +121,81 @@ static inline int32_t inner_product_single(const int16_t *a, const int16_t *b, u return ret; } +#elif defined(FLOATING_POINT) + +static inline int32_t saturate_float_to_16bit(float a) { + int32_t ret; + asm ("vmov.f32 d0[0], %[a]\n" + "vcvt.s32.f32 d0, d0, #15\n" + "vqrshrn.s32 d0, q0, #15\n" + "vmov.s16 %[ret], d0[0]\n" + : [ret] "=&r...
2005 Oct 30
2
identity matrix
I found a very odd thing. A matrix multiplied by its inverse matrix should be an identity matrix. But why the following thing happens? <a%*%solve(a) is not an identity matrix> > x%*%t(x) [,1] [,2] [,3] [,4] [,5] [1,] 108.16 58.24 32.24 66.56 225.68 [2,] 58.24 31.36 17.36 35.84 121.52 [3,] 32.24 17.36 9.61 19.84 67.27 [4,] 66.56 35.84 19.84 40.96 138.88 [5,]
2008 Jul 17
5
calculate differences - strange outcome
Dear List, I ran into some trouble by calculating differences. For me it is important that differences are either 0 or not. So I don't understand the outcome of this calculation 865.56-(782.86+0+63.85+18.85+0) [1] -1.136868e-13 I run R version 2.71 on WinXP I could solve my problem by using round() but I would like to know the reason. Maybe someone can help me? Thanx
2008 Feb 02
0
Patch to make analysis data available.
...SPEEX_API_VERSION, which allows compile-time checking and #ifdef'ing for whether these (and other new) functions are available. Last time I programmed fixedpoint was on a 68000, and that was democode where speed>>>correctness. I've compiled the library with both FIXED_POINT and FLOATING_POINT, and verified that both give approximately the same results, but my conversion of the weights in fixed-point desperately need some work. -------------- next part -------------- Index: include/speex/speex_preprocess.h =================================================================== --- include/...
2008 Nov 10
3
SPEEX on iPhone ?
Hello Ashhar, thanks for your reply, but i'm a bit surprised. 1- Does it mean that it is possible to make a Real Time Encoding/Decoding with SPEEX on iPhone ? 2- What parameters have been used (QUALITY, SAMPLING_RATE, BITRATE) ? and what kind of CPU load do they measure for that ? Thanks by advance, Vincent ----- Original Message ----- From: "Ashhar Farhan" <farhan at
2014 Jun 20
4
[LLVMdev] [RFC] Add a scaled number class (was: Add a simple soft-float class)
On Thu, Jun 19, 2014 at 5:56 PM, Duncan P. N. Exon Smith < dexonsmith at apple.com> wrote: > > > On 2014-Jun-18, at 21:14, Andrew Trick <atrick at apple.com> wrote: > > > > Is there any way we have this utility and just not claim that it is for > use with a numerics package? The only claim we’re making is that it is a > useful utility for writing compiler
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