search for: disable_wideband

Displaying 19 results from an estimated 19 matches for "disable_wideband".

2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
...size of the scratch area as the function of mode. By the process of trial and error I found out that in my mode scratch never exceeds 2700 bytes but finding this data in documentation would be so simpler and more reliable. On the code size things are less rosy. The wideband indeed goes away with DISABLE_WIDEBAND but that's about all. Due to extensive use of function pointers very little unused stuff beyond wideband goes away when unused. For starter, I would like DISABLE_VBR analogous to DISABLE_WIDEBAND. After that, it's probably possible to put vocoder under conditional compilation the stuff th...
2009 Dec 15
1
encoding time
Good afternoon! Thank you for your product Speex. We want to use it in microcontroller AT91SAM7S256 (48 MHz). We applied the following: #define FIXED_POINT #define DISABLE_WIDEBAND #define DISABLE_HIGHPASS #define MANUAL_ALLOC #define OS_SUPPORT_CUSTOM at speex_encoder_init(&speex_nb_mode); speex_decoder_init(&speex_nb_mode); tmp=2; speex_encoder_ctl(st, SPEEX_SET_QUALITY, &tmp); Encoding time for one frame (20 ms) is 46 ms, and decoding time is 4 ms....
2005 Jul 26
1
TMS320VC5502
Hi ! Can anybody point me how to compile speex for subj ? May be I'm doing something stupid.. I just took all files from /libspeex and added them to my project in Code Composer 2.1. Then I set global definitions CONFIG_TI_C55X, FIXED_POINT, DISABLE_WIDEBAND, RELEASE for entire project and edit arch.h and create speex_config_types.h. Then tried to compile it and run. Code seems to be hang in function _spx_autocorr (). What I did wrong ? (I used speex 1.1.10). Should I compile code under cygwin and just link library to Code Composer ? Is it possible ? P...
2006 Dec 14
1
Would be nice to conditionally compile out coding modes and code tables...
...n by the linker > due to the > > references made by the structures in modes.c. Attached is a > > replacement modes.c for compiling out modes that are not in use for > > anyone who's interested. > > There's already a --disable-wideband (and corresponding > DISABLE_WIDEBAND) option in the code, so I'm not sure what > your patch is supposed to add. Searching the code (speex 1.0.5) I don't find DISABLE_WIDEBAND. This is new to speex 1.2 and I wasn't aware of the update. > Also, disabling narrowband > doesn't make sense because it's use...
2006 Apr 13
2
How to create a compact Speex library
Hi, Sorry if this a repost but I want to create the smallest Speex library possible to be put in TI's TMS320 DSP. I'm only interested in one configuration: 5.97 Kbps narrowband. What part of source code can I remove? Currently, when I compiled the version 1.1.12 libspeex.a library with the TI TMS320 and Fixed-Integer options, I get around 522Kb. I would like to reduce it to as small
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
2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
...ble-size automatic arrays as well as with alloca the developer of small embedded system has to know the size of run-time stack. And please, don't assume that everybody all the time have at least 4K. >> On the code size things are less rosy. >> The wideband indeed goes away with DISABLE_WIDEBAND but that's about all. >> Due to extensive use of function pointers very little unused stuff beyond wideband >> goes away when unused. > >Unless you NULL those pointers you don't need. Also, if you only use one >rate, there are tables you can get rid of as well. All the...
2007 Jan 22
1
Clicking noise using Speex built for TI C64+ DSP of DaVinci Processor
...ely on the ARM side (not using the DSP), it works fine. I don't know where that clicking noise is coming from. Any advice/comments/suggestions? Here's what's included in my config.h file for Speex (compiled with -DCONFIG_TI_C6X): #define FIXED_POINT #define FRAME_SIZE 160 #define DISABLE_WIDEBAND #define MAX_CHARS_PER_FRAME (42/BYTES_PER_CHAR) #define MANUAL_ALLOC #define USER_MISC Speex narrow band parameters I'm using: Quality: 2 /* 5950 bps */ Enhancement: 0 Vbr: disabled Complexity: 1 The DaVinci processor is relatively new and I can't seem to find anyone wh...
2007 Jun 21
0
Blackfin inline assembler and VisualDSP++ toolchain
...r work for this to be of any help. > I measured one mode at one complexity setting (15kbps, complexity=1). If you could publish data for other modes/complexities it would be appreciated. >>>> On the code size things are less rosy. >>>> The wideband indeed goes away with DISABLE_WIDEBAND but that's about >>>> all. >>>> Due to extensive use of function pointers very little unused stuff >>>> beyond wideband >>>> goes away when unused. >>> >>>Unless you NULL those pointers you don't need. Also, if you only use...
2006 Apr 13
4
How to create a compact Speex library
...I would > > like to reduce it to as small as possible given my > > above 5.97 Kbps operating constraints (I don't > need > > all the other extra features from Speex: jitter > > buffer, echo cancellation, etc). > > First, try --disable-wideband (or define > DISABLE_WIDEBAND). Then you can > start removing other stuff you don't need. To get > rid of the echo > canceller, simply remove mdf.c. Then you can get rid > of jitter.c, > preprocess.c, pcm_wrapper.c, smallft.c, ... > Basically, if you remove the > file and it still works, then it wasn...
2007 Jan 23
1
Re: Clicking noise using Speex built for TI C64+ DSP of DaVinci Processor
...it works fine. > > I don't know where that clicking noise is coming from. Any advice/comments/suggestions? > > Here's what's included in my config.h file for Speex (compiled with -DCONFIG_TI_C6X): > > #define FIXED_POINT > #define FRAME_SIZE 160 > #define DISABLE_WIDEBAND > #define MAX_CHARS_PER_FRAME (42/BYTES_PER_CHAR) > #define MANUAL_ALLOC > #define USER_MISC > > Speex narrow band parameters I'm using: > Quality: 2 /* 5950 bps */ > Enhancement: 0 > Vbr: disabled > Complexity: 1 > > The DaVinci processor i...
2006 Apr 13
0
How to create a compact Speex library
...er, something's already wrong. > I would > like to reduce it to as small as possible given my > above 5.97 Kbps operating constraints (I don't need > all the other extra features from Speex: jitter > buffer, echo cancellation, etc). First, try --disable-wideband (or define DISABLE_WIDEBAND). Then you can start removing other stuff you don't need. To get rid of the echo canceller, simply remove mdf.c. Then you can get rid of jitter.c, preprocess.c, pcm_wrapper.c, smallft.c, ... Basically, if you remove the file and it still works, then it wasn't needed. In addition to all the...
2008 Aug 24
0
speex RAM optimising
How much memory reduction are you after? There's lots of stuff you can delete, starting with defining DISABLE_VBR, DISABLE_WIDEBAND and DISABLE_FLOAT_API. From there, you can delete all the *table.c files except for exc_10_32_table.c, gain_table_lbr.c and lsp_tables_nb.c. In libspeexdsp, you can pretty much delete everything (preprocessor, jitter buffer, resampler, ...) but mdf.c Jean-Marc ??????? ??????? a ?crit : > Gre...
2009 Feb 04
0
Use Speex on embedded ARM-device...
Hi Tobias, I don't know if you've noticed, but ST actually released an optimised port of Speex for their chip (see mailing list archive). About disabling wideband, that can be done by defining DISABLE_WIDEBAND. You probably also want to define DISABLE_VBR and DISABLE_FLOAT_API. As you noted, you can also disable more than half the codebooks. That being said, I think adding a bunch of macros to the main codebase to do that automatically, would just make things more confusing. Jean-Marc Tobias Erichsen...
2009 Feb 04
2
Use Speex on embedded ARM-device...
Hi everyone, I'm currently looking into using speex in an embedded project using an ST ARM-device (STR9 family) just with internal memory (96kbyte) and no O/S. Does anyone know if the optimizations included in the code for ARMv4 and ARMv5e are appliable to this device? I would also need to strip down libspeex pretty hard to fit into the available memory. I just want to use a fixed bitrate
2006 Apr 14
0
How to create a compact Speex library
...reduce it to as small as possible given my >> > above 5.97 Kbps operating constraints (I don't >> need >> > all the other extra features from Speex: jitter >> > buffer, echo cancellation, etc). >> >> First, try --disable-wideband (or define >> DISABLE_WIDEBAND). Then you can >> start removing other stuff you don't need. To get >> rid of the echo >> canceller, simply remove mdf.c. Then you can get rid >> of jitter.c, >> preprocess.c, pcm_wrapper.c, smallft.c, ... >> Basically, if you remove the >> file and it...
2006 Dec 13
2
Would be nice to conditionally compile out coding modes and code tables...
I'm only using the narrow-band encoder on my embedded system and have removed all references to the wide-band and ultra-wide band encoder functions and tables. They will be pulled in by the linker due to the references made by the structures in modes.c. Attached is a replacement modes.c for compiling out modes that are not in use for anyone who's interested. Also, I've removed the
2007 Jan 23
0
Re: Clicking noise using Speex built for TI C64+ DSP ofDaVinci Processor
...it works fine. > > I don't know where that clicking noise is coming from. Any advice/comments/suggestions? > > Here's what's included in my config.h file for Speex (compiled with -DCONFIG_TI_C6X): > > #define FIXED_POINT > #define FRAME_SIZE 160 > #define DISABLE_WIDEBAND > #define MAX_CHARS_PER_FRAME (42/BYTES_PER_CHAR) > #define MANUAL_ALLOC > #define USER_MISC > > Speex narrow band parameters I'm using: > Quality: 2 /* 5950 bps */ > Enhancement: 0 > Vbr: disabled > Complexity: 1 > > The DaVinci processor i...
2006 Apr 17
2
How to create a compact Speex library
...> my > >> > above 5.97 Kbps operating constraints (I don't > >> need > >> > all the other extra features from Speex: jitter > >> > buffer, echo cancellation, etc). > >> > >> First, try --disable-wideband (or define > >> DISABLE_WIDEBAND). Then you can > >> start removing other stuff you don't need. To get > >> rid of the echo > >> canceller, simply remove mdf.c. Then you can get > rid > >> of jitter.c, > >> preprocess.c, pcm_wrapper.c, smallft.c, ... > >> Basically, if y...