search for: disable_float_api

Displaying 20 results from an estimated 55 matches for "disable_float_api".

2013 Jul 08
1
patch to fix error in src/opus_multistream_encoder.c when DISABLE_FLOAT_API is defined
Hello, for your consideration. The following patch moves the channel_pos() function from within the #if !defined(DISABLE_FLOAT_API). This change is required when compiling with FIXED_POINT and DISABLE_FLOAT_API defined. #### ### diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c index 3efab53..6f3eb53 100644 --- a/src/opus_multistream_encoder.c +++ b/src/opus_multistream_encoder.c @@ -454,7 +454,9...
2016 Jul 20
1
Fix use_dtx with DISABLE_FLOAT_API
Hi, I've attached a patch to fix use_dtx when building with DISABLE_FLOAT_API. Thanks, Felicia -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20160720/4bcbab8d/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Fix-use_dtx-for-DISAB...
2017 Oct 17
1
Fix DTX is always unavailable when DISABLE_FLOAT_API is not defined
...rue except digital zero signal case. In general, following condition will be alway true except exceptional case. (analysis_info.valid || is_silence) But in a code, there is a NOT expression in front of above condition, so st->silk_mode.useDTX will be always disable Here is the code. #ifndef DISABLE_FLOAT_API st->silk_mode.useDTX = st->use_dtx && !(analysis_info.valid || is_silence); #else st->silk_mode.useDTX = st->use_dtx; #endif Is it a bug or are there any reason for this? In my opinion, the NOT expression should to be removed. I attached a fixed file. Pleas...
2013 Jun 25
0
error compiling when FIXED_POINT and DISABLE_FLOAT_API are defined
Hello, is the following a valid build option? ./configure CFLAGS="-g -O2 -DDISABLE_FLOAT_API" \ --enable-assertions --enable-fixed-point src/opus_multistream_encoder.c does not compile with that configuration. -- Pedro Becerra
2007 Dec 10
3
Speex 1.2beta3 is out!
...bspeexdsp has all the new components. Other changes include a new jitter buffer algorithm and resampler improvements/fixes. This is also the first release where libspeex can be built without any floating point support. To do this, the float compatibility API must be disabled (--disable-float-api or DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr or DISABLE_VBR). You can download it from http://www.speex.org as usual. Have fun, Jean-Marc
2019 Mar 28
3
Opus 1.3 size
Hi, I am working on trying to compile opus to be as small as possible. I have passed the FIXED_POINT and the DISABLE_FLOAT_API but I am looking into making this lib even smaller in size. Where can I find out about how to best strip this lib to only compile in what I need?
2018 Jan 15
1
Ask for suggestions about optimizing opus on STM32F407
...7ms FIXED 8kHz 2 1150 1000ms 1014ms + 147ms = 1181ms FIXED 8kHz 1 1150 1000ms 1086ms + 135ms = 1241ms FIXED 8kHz 1 1150 10000ms 11206ms + 1318ms = 12544ms H. Build Options FLOAT: OPUS_BUILD,USE_ALLOCA,CUSTOM_SUPPORT FIXED: OPUS_BUILD,USE_ALLOCA,CUSTOM_SUPPORT,FIXED_POINT,DISABLE_FLOAT_API Note: the target bit rate is twice of the sampling frequency. That's to say, the bit rate will be 96kbps, if the sampling frequency is 48kHz. The CPU usage is about 91% (911ms/1000ms), when decode 48KHz/mono/96bps. but encode requires more CPU (132%, 1312/1000ms). I will try lower bit rate...
2007 Dec 12
4
Speex 1.2beta3 is out!
...> components. Other changes include a new jitter buffer algorithm and > resampler improvements/fixes. This is also the first release where > libspeex can be built without any floating point support. To do this, > the float compatibility API must be disabled (--disable-float-api or > DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr > or DISABLE_VBR). You can download it from http://www.speex.org as usual. > > Have fun, > > Jean-Marc > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xi...
2012 Jun 14
1
High CPU usage
...dev <at> xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > Hi, I am having a similar problem. Definitely when some head phones are muted I get high CPU usage. Also it seems on some older machines using Pentium 4 the CPU usage is very high. Does compiling speex API with DISABLE_FLOAT_API and DISABLE_VBR solve the problem? Thanks Tanmay ------------------------------ Message: 2 Date: Wed, 13 Jun 2012 20:41:07 +0200 From: "Mark Schilling" <mark_schilling at gmx.de> Subject: Re: [Speex-dev] High CPU usage To: speex-dev at xiph.org Message-ID: <20120613184107...
2018 Oct 19
2
OPUS at Texas Instruments C6418
...perience with the configuration of the codec for a speed optimized implementation on that DSP? At the moment, we use the following settings: #define NONTHREADSAFE_PSEUDOSTACK 1 #define FIXED_POINT 1 #define DISABLE_FLOAT_API 1 #define OPUS_BUILD 1 #define CONFIG_TI_C6X 1 Are there any better or further possibilities to get a speed optimized...
2008 Mar 29
0
GCC/ELF Visibility patch
...ORT void speex_encoder_destroy(void *state) { (*((SpeexMode**)state))->enc_destroy(state); } -void speex_decoder_destroy(void *state) +EXPORT void speex_decoder_destroy(void *state) { (*((SpeexMode**)state))->dec_destroy(state); } @@ -85,7 +85,7 @@ #ifdef FIXED_POINT #ifndef DISABLE_FLOAT_API -int speex_encode(void *state, float *in, SpeexBits *bits) +EXPORT int speex_encode(void *state, float *in, SpeexBits *bits) { int i; spx_int32_t N; @@ -104,7 +104,7 @@ } #endif /* #ifndef DISABLE_FLOAT_API */ -int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits) +EXPORT...
2017 May 29
0
[PATCH] Add CMake build script
...avis 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_ASM` - off * `ENABLE_TI_C55X` - off * `USE_SPEEXDSP` - on if library found * `DISABLE_BINARIES` - off * `ENABLE_PACKA...
2008 Mar 18
1
Patch to make SPEEX_PREPROCESS_GET_AGC_GAIN use dB, and _SET_AGC_LEVEL use a int32
...eed to do a API change when we get a fixed point AGC. Best regards, Thorvald -------------- next part -------------- --- speex/libspeex/preprocess.c 2008-02-21 15:41:54.000000000 +0100 +++ spx/libspeex/preprocess.c 2008-03-18 18:09:30.000000000 +0100 @@ -1067,14 +1067,14 @@ break; #ifndef DISABLE_FLOAT_API case SPEEX_PREPROCESS_SET_AGC_LEVEL: - st->agc_level = (*(float*)ptr); + st->agc_level = (*(spx_int32_t*)ptr); if (st->agc_level<1) st->agc_level=1; if (st->agc_level>32768) st->agc_level=32768; break; case SPEEX_PRE...
2011 May 09
1
V11.1 Problem
..., I am getting the following compile error on V11.1 "declaration may not appear after executable statement in block". This occurs in two places in celt.c. ============================================================================ ==================== #ifdef FIXED_POINT #ifndef DISABLE_FLOAT_API CELT_STATIC int celt_encode_with_ec_float(CELTEncoder * restrict st, const float * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc) { int j, ret, C, N; VARDECL(celt_int16, in); ALLOC_STACK; SAVE_STACK;<<<<<<<<<<<...
2019 Nov 13
0
about speech/music detector in opus 1.3.1
..._VOICE_RATIO(x) 11019, __opus_check_int_ptr(x) int32_t voiceRatio; opus_encoder_ctl(encoder, OPUS_GET_VOICE_RATIO(&voiceRatio)); LOGI("voice ratio:%d", voiceRatio); But it always return -1. And then I found that in the opus_encoder.c, the classification can only enable when #ifndef DISABLE_FLOAT_API, but I’m not sure if & where we define the DISABLE_FLOAT_API? How can I build the lib without this macro? I build the lib for IOS, using the script at https://github.com/chrisballinger/Opus-iOS <https://github.com/chrisballinger/Opus-iOS> It takes me several days to test but no success,...
2009 Aug 03
1
Does VBR work for speex in non-float platform now?
...to a new libspeexdsp library. >Other changes include a new jitter buffer algorithm and resampler improvements/fixes. This is also the first release where libspeex can be built without any floating point support. >To do this, the float compatibility API must be disabled (--disable-float-api or DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr or DISABLE_VBR). Does 14525 still need this limit? Has this problem fixed by the newest revision 16402? Thanks Barry
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...ORT void speex_encoder_destroy(void *state) { (*((SpeexMode**)state))->enc_destroy(state); } -void speex_decoder_destroy(void *state) +EXPORT void speex_decoder_destroy(void *state) { (*((SpeexMode**)state))->dec_destroy(state); } @@ -85,7 +85,7 @@ #ifdef FIXED_POINT #ifndef DISABLE_FLOAT_API -int speex_encode(void *state, float *in, SpeexBits *bits) +EXPORT int speex_encode(void *state, float *in, SpeexBits *bits) { int i; spx_int32_t N; @@ -104,7 +104,7 @@ } #endif /* #ifndef DISABLE_FLOAT_API */ -int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits) +EXPORT...
2016 Aug 26
2
Using opus on ATMEL 32-bit RISC microcontroller
Hi, First of all, I'm quite new to opus. I'm trying to use fixed point opus on an ATMEL AT32UC3B0512. I added the opus source into mine sw tree, I trim off code I don't use (eg. arm, x86 folders) It compiles, but the generated image is too big to fit in the flash. Have I any way to reduce the source footprint? (Eg. throw away unecessary files, if there are any..) Thanks, Daniele.
2008 Aug 24
2
speex RAM optimising
Greetings to All! Now I am trying to run speex on TI DSP... I need only coder+decoder+AEC. Bitrate 8000bps. Building with floating point support. What can i do, to reduce RAM consumption? I mean very serious RAM optimisations. Deleting not used structure fields, etc... May be I can do something with alloc... Help me to determine that it is possible to throw out. What is best result(in RAM
2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
...if (st->silk_mode.useDTX) { + /* DTX determined by Silk. */ + void *silk_enc = (char*)st+st->silk_enc_offset; + *value = ((silk_encoder*)silk_enc)->state_Fxx[0].sCmn.noSpeechCounter >= NB_SPEECH_FRAMES_BEFORE_DTX; + } +#ifndef DISABLE_FLOAT_API + else if (st->use_dtx) { + /* DTX determined by Opus. */ + *value = st->nb_no_activity_frames >= NB_SPEECH_FRAMES_BEFORE_DTX; + } +#endif + } + break; case CELT_GET_MODE_REQUEST: { -------------- next par...