search for: nb_decode_lost

Displaying 11 results from an estimated 11 matches for "nb_decode_lost".

2005 Oct 24
2
(small) bug in nb_decode?
...nh_k2); which in the newer codebase is: bw_lpc(SUBMODE(lpc_enh_k1), st->interp_qlpc, awk1, st->lpcSize); bw_lpc(SUBMODE(lpc_enh_k2), st->interp_qlpc, awk2, st->lpcSize); I am not sure if the newer code will have the same issue but the following check is performed in nb_decode_lost, so I figure the same thing should be done in decode... right? add (or equivalent): if (st->submodes[st->submodeID] != NULL) { k1=SUBMODE(lpc_enh_k1); k2=SUBMODE(lpc_enh_k2); k3=(1-(1-r*k1)/(1-r*k2))/r; } else {...
2010 Oct 28
0
PLC in Speex-
I've been working on improving packet loss concealment in my VoIP client -- I hadn't actually realized speex performed some PLC until I was looking at nb_decode(). There are two things I'd like to do, and I think both will require some modification to nb_decode() and nb_decode_lost(). - I'd like to have my frames overlap by some number of samples. This is intended to reduce the amount of fill/stretch that has to happen when a packet is missing. This can probably be an entire subframe. - I'd like to have nb_decode_lost() use information about future packets that may...
2010 Oct 28
0
PLC in Speex
I've been working on improving packet loss concealment in my VoIP client -- I hadn't actually realized speex performed some PLC until I was looking at nb_decode(). There are two things I'd like to do, and I think both will require some modification to nb_decode() and nb_decode_lost(). - I'd like to have my frames overlap by some number of samples. This is intended to reduce the amount of fill/stretch that has to happen when a packet is missing. This can probably be an entire subframe. - I'd like to have nb_decode_lost() use information about future packets that may...
2005 Oct 25
1
(small) bug in nb_decode?
...: At 03:22 PM 10/25/2005, Jean-Marc Valin wrote: >Are you really sure you didn't have some corruption elsewhere? Totally possible- this is the first time this has happened that I know of in many many hours of usage- On the other hand, this null check isn't in my code base and it was in nb_decode_lost, and nb_encode- so I figured it was just an oversight- Tom ______________________________________________ Tom Harper Lead Software Engineer SightSpeed - <http://www.sightspeed.com/>http://www.sightspeed.com/ 918 Parker St, Suite A14 Berkeley, CA 94710 Email: tharper@sightspeed.com Phone...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...king the codec by removing them > or if all that I removed is just fine. Assuming you're not changing your code, there are very few functions that would be "rarely called" (either it is every time, or it's not). The only exception might be the packet loss concealment function (nb_decode_lost). > these are the functions that I removed: > > In bits.c: > speex_bits_init > speex_bits_init_buffer > speex_bits_destroy > speex_bits_reset > speex_bits_rewind > speex_bits_read_from > speex_bits_flush > speex_bits_read_whole_bytes > speex_bits_write > sp...
2004 Aug 06
2
Packet loss concealment ??
Hi, I would like to know which method uses Speex to conceal the loss of packets. I've reviewed the code and haven't found anything. Thanks in advance. Iago Soto. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://westfish.xiph.org/pipermail/speex-dev/attachments/20040614/bfa135e0/attachment.htm
2006 Aug 18
0
Please test upcoming release
...75 Mobile: +47 94 29 65 87 Skype: alfredheggestad -------------- next part -------------- Index: libspeex/nb_celp.c =================================================================== --- libspeex/nb_celp.c (revision 11792) +++ libspeex/nb_celp.c (working copy) @@ -1145,7 +1145,7 @@ static void nb_decode_lost(DecState *st, spx_word16_t *out, char *stack) { - int i, sub; + int i; int pitch_val; spx_word16_t pitch_gain; spx_word16_t fact;
2010 Jun 26
2
packet loss concealment algorithm in speex speech codec
Hi, I am an engineering student in IIT Guwahati, India. Currently, as a summer project I am working on 'packet loss concealment in voip scenario'. I am eager to know what PLC methods are used at receiver end of speex decoder. And if I could develop some more efficient method I could able to contribute to the speex. Actually, I searched the whole speex manual but failed to find what
2006 Aug 17
7
Please test upcoming release
Hi everyone, I'm about to release version 1.2-beta1 (which I could have called 1.1.13), which includes many, many changes. It would help if everyone could give the svn version (http://svn.xiph.org/trunk/speex/) a try and see if it works fine. I'll check my email next week when I'm back from some vacations and if nothing bad has been reported, I'll make the release. Have fun,
2007 Aug 06
2
Attempting to shrink speex: Are these functions necessary?
Hi, I am using speex 1.2beta2 on a narrowband 16-bit, 8khz system that has a severe program space problem and will not fit speex in its normal operation. In an attempt to shrink speex I placed a breakpoint in every function and ran a decode and encode and removed the breakpoints that I hit. in the functions that had a breakpoint that I didn't hit I commented out those functions (as well as
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...char*)st)); #endif return st; } void nb_decoder_destroy(void *state) { DecState *st; st=(DecState*)state; speex_free(state); } #define median3(a, b, c) ((a) < (b) ? ((b) < (c) ? (b) : ((a) < (c) ? (c) : (a))) : ((c) < (b) ? (b) : ((c) < (a) ? (c) : (a)))) static void nb_decode_lost(DecState *st, spx_word16_t *out, char *stack) { int i, sub; VARDECL(spx_coef_t *awk1); VARDECL(spx_coef_t *awk2); VARDECL(spx_coef_t *awk3); float pitch_gain, fact; spx_word16_t gain_med; fact = exp(-.04*st->count_lost*st->count_lost); gain_med = median3(st->pitch_...