search for: testenc

Displaying 20 results from an estimated 70 matches for "testenc".

Did you mean: testen
2006 Jan 12
0
Problem compiling testenc.c on WinXP(newbie)
...ibrary out of the C sources and link it in with your test app. HTH, .a -----Original Message----- From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of Georg Schmalz Sent: Thursday, January 12, 2006 4:16 AM To: speex-dev@xiph.org Subject: [Speex-dev] Problem compiling testenc.c on WinXP(newbie) Hello, I want to compile testenc.c with Borland C/C++ compiler, but get a lot of errors. What's wrong? Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland testenc.c: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_speex...
2006 Jan 12
1
Problem compiling testenc.c on WinXP(newbie)
Hello, I want to compile testenc.c with Borland C/C++ compiler, but get a lot of errors. What's wrong? Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland testenc.c: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_speex_encoder_init' referenced from D:\SPEEX\TESTENC...
2004 Aug 06
1
testenc and snr calculation
I submitted a version of testenc.c to this list MONTHS ago that fixed this problem. It uses a reconfigurable group delay. If you had given me cvs access I could've committed the changes myself. Anyway, the file is attached (again). Maybe this time you'll actually notice the email. Sorry if I seem a little short. It...
2004 Aug 06
2
testenc and snr calculation
Hi all, I'm new to the group. I'm looking at the speex code with an eye towards maybe helping out with either codec optimization or fixed-point implementation, The SNR calculation in testenc.c and testenc_uwb.c doesn't make sense to me. The code is { float enoise=0, esig=0, snr; for (i=0;i<FRAME_SIZE;i++) { enoise+=(bak2[i]-input[i])*(bak2[i]-input[i]); esig += bak2[i]*bak2[i]; } snr = 10*log10((esig+1...
2006 Aug 22
2
Please test upcoming release
Hi Jim, Actually, I don't see anything wrong with the internal structure having a different type than the interface, as long both types are big enough to hold the possible values (in this case 0 and 1). Though, as you pointed out, testenc needs to be fixed to use spx_int32_t instead of int. I'll change that. Jean-Marc Jim Crichton a ?crit : > st->highpass_enabled is typed inconsistently. It is "int" in the > structure, but "spx_int32_t" in the SET, GET cases in > nb(sb)_encoder(decoder)_ctl....
2004 Aug 06
0
testenc and snr calculation
Actually, the SNR calculation in testenc has been broken for a while. The reason for taking the last frame was that the codec would introduce a one-frame latency. I changed that to half a frame (10 ms) a while ago and never updated testenc. Jean-Marc Le lun 01/09/2003 à 13:12, Mike Dunn a écrit : > Hi all, > > I'm...
2010 Jan 13
0
BUG for speex-1.2rc1
...=============================================================== make all-recursive make[1]: Entering directory `/tmp/speex-1.2rc1' Making all in libspeex make[2]: Entering directory `/tmp/speex-1.2rc1/libspeex' /bin/sh ../libtool --mode=link gcc -g -O2 -fvisibility=hidden -O3 -msse -o testenc testenc.o libspeex.la -lm gcc -g -O2 -fvisibility=hidden -O3 -msse -o .libs/testenc testenc.o ./.libs/libspeex.so -lm ./.libs/libspeex.so: undefined reference to `VALGRIND_MAKE_READABLE' collect2: ld returned 1 exit status make[2]: *** [testenc] Error 1 make[2]: Leaving directory `/tmp/spee...
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,
2006 Apr 22
2
DSP C5xx decode to pcm 16bit
I am wont to decode a speex 11kbps 8kHz 16bit to a raw data 8kHz 16bit LSB on a c5509. Trying to understand the "testenc-TI-C5x.c" exsample, but it looks to me wary complicated. Is there more documentation for the exsample or a decoder exsample available? Can somebody help? Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/atta...
2006 Aug 23
0
Please test upcoming release
...ev] Please test upcoming release > Hi Jim, > > Actually, I don't see anything wrong with the internal structure having > a different type than the interface, as long both types are big enough > to hold the possible values (in this case 0 and 1). Though, as you > pointed out, testenc needs to be fixed to use spx_int32_t instead of > int. I'll change that. > > Jean-Marc > > Jim Crichton a ?crit : >> st->highpass_enabled is typed inconsistently. It is "int" in the >> structure, but "spx_int32_t" in the SET, GET cases in >&...
2006 Apr 24
0
Major internal changes, TI DSP build change
Jean-Marc, Here are the patches, broken out one per file. I did some additional work in the testenc files based on Peter Mlakar's post to make it easier (though still a bit klunky) to try different rates. These changes also incorporate the file window.c into the builds, change the decoder startup delay to account for the change in the algorithm delay from 10ms to 5ms, and change bits.c to...
2008 Feb 13
2
Determine number of 20ms frames in packet - without decoding
...eturn > 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 tested it with testenc in NB, WB and UWB modes with VBR enabled > to test in as many cases as possible. It seems to work fine. > Though, while testing I discovered possible bug - original version > of wb_skip_table[] (nb_celp.c:1081) does not seem to be correct. > Element 0 should be 4 instead of 0 and last f...
2008 Feb 13
0
Determine number of 20ms frames in packet - without decoding
For clarity I attached modified testenc.c I used to test my code. On 2/14/08, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: > > I also think that having rame_num.c in libspeex, code size could be > > reduced and simplified slightly by using speex_skip_wb_frame() in > > nb_decode() instead of duplicating...
2004 Aug 06
3
What is the format of the PCM/WAV data for speex_encode & speex_decode?
...confused about the format of the PCM/WAV data for speex_encode & speex_decode speex_encode(enc_state, input_frame, &bits); In the manual, it says "input_frame is a (float *) pointing to the beginning of a speech frame" (for encode) But I've found that in speexenc.c and testenc.c, short* is used instead of float* So, isn't it signed 16 bit samples(if 16bit) or float? For vorbis, I have to convert signed 16bit to float before encoding, how's about speex? <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage:...
2006 Jul 21
2
Using Speex on OMAP5910 OSK board
...ld it. At last I got "speex_C55_test.out" file in ti/speex_C55_test. &nbsp; 001. How can I test speex_C55_test.out or the program? &nbsp; 002. I found&nbsp;the line "bitsFile = "c:\\speextrunktest\\samples\\malebits.dat";"&nbsp;&nbsp;in ti/testenc-TI-C5x.c file. Does it mean that if I want to run the program on dsp chip, it must have filesystem to support it? &nbsp; So, my ultimate question is &nbsp; &gt;&gt; How I can use speex as a simple application on C55 dsp chip without filesystem? &nbsp; I'm tota...
2006 Apr 20
5
Major internal changes, TI DSP build change
Hi Jim, > Build 11169 in SVN works correctly. Good. I'll try not to forget the EXTEND32 from now on. > I have attached a zip file (renamed > .txt) with a patch to bits.c to make the byteswapping for TI DSPs > consistent. Seems like unzip can't read it. Either it's in an unknown format or the file got corrupted. Could simply send as multiple (uncompressed)
2004 Aug 06
0
fixed point conversion volunteer (OMG what am I doing?)
...as thinking of creating nb_fixed_celp.c first, replacing functionality piecemeal starting at the encoder, then all the way thru decoding. During development, wherever the fixed point code leaves off there can be int-to-float conversions. This should allow incremental development and testing. The testenc utility tests encoding then decoding, with a report of SNR. Everytime a new function has been converted to fixed point, a battery of tests can be run via testenc to make sure that nothing broke. <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: ht...
2004 Sep 13
0
Compile flags for sampleenc sampledec.
...eem to be able to get the sampleenc and sampledec programs to work together. I think I do not have a compile swtich of flag set correctly. Backgound information: 1) 1.0.4 tar package 'make' worked and installed on a mandrake 10.0 linux 2) speexenc and speexdec appear to work fine. 3) testenc and testenc_wb work fine, though I notice that compile with gcc testenc.c -lspeex produces a different .bits file than the version made with make. Also, when compiled with gcc, the decoded output is garbled. This makes me think there is a flag I am missing. 4) test_wb output 16-bit PCM file seems...
2004 Sep 15
0
Problems with sampleenc and sampledec
...be able to get the sampleenc and sampledec programs to work together. I suspect the decode operation is failing, but I cannot find out why. Backgound information: 1) 1.0.4 tar package 'make' worked and installed on a mandrake 10.0 linux 2) speexenc and speexdec appear to work fine. 3) testenc and testenc_wb work fine, though I notice that compile with gcc testenc.c -lspeex produces a different .bits file than the version made with make. This makes me think there is a flag I am missing. 4) test_wb output 16-bit PCM file seems about 1K shorter than the original PCM file. Not sure if thi...
2005 Aug 31
0
Fwd: Patch, related to TI DSP C54x C55x C6x builds
...types, not generated from types.in <http://types.in>) speex_c55_test\speex_c55_test.cmd (C5509A linker command file) speex_c55_test\speex_c55_test.pjt (Code Composer Studio Project File ) src\boot.asm (to force wait states to 0 for the simulator, otherwise cycle count is much too high) src\testenc-54x.c (derived from testenc.c, manual alloc, byte packing/unpacking added) src\user_misc.h (contains the manual memory alloc routines, with debug code ) Could you? Thanks, Mateus Lima * * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pip...