similar to: Manual scratch allocation : memory usage doubt

Displaying 20 results from an estimated 500 matches similar to: "Manual scratch allocation : memory usage doubt"

2008 Dec 01
1
Question about UWB
Hi all, One question that I hope someone on the list just knows the answer to without having to delve too deeply into the code: How does UWB mode divvy up the bandwidth and pack it in the bitstream? I know from the documentation that WB mode codes the first 0-4K kHz band as a Narrowband packet, and then adds on the 4-8 kHz band coded separately (so that a NB decoder can decode a WB bitstream
2006 May 10
2
frame size
Hi, Can someone please tell me how should I go about changing the frame size which is hardcoded to 160 for NB and WB and 320 for UWB. For NB speech(8KHz) the framesize of 160 is 20ms frame but for WB and UWB its 10ms. What are the parameters being affected by simply changing the framesize and sub-frame size in "modes.c" How to change the buffer size and how its affected. can we have a
2005 Sep 08
1
ultra wide band packet questions
Hi Jean Marc and List, So I have started finally fiddling around with Ultra-wideband mode. It appears to be very similar in operation to Wide mode, except that when peering into the packet structure it looks like (and these are kind of questions as much as statements here): 1. update rate 0 is not used in UWB- only 1-4? 2. The total bits used for each UWB update rate seem to be as follows:
2009 Jun 30
3
Delays estimation in Speex algorithms
Speex tells me that the decoder is always 5 ms, but it says that the encoder is 5 ms for NB, 8.9375 ms for WB, and 10.90625 ms for UWB. Is there an extra frame of delay in the encoder that isn't otherwise accounted for? John Ridges Jean-Marc Valin wrote: > Quoting John Ridges <jridges at masque.com>: > >> I also need to know the precise delays from Speex but I used
2009 Jun 30
3
Delays estimation in Speex algorithms
JM, I also need to know the precise delays from Speex but I used the SPEEX_GET_LOOKAHEAD control requests to determine them (plus the "speex_resampler_get_output_latency" function from the resampler). The returned values from the Speex lookahead request don't seem to match with the values you gave Alexander. Am I doing this wrong? Thanks, John Ridges speex-dev-request at
2008 Feb 13
2
Determine number of 20ms frames in packet - without decoding
> Ok, here is cleaned up and fixed version. > > * Function is named speex_get_num_frames() now and return > number of frames, as you suggested. > * WB layers sizes are taken from wb_skip_table[], while NB frame > sizes are calculated with speex_mode_query(). Looking better. Just make sure to remove the stuff that isn't C99-compatible (e.g. // comments). > I've
2005 Oct 26
2
Noisy sound quality with Blackfin in WB-mode
Hi Jean-Marc, > Can you confirm I'm understanding everything correctly? You encode > with > the same encoder and then decode with either A) blackfin assembly and > fixed-point or B) fixed-point only on Blackfin. Then A) sounds bad and > B) sounds good. If you do the same in narrowband, it sounds OK. Is > that > correct? If that's the case, it's *probably* some
2009 Dec 15
2
Regression in wideband encoding quality between b1 and rc1
Hello, To start with, thanks a lot for making such a great voice codec available! Having recently upgrading to speex rc1, It occurred to us that there seems to have been a regression in the quality of encoding since version beta1. We are compressing some 22khz wave files in wb mode with maximum quality / complexity in VBR, and the result was really great with speex beta1. With rc1 (or beta3),
2004 May 20
6
net ads join hangs forever
I am trying to join my Linux workstation to my ADS domain. Unfortunately, I'm not having much success. net ads join hangs forever (or at least for more than 12 hours) when run. The computer account is created in the domain, but the process never completes. tdbdump secrets.tdb shows no results, and wbinfo shows users and groups from the trusted domains but not from the domain I am trying to
2008 Feb 16
2
Determine number of 20ms frames in packet - without decoding
> Oh, you're right, inband handling is different, but it's a matter of one > flag, passed to functioin. Probably not that much to keep code DRY. Well, let's first merge your code and then we'll see about possible simplifications. >> frame: 20 ms encoding >> sub-frame: 5 ms encoding (internal) >> layer: one frame of nb or sb >> sb: sub-band >>
2006 Mar 14
1
Encoding mode
Hello, In the internet draft describing the SDP parameters for speex I find this: mode: Speex encoding mode. Can be {1,2,3,4,5,6,any} defaults to 3 in narrowband, 6 in wide and ultra-wide. In the documentation I can only find the following request: SPEEX_SET_MODE There is no description though what this request does. I think the mode somehow maps to the bitrate, but I
2007 Aug 06
1
Data space crunching-how small can I get?
Hi, I am using speex 1.2beta2 on a C5416, 16 bit, narrowband. The project I am implementing speex into is very limited in Data space. In the speex decode_init and encode_init there are allocs that, combined, take up 0x0F94 of data memory. I do not know why the various allocs are sized the way they are but that number is too big to fit into our project. I was wondering if those numbers (for
2008 Feb 12
2
Determine number of 20ms frames in packet - without decoding
Hi Alexander, > Here is first attempt. I'm sending it here for review - am I understand > you correctly? If general approach is correct, I'll change code to use > modes from modes.c. I haven't tested, but it looks sane. Just a few comments: - printf("\tERROR not enough bits left after wb\n"); this is actually now an error. It just means you got to the end of the
2009 Jun 29
3
Delays estimation in Speex algorithms
Hi, I want to do a careful measure of mic-to-net and net-to-spkr delays in sip media engine and to make it really precise I need to know delays, introduced by Speex algorithms. In particular, I'm interested in delays of: 1) encoder in NB, WB and UWB modes, 2) decoder (I guess it should be 0?) 3) resampler. I think it varies depending on input rate to output rate ratio. Any generic formula or
2005 Sep 27
1
Precomputing the remaining floating pointoperations.
Firstly, running for more channels will not break my hack. All that's needed is to call RECOPLAY_MARK with different identifiers (say nb, wb or uwb) before doing the appropriate initialization. Secondly, my attempts to do the Gaussian in fixed point went like this : Define a new constant lag_factor_gauss that is manually set equal to exp(sqr(2*M_PI*lag_factor)/-2) by whoever changes the
2006 Dec 13
1
Can decoder adapts to different mode per frame ?
Hi Jean-Marc, Suppose that the incoming rtp stream is coded by different mode(NB/WB/UWB) each frame. Can speex decoder adjust its mode per frame in real time embedded system? I think it's hard to do that, so I think it's better to add an mode parameter in the decoder interface. What do you think? Best Regards, Lianghu -------------- next part -------------- An HTML attachment was
2007 Jun 07
1
speex1.2-beta2 and noise suppression problem
Hi! I'm using the newest (beta2) speex library on PocketPC (Windows powered) and experiencing some problems with noise suppression preprocessor turned on while encoding 44kHz files. You can hear the example here: http://szalik.net/speex (this is a 44kHz, 16, mono file encoded in UWB mode) I tried using speex cross-compiled with gcc (fixed point + arm4 asm) and VS (just fixed point) and it
2009 Jun 15
1
Performance and Optimization
I have a question about the overall performance of Speex and what I can do to improve it. I'm running Speex Windows x86, Visual C++ EE compiler. I will say right away that I've only compiled debug so far and used no compiler optimizations at all. I use the uwb-mode, preprocessing, denoising and echo cancellation. I've noticed that speex consumes a lot of cpu resources. When I run this
2004 Aug 06
2
speed and memory
hello, i switched to use the encoder.processData() and encoder.getProcessedData() of jspeex. however it looks to me like a memory leak ... memory usage is increasing very fast and there is no visible stop ... after about five minutes java.lang.OutOfMemory occurs. I think it must be the jspeex component, because before i added jspeex to my app usage was constant at about 5mb. is it possible
2009 Jun 18
2
Performance and Optimization
The reasons I have posted these questions are: 1) To find out if Speex can take advantage of SIMD extensions. 2) To maybe learn from someone with previous experience in optimizing Speex for moderns x86 architectures before I set off trying all kinds of things on my own. See answers inline: 2009/6/15 Tom Grandgent <tom at grandgent.com> > Why haven't you tried using release build