search for: nb_encod

Displaying 20 results from an estimated 26 matches for "nb_encod".

Did you mean: nb_encode
2006 Oct 30
2
2 questions, frame size and SPEEX_GET_LOOKAHEAD
...o if I don't want those padded zero after decoding, I assume that it is up to me to keep track of the number of zeros. Is it right? 2. What does SPEEX_GET_LOOKAHEAD do? How to use it? In speexenc.c, there is following code: ... speex_encoder_ctl(st, SPEEX_GET_LOOKAHEAD, &lookahead); ... nb_encoded = -lookahead; Can someone explain what this means? Thanks. j.p.
2006 Apr 08
2
speex cvs: 'EncState' has no member named 'frame'
...-I. -I.. -I../include -I../include -I.. -I/usr/include -O2 -fPIC -funswitch-loops -ftree-loop-linear -march=k8 -ftree-vectorize -pipe -mfpmath=sse -frename-registers -O3 -msse -MT nb_celp.lo -MD -MP -MF .deps/nb_celp.Tpo -c nb_celp.c -fPIC -DPIC -o .libs/nb_celp.o nb_celp.c: In function 'nb_encode': nb_celp.c:442: error: 'EncState' has no member named 'frame' make[2]: *** [nb_celp.lo] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/speex/libspeex' sean
2004 Aug 06
3
libspeex crash with RC3
I tried to compress 160 samples of random garbage (range 0-500.f) at 4kbps and got a crash in nb_encode -> forced_pitch_quant because start was -858993460 (== ol_pitch). -- Daniel, Epic Games Inc. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' contai...
2005 Apr 20
2
Speex-1.1.7 seems to crash with --enable-sse (on P3/GCC-3.2)..
...<br> #0&nbsp; fir_mem2_10 (x=0x80552a8, _num=0x80566b4, y=0x80558ac, N=160, ord=10, _mem=0x80568cc) at xmmintrin.h:790<br> #1&nbsp; 0xb75dc509 in fir_mem2 (x=0x80552a8, _num=0x80566b4, y=0x80558ac, N=160, ord=0, _mem=0x1) at filters_sse.h:330<br> #2&nbsp; 0xb75d2ca7 in nb_encode (state=0x80551b0, vin=0xbfff88e0, bits=0xbfff9f70) at nb_celp.c:351<br> #3&nbsp; 0xb75dd560 in speex_encode_int (state=0x80551b0, in=0xb75e9400, bits=0xbfff9f70) at speex.c:141<br> #4&nbsp; 0x0804a071 in main (argc=0, argv=0xbfffafe4) at speexenc.c:688<br> <br> <...
2005 Oct 25
1
(small) bug in nb_decode?
...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: 510-665-2920...
2004 Nov 30
1
Problem compiling speex 1.1.6
...s -O3 -march=i686 -O3 -msse -c -o nb_celp.lo `test -f 'nb_celp.c' || echo './'`nb_celp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -s -O3 -march=i686 -O3 -msse -c nb_celp.c -MT nb_celp.lo -MD -MP -MF .deps/nb_celp.TPlo -fPIC -DPIC -o .libs/nb_celp.o nb_celp.c: In function `nb_encode': nb_celp.c:379: error: invalid operands to binary >> make[2]: *** [nb_celp.lo] Error 1 make[2]: Leaving directory `/tmp/speex-1.1.6/libspeex' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/speex-1.1.6' make: *** [all] Error 2
2005 Sep 05
2
[PATCH] fix gcc 3.4 warnings
...warning: libspeex/ltp.c:573: warning: declaration of "start" shadows a global declaration build/include/UbicomSDK.h:5651: warning: shadowed declaration is here also this line gives a warning: v1=(int)floor(st->vbr_quality); libSpeex/libspeex/nb_celp.c: In function `nb_encode': libSpeex/libspeex/nb_celp.c:465: warning: cast does not match function type my CFLAGS include this: -Wall \ -Wstrict-prototypes \ -Wshadow \ -Wundef \ -Wbad-function-cast \ -Wcast-align \ -Wsign-compare \ perhaps we should add a few of these to libspeex ? attached is a new and le...
2004 Sep 29
1
ARM w/ assembly & fixed point crash
...enc_state); return 0; } Compiling with -DFIXED_POINT, or -DFIXED_POINT/-DFIXED_ARM it works totally fine (in ARM or Thumb mode). Compiling with either of these and -DARM_ASM seems to cause it to crash. (gdb) where #0 0x0004b324 in MULT16_16 (x=0, y=1310) at fixed_arm.h:57 #1 0x00044284 in nb_encode (state=0x86df8, vin=0x7f798, bits=0x7fce4) at ../src/nb_celp.c:262 #2 0x00053b28 in speex_encode (state=0x86df8, in=0x30000, bits=0x7fce4) at ../src/speex.c:104 #3 0x0004204c in speex_test (argc=0 '\0', argv=0x81e00) at speex.c:35 #4 0x000417c8 in shelltask (param=0x0) at shelltask.c:14...
2005 Apr 20
0
Speex-1.1.7 seems to crash with --enable-sse (on P3/GCC-3.2)..
...790 > 790 { > (gdb) bt > #0 fir_mem2_10 (x=0x80552a8, _num=0x80566b4, y=0x80558ac, N=160, > ord=10, _mem=0x80568cc) at xmmintrin.h:790 > #1 0xb75dc509 in fir_mem2 (x=0x80552a8, _num=0x80566b4, y=0x80558ac, > N=160, ord=0, _mem=0x1) at filters_sse.h:330 > #2 0xb75d2ca7 in nb_encode (state=0x80551b0, vin=0xbfff88e0, > bits=0xbfff9f70) at nb_celp.c:351 > #3 0xb75dd560 in speex_encode_int (state=0x80551b0, in=0xb75e9400, > bits=0xbfff9f70) at speex.c:141 > #4 0x0804a071 in main (argc=0, argv=0xbfffafe4) at speexenc.c:688 > > > Just a question, how to in...
2005 Mar 08
1
Speex-1.1.7 seems to crash with --enable-sse (on P3/GCC-3.2)..
...) bt #0 fir_mem2_10 (x=0x8054a88, _num=0x8055e94, y=0x805508c, N=160, ord=10, _mem=0x80560ac) at /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/xmmintrin.h:774 #1 0x40020add in fir_mem2 (x=0x8054a88, _num=0x8055e94, y=0x805508c, N=160, ord=0, _mem=0x1) at filters_sse.h:330 #2 0x40016c23 in nb_encode (state=0x8054990, vin=0xbfffd420, bits=0xbfffeaa0) at nb_celp.c:351 #3 0x400215f4 in speex_encode_int (state=0x8054990, in=0xbfffead0, bits=0xbfffeaa0) at speex.c:141 #4 0x0804a089 in main (argc=-80, argv=0xbffffad4) at speexenc.c:688 #5 0x420158d4 in __libc_start_main () from /lib/i686/libc....
2006 Jan 18
2
TI 6xxx platform performance
...200 4511420 4511420 iir_mem2 599 3338308 3338308 filter_mem2 799 2323655 2323655 compute_impulse_response 200 1800518 1800518 pitch_gain_search_3tap 199 4726604 1744952 open_loop_nbest_pitch 199 4204121 1641016 vq_nbest 800 1626252 1626252 lpc_to_lsp 50 1612650 1558133 nb_encode 50 27412845 1179551 fir_mem2 50 1097300 1097300 inner_prod 27469 1072299 1072299 split_cb_search_shape_sign_N1200 7310588 1007711 normalize16 597 303378 303378, A lower cost option would be to use a floating point 6713. I thought that a 300Mhz floating point would come...
2004 Aug 06
2
Coredumps when --enable-sse is selected
...024594 in filter_mem2_10 (x=0x805f31c, _num=0x8061fb8, _den=0x8061fe4, y=0x806071c, N=160, ord=10, _mem=0x8062150) at xmmintrin.h:790 #1 0x400248b4 in filter_mem2 (x=0x805f31c, _num=0x8061fb8, _den=0x8061fe4, y=0x806071c, N=1, ord=0, _mem=0x8061fe4) at filters_sse.h:135 #2 0x40019d1e in nb_encode (state=0x805ebd0, vin=0x80582b4, bits=0xbfffe840) at nb_celp.c:314 #3 0x40025e33 in speex_encode_native (state=0x8061fe4, in=0x0, bits=0x0) at modes.c:717 #4 0x4001dd30 in sb_encode (state=0x8054e90, vin=0xbfffd1c0, bits=0xbfffe840) at sb_celp.c:309 #5 0x40025eea in speex_encode_int (state=0x80...
2006 Jan 18
2
Errors in speex lib with Blackfin
Hello! I'v downloaded speex lib 1.1.11.1. I am trying to port speex lib to Blackfin processor. I am using VisualDSP++ 4.0. If I am compiling source codes with using floating point everything ok. When I am compiling with FIXED_POINT defined everything's ok and code works about two times faster. But when I am defining BFIN_ASM I am getting several compiling errors in Blackfin assembler
2004 Aug 06
0
libspeex crash with RC3
...ailto:owner-speex-dev@xiph.org]On > Behalf Of Daniel Vogel > Sent: Wednesday, March 12, 2003 10:40 PM > To: speex-dev@xiph.org > Subject: [speex-dev] libspeex crash with RC3 > > > I tried to compress 160 samples of random garbage (range 0-500.f) at 4kbps > and got a crash in nb_encode -> forced_pitch_quant because start > was -858993460 (== ol_pitch). > > -- Daniel, Epic Games Inc. > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to >...
2004 Aug 06
0
Coredumps when --enable-sse is selected
...805f31c, _num=0x8061fb8, > _den=0x8061fe4, y=0x806071c, N=160, ord=10, > _mem=0x8062150) at xmmintrin.h:790 > #1 0x400248b4 in filter_mem2 (x=0x805f31c, _num=0x8061fb8, _den=0x8061fe4, > y=0x806071c, N=1, ord=0, > _mem=0x8061fe4) at filters_sse.h:135 > #2 0x40019d1e in nb_encode (state=0x805ebd0, vin=0x80582b4, > bits=0xbfffe840) at nb_celp.c:314 > #3 0x40025e33 in speex_encode_native (state=0x8061fe4, in=0x0, bits=0x0) at > modes.c:717 > #4 0x4001dd30 in sb_encode (state=0x8054e90, vin=0xbfffd1c0, > bits=0xbfffe840) at sb_celp.c:309 > #5 0x40025eea i...
2005 Sep 04
2
[PATCH] fix gcc 3.4 warnings
hi attached is a patch fixing some build warnings with ip3k-elf-gcc (gcc 3.4-20030722-Ubicom-63-1211). not all fixes are elegant, please review carefully before applying.. /alfred -------------- next part -------------- A non-text attachment was scrubbed... Name: warnings.diff Type: text/x-patch Size: 17666 bytes Desc: not available Url :
2005 Sep 05
0
[PATCH] fix gcc 3.4 warnings
...build/include/UbicomSDK.h:5651: warning: shadowed declaration is here Since it's just a warning and just on one OS, I'll leave it that way. > also this line gives a warning: > > v1=(int)floor(st->vbr_quality); > > libSpeex/libspeex/nb_celp.c: In function `nb_encode': > libSpeex/libspeex/nb_celp.c:465: warning: cast does not match function type No clue what this warning is, I'll have to dig a bit. > my CFLAGS include this: >... > perhaps we should add a few of these to libspeex ? I usually compile with several warning flags, but I prefe...
2006 Oct 31
0
2 questions, frame size and SPEEX_GET_LOOKAHEAD
...decoding, I assume that it is > up to me to keep track of the number of zeros. Is it right? Right. > 2. What does SPEEX_GET_LOOKAHEAD do? How to use it? > In speexenc.c, there is following code: > > ... > speex_encoder_ctl(st, SPEEX_GET_LOOKAHEAD, &lookahead); > ... > nb_encoded = -lookahead; > > Can someone explain what this means? The lookahead is the number of samples you need to discard at the start. Jean-Marc
2006 Oct 31
2
2 questions, frame size and SPEEX_GET_LOOKAHEAD
> >> 2. What does SPEEX_GET_LOOKAHEAD do? How to use it? >> In speexenc.c, there is following code: >> >> ... >> speex_encoder_ctl(st, SPEEX_GET_LOOKAHEAD, &lookahead); >> ... >> nb_encoded = -lookahead; >> >> Can someone explain what this means? > > The lookahead is the number of samples you need to discard at the > start. > > Jean-Marc In my application, even 5ms (110 samples at 22KHz) matters. So what should I do to avoid discarding samples at the...
2005 Oct 24
2
(small) bug in nb_decode?
Hi, So I got a crash on the following code: k1=SUBMODE(lpc_enh_k1); k2=SUBMODE(lpc_enh_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