speexdsp.git
13 years agoSome comments. Switched to Blackham window for now (instead of Hanning)
jm [Mon, 29 Jan 2007 13:18:50 +0000 (13:18 +0000)]
Some comments. Switched to Blackham window for now (instead of Hanning)

git-svn-id: http://svn.xiph.org/trunk/speex@12388 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAdded _ctl() calls for the AGC gain limits.
jm [Tue, 23 Jan 2007 12:00:08 +0000 (12:00 +0000)]
Added _ctl() calls for the AGC gain limits.

git-svn-id: http://svn.xiph.org/trunk/speex@12382 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed stupid fixed-point bug. Also defined WORD2INT()
jm [Tue, 23 Jan 2007 10:18:23 +0000 (10:18 +0000)]
fixed stupid fixed-point bug. Also defined WORD2INT()

git-svn-id: http://svn.xiph.org/trunk/speex@12381 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agotaking cutoff frequency into account for the gain (oops!!)
jm [Tue, 23 Jan 2007 04:02:54 +0000 (04:02 +0000)]
taking cutoff frequency into account for the gain (oops!!)

git-svn-id: http://svn.xiph.org/trunk/speex@12380 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoresampler inner loop in fixed-point
jm [Mon, 22 Jan 2007 15:12:36 +0000 (15:12 +0000)]
resampler inner loop in fixed-point

git-svn-id: http://svn.xiph.org/trunk/speex@12376 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed-point resampler: doing the easy bits first
jm [Mon, 22 Jan 2007 14:56:23 +0000 (14:56 +0000)]
fixed-point resampler: doing the easy bits first

git-svn-id: http://svn.xiph.org/trunk/speex@12375 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agostarting fixed-point version of resampler.
jm [Mon, 22 Jan 2007 14:33:23 +0000 (14:33 +0000)]
starting fixed-point version of resampler.

git-svn-id: http://svn.xiph.org/trunk/speex@12374 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoremoving the div from the outer loop.
jm [Mon, 22 Jan 2007 13:53:52 +0000 (13:53 +0000)]
removing the div from the outer loop.

git-svn-id: http://svn.xiph.org/trunk/speex@12373 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoseparated into header, source and test program.
jm [Mon, 22 Jan 2007 04:58:07 +0000 (04:58 +0000)]
separated into header, source and test program.

git-svn-id: http://svn.xiph.org/trunk/speex@12372 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agointerleaved access, fixed short input buf.
jm [Mon, 22 Jan 2007 03:49:56 +0000 (03:49 +0000)]
interleaved access, fixed short input buf.

git-svn-id: http://svn.xiph.org/trunk/speex@12371 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoimplemented reset
jm [Mon, 22 Jan 2007 00:31:16 +0000 (00:31 +0000)]
implemented reset

git-svn-id: http://svn.xiph.org/trunk/speex@12370 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agochanging the sampling rate should now work
jm [Sun, 21 Jan 2007 21:54:26 +0000 (21:54 +0000)]
changing the sampling rate should now work

git-svn-id: http://svn.xiph.org/trunk/speex@12369 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAPI
jm [Sun, 21 Jan 2007 13:40:08 +0000 (13:40 +0000)]
API

git-svn-id: http://svn.xiph.org/trunk/speex@12368 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoimplemented input/output stride. Not yet tested though.
jm [Sun, 21 Jan 2007 13:29:28 +0000 (13:29 +0000)]
implemented input/output stride. Not yet tested though.

git-svn-id: http://svn.xiph.org/trunk/speex@12367 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoupdated API as discussed with Lennart and Mikko
jm [Sun, 21 Jan 2007 12:51:25 +0000 (12:51 +0000)]
updated API as discussed with Lennart and Mikko

git-svn-id: http://svn.xiph.org/trunk/speex@12366 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoImplemented cubic interpolation of the (windowed) sinc, reducing the size
jm [Sun, 21 Jan 2007 05:06:57 +0000 (05:06 +0000)]
Implemented cubic interpolation of the (windowed) sinc, reducing the size
of the table.

git-svn-id: http://svn.xiph.org/trunk/speex@12365 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoDown-sampling now doing the right thing and using a lower cutoff frequency.
jm [Sat, 20 Jan 2007 11:50:09 +0000 (11:50 +0000)]
Down-sampling now doing the right thing and using a lower cutoff frequency.

git-svn-id: http://svn.xiph.org/trunk/speex@12362 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agointerpolate after accumulation
jm [Sat, 20 Jan 2007 11:06:55 +0000 (11:06 +0000)]
interpolate after accumulation

git-svn-id: http://svn.xiph.org/trunk/speex@12361 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoNow doing linear interpolation instead of sin(x)/x for large denominators
jm [Sat, 20 Jan 2007 09:51:14 +0000 (09:51 +0000)]
Now doing linear interpolation instead of sin(x)/x for large denominators

git-svn-id: http://svn.xiph.org/trunk/speex@12360 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAPI stuff
jm [Fri, 19 Jan 2007 03:37:40 +0000 (03:37 +0000)]
API stuff

git-svn-id: http://svn.xiph.org/trunk/speex@12349 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoUpdated/added Xcode build files.
arek [Thu, 18 Jan 2007 13:08:02 +0000 (13:08 +0000)]
Updated/added Xcode build files.

git-svn-id: http://svn.xiph.org/trunk/speex@12345 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSo doing a lookup is 100x faster than computing sin(x)/x * cos(x/N)... how
jm [Thu, 18 Jan 2007 11:57:03 +0000 (11:57 +0000)]
So doing a lookup is 100x faster than computing sin(x)/x * cos(x/N)... how
surprising! Still need to handle the case where the denominator is too large
to pre-compute everything.

git-svn-id: http://svn.xiph.org/trunk/speex@12344 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed the alignment of the sinc and removed the if() from the main loop.
jm [Thu, 18 Jan 2007 10:38:06 +0000 (10:38 +0000)]
fixed the alignment of the sinc and removed the if() from the main loop.
Upsampling seems to work good.

git-svn-id: http://svn.xiph.org/trunk/speex@12343 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoActually, basic resampling seems to be working...
jm [Thu, 18 Jan 2007 00:33:01 +0000 (00:33 +0000)]
Actually, basic resampling seems to be working...

git-svn-id: http://svn.xiph.org/trunk/speex@12342 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agooutput looks almost (but not quite) correct.
jm [Wed, 17 Jan 2007 21:59:49 +0000 (21:59 +0000)]
output looks almost (but not quite) correct.

git-svn-id: http://svn.xiph.org/trunk/speex@12341 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agooutput sucks, but for the first time, I can recognise what went in.
jm [Wed, 17 Jan 2007 13:38:21 +0000 (13:38 +0000)]
output sucks, but for the first time, I can recognise what went in.

git-svn-id: http://svn.xiph.org/trunk/speex@12336 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agogetting close to non-totally garbage output
jm [Wed, 17 Jan 2007 12:39:13 +0000 (12:39 +0000)]
getting close to non-totally garbage output

git-svn-id: http://svn.xiph.org/trunk/speex@12333 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years ago...
jm [Mon, 15 Jan 2007 21:46:29 +0000 (21:46 +0000)]
...

git-svn-id: http://svn.xiph.org/trunk/speex@12327 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSome initial resampling code. Nothing even remotely working so far.
jm [Mon, 15 Jan 2007 12:42:15 +0000 (12:42 +0000)]
Some initial resampling code. Nothing even remotely working so far.

git-svn-id: http://svn.xiph.org/trunk/speex@12326 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agominus debug printf()
jm [Sun, 14 Jan 2007 13:16:07 +0000 (13:16 +0000)]
minus debug printf()

git-svn-id: http://svn.xiph.org/trunk/speex@12325 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoA bit of tuning and robustness to float overflows.
jm [Sun, 14 Jan 2007 13:12:28 +0000 (13:12 +0000)]
A bit of tuning and robustness to float overflows.

git-svn-id: http://svn.xiph.org/trunk/speex@12324 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSome AGC improvements, noise/echo suppression slightly less aggressive by
jm [Sun, 14 Jan 2007 09:54:06 +0000 (09:54 +0000)]
Some AGC improvements, noise/echo suppression slightly less aggressive by
default.

git-svn-id: http://svn.xiph.org/trunk/speex@12323 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoImplemented "proportional MDF". Should be more robust to synchronisation
jm [Wed, 10 Jan 2007 06:59:01 +0000 (06:59 +0000)]
Implemented "proportional MDF". Should be more robust to synchronisation
issues.

git-svn-id: http://svn.xiph.org/trunk/speex@12311 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSome comments on the AEC code.
jm [Mon, 8 Jan 2007 23:47:31 +0000 (23:47 +0000)]
Some comments on the AEC code.

git-svn-id: http://svn.xiph.org/trunk/speex@12310 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMore file/line debug info
jm [Mon, 8 Jan 2007 10:14:35 +0000 (10:14 +0000)]
More file/line debug info

git-svn-id: http://svn.xiph.org/trunk/speex@12309 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoTwo-path update decision is now based on an approximation of the power estimator
jm [Mon, 8 Jan 2007 08:58:44 +0000 (08:58 +0000)]
Two-path update decision is now based on an approximation of the power estimator
variance.

git-svn-id: http://svn.xiph.org/trunk/speex@12308 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoImplemented a dual (foreground + background) filter to improve the robustness
jm [Thu, 4 Jan 2007 14:40:30 +0000 (14:40 +0000)]
Implemented a dual (foreground + background) filter to improve the robustness
of the AEC. This increases memory use a bit, but I think it's worth it.

git-svn-id: http://svn.xiph.org/trunk/speex@12300 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoOnly the RMS of the excitation is saved in the encoder -- 320 bytes off the
jm [Wed, 3 Jan 2007 13:37:59 +0000 (13:37 +0000)]
Only the RMS of the excitation is saved in the encoder -- 320 bytes off the
wideband encoder state.

git-svn-id: http://svn.xiph.org/trunk/speex@12294 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agominor double-codebook simplification for wideband.
jm [Tue, 2 Jan 2007 13:49:38 +0000 (13:49 +0000)]
minor double-codebook simplification for wideband.

git-svn-id: http://svn.xiph.org/trunk/speex@12291 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agosimplified the double_codebook code and improved accuracy slightly
jm [Tue, 2 Jan 2007 13:37:37 +0000 (13:37 +0000)]
simplified the double_codebook code and improved accuracy slightly

git-svn-id: http://svn.xiph.org/trunk/speex@12290 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agocode shuffling -- no real change.
jm [Tue, 2 Jan 2007 12:24:26 +0000 (12:24 +0000)]
code shuffling -- no real change.

git-svn-id: http://svn.xiph.org/trunk/speex@12289 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed-point: making better use of memory -- saved 512 bytes of stack.
jm [Wed, 27 Dec 2006 13:45:18 +0000 (13:45 +0000)]
fixed-point: making better use of memory -- saved 512 bytes of stack.

git-svn-id: http://svn.xiph.org/trunk/speex@12243 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agomerged some fixed-point and floating-point code in open-loop pitch search.
jm [Tue, 26 Dec 2006 11:37:28 +0000 (11:37 +0000)]
merged some fixed-point and floating-point code in open-loop pitch search.
Also added more debug info for DIV32.

git-svn-id: http://svn.xiph.org/trunk/speex@12242 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed-point: minor tweaks
jm [Mon, 25 Dec 2006 02:31:47 +0000 (02:31 +0000)]
fixed-point: minor tweaks

git-svn-id: http://svn.xiph.org/trunk/speex@12237 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoNo more calls to log() in the wideband encoder.
jm [Sun, 17 Dec 2006 11:12:58 +0000 (11:12 +0000)]
No more calls to log() in the wideband encoder.

git-svn-id: http://svn.xiph.org/trunk/speex@12225 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed-point: wideband folding gain quantization as a codebook (instead of log)
jm [Sun, 17 Dec 2006 09:47:15 +0000 (09:47 +0000)]
fixed-point: wideband folding gain quantization as a codebook (instead of log)

git-svn-id: http://svn.xiph.org/trunk/speex@12224 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agosome comments and a minor tweak
jm [Sun, 17 Dec 2006 09:24:49 +0000 (09:24 +0000)]
some comments and a minor tweak

git-svn-id: http://svn.xiph.org/trunk/speex@12223 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed-point: wideband double codebook converted
jm [Sat, 16 Dec 2006 12:57:35 +0000 (12:57 +0000)]
fixed-point: wideband double codebook converted

git-svn-id: http://svn.xiph.org/trunk/speex@12215 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agowideband excitation folding (including gain) now in fixed-point.
jm [Sat, 16 Dec 2006 11:57:40 +0000 (11:57 +0000)]
wideband excitation folding (including gain) now in fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@12214 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agomore wideband fixed-point work (folding_gain is now in fixed-point).
jm [Sat, 16 Dec 2006 08:49:50 +0000 (08:49 +0000)]
more wideband fixed-point work (folding_gain is now in fixed-point).

git-svn-id: http://svn.xiph.org/trunk/speex@12213 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agomore wideband fixed-point work
jm [Sat, 16 Dec 2006 02:40:27 +0000 (02:40 +0000)]
more wideband fixed-point work

git-svn-id: http://svn.xiph.org/trunk/speex@12212 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agowideband fixed-point details
jm [Fri, 15 Dec 2006 22:40:50 +0000 (22:40 +0000)]
wideband fixed-point details

git-svn-id: http://svn.xiph.org/trunk/speex@12211 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed a very rare overflow problem in the wideband mode, while slightly
jm [Wed, 13 Dec 2006 12:53:44 +0000 (12:53 +0000)]
Fixed a very rare overflow problem in the wideband mode, while slightly
increasing accuracy of the fixed-point there. Also, fixed
SPEEX_SET_SUBMODE_ENCODING for wideband (seems like few people were actually
paying attention to that one).

git-svn-id: http://svn.xiph.org/trunk/speex@12208 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoRemoved implementation of all the 32-bit filters now that everything is
jm [Fri, 8 Dec 2006 14:57:20 +0000 (14:57 +0000)]
Removed implementation of all the 32-bit filters now that everything is
computed with 16-bit filters.

git-svn-id: http://svn.xiph.org/trunk/speex@12181 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoNow using only the 16-bit version of the filters.
jm [Fri, 8 Dec 2006 14:43:09 +0000 (14:43 +0000)]
Now using only the 16-bit version of the filters.

git-svn-id: http://svn.xiph.org/trunk/speex@12180 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMaking use of the wideband encoder input buffer to save memory: 640 bytes off
jm [Fri, 8 Dec 2006 13:40:56 +0000 (13:40 +0000)]
Making use of the wideband encoder input buffer to save memory: 640 bytes off
the encoder state and 640 bytes off the stack requirement.

git-svn-id: http://svn.xiph.org/trunk/speex@12179 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agotemporary kludge to get this to compile
jm [Thu, 7 Dec 2006 11:11:07 +0000 (11:11 +0000)]
temporary kludge to get this to compile

git-svn-id: http://svn.xiph.org/trunk/speex@12177 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMake filterbank_psy_smooth more C89-friendly.
jm [Thu, 7 Dec 2006 00:28:40 +0000 (00:28 +0000)]
Make filterbank_psy_smooth more C89-friendly.

git-svn-id: http://svn.xiph.org/trunk/speex@12176 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMost of the wideband encoder now in 16-bit. Also, saved another 1.5 kB off the
jm [Wed, 6 Dec 2006 14:55:19 +0000 (14:55 +0000)]
Most of the wideband encoder now in 16-bit. Also, saved another 1.5 kB off the
buffering.

git-svn-id: http://svn.xiph.org/trunk/speex@12174 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agozero-response now in 16-bit and stored on the stack. About 1 kB saved off the
jm [Wed, 6 Dec 2006 14:08:39 +0000 (14:08 +0000)]
zero-response now in 16-bit and stored on the stack. About 1 kB saved off the
wideband encoder (including removing unused QMF memory).

git-svn-id: http://svn.xiph.org/trunk/speex@12173 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoNo need for an explicit buffer to receive the narrowband innovation.
jm [Mon, 4 Dec 2006 13:09:18 +0000 (13:09 +0000)]
No need for an explicit buffer to receive the narrowband innovation.

git-svn-id: http://svn.xiph.org/trunk/speex@12171 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoRemoved 5 kB of useless buffering in the wideband encoder. Also, fixed the
jm [Mon, 4 Dec 2006 11:21:23 +0000 (11:21 +0000)]
Removed 5 kB of useless buffering in the wideband encoder. Also, fixed the
ultra-wideband LPC window.

git-svn-id: http://svn.xiph.org/trunk/speex@12170 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAnother 1 kB off the encoder state by converting the qmf_decomp output to
jm [Sun, 3 Dec 2006 09:57:08 +0000 (09:57 +0000)]
Another 1 kB off the encoder state by converting the qmf_decomp output to
16-bit.

git-svn-id: http://svn.xiph.org/trunk/speex@12169 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed a very low-bitrate fixed-point wideband bug (happening mainly with VAD
jm [Sat, 2 Dec 2006 14:04:43 +0000 (14:04 +0000)]
Fixed a very low-bitrate fixed-point wideband bug (happening mainly with VAD
on) caused by incorrect shift in noise_codebook_quant().

git-svn-id: http://svn.xiph.org/trunk/speex@12165 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoGot rid of the excitation memory in the decoder and changed the relevant vars
jm [Sat, 2 Dec 2006 12:23:05 +0000 (12:23 +0000)]
Got rid of the excitation memory in the decoder and changed the relevant vars
to 16-bit. Last but not least, fixed-point in uwb has been unb0rked.

git-svn-id: http://svn.xiph.org/trunk/speex@12164 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoBrought EPIC_48K pitch table up-to-date.
jm [Fri, 1 Dec 2006 14:05:36 +0000 (14:05 +0000)]
Brought EPIC_48K pitch table up-to-date.

git-svn-id: http://svn.xiph.org/trunk/speex@12162 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoreviving the old EPIC_48K mode.
jm [Fri, 1 Dec 2006 13:33:51 +0000 (13:33 +0000)]
reviving the old EPIC_48K mode.

git-svn-id: http://svn.xiph.org/trunk/speex@12161 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoStopped storing zeros in qmf_resynth -- saved ~800 bytes of stack memory in
jm [Fri, 1 Dec 2006 09:01:31 +0000 (09:01 +0000)]
Stopped storing zeros in qmf_resynth -- saved ~800 bytes of stack memory in
the wideband decoder

git-svn-id: http://svn.xiph.org/trunk/speex@12160 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSaved innovation from nb to wb is now 16-bit precision.
jm [Thu, 30 Nov 2006 12:23:37 +0000 (12:23 +0000)]
Saved innovation from nb to wb is now 16-bit precision.

git-svn-id: http://svn.xiph.org/trunk/speex@12158 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoBark-domain spectral smoother -- could be useful eventually.
jm [Thu, 30 Nov 2006 11:43:11 +0000 (11:43 +0000)]
Bark-domain spectral smoother -- could be useful eventually.

git-svn-id: http://svn.xiph.org/trunk/speex@12156 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agouse non-buggy version of PSHR for fft normalisation
jm [Thu, 30 Nov 2006 09:03:10 +0000 (09:03 +0000)]
use non-buggy version of PSHR for fft normalisation

git-svn-id: http://svn.xiph.org/trunk/speex@12155 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoanother 640 bytes off the decoder state.
jm [Wed, 29 Nov 2006 12:52:25 +0000 (12:52 +0000)]
another 640 bytes off the decoder state.

git-svn-id: http://svn.xiph.org/trunk/speex@12154 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSaved another 2kB from the decoder by converting high-band synthesis to
jm [Tue, 28 Nov 2006 23:24:02 +0000 (23:24 +0000)]
Saved another 2kB from the decoder by converting high-band synthesis to
16-bit.

git-svn-id: http://svn.xiph.org/trunk/speex@12152 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoReplaced fir_mem_up by qmf_synth which doesn't require intermediate
jm [Tue, 28 Nov 2006 14:56:27 +0000 (14:56 +0000)]
Replaced fir_mem_up by qmf_synth which doesn't require intermediate
results. Saved 2.5 kB in the wideband encoder and the same in the decoder.

git-svn-id: http://svn.xiph.org/trunk/speex@12151 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agobetter fixed-point debug info
jm [Tue, 28 Nov 2006 14:22:55 +0000 (14:22 +0000)]
better fixed-point debug info

git-svn-id: http://svn.xiph.org/trunk/speex@12150 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agonew jitter_buffer_ctl() call to set the buffer margin and added some comments
jm [Mon, 27 Nov 2006 05:04:04 +0000 (05:04 +0000)]
new jitter_buffer_ctl() call to set the buffer margin and added some comments

git-svn-id: http://svn.xiph.org/trunk/speex@12149 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMore debug info and fixed two unlikely overflows on clipped input.
jm [Sun, 26 Nov 2006 10:50:12 +0000 (10:50 +0000)]
More debug info and fixed two unlikely overflows on clipped input.

git-svn-id: http://svn.xiph.org/trunk/speex@12147 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agooops. EXTEND32() wasn't needed here.
jm [Sun, 26 Nov 2006 10:02:33 +0000 (10:02 +0000)]
oops. EXTEND32() wasn't needed here.

git-svn-id: http://svn.xiph.org/trunk/speex@12146 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoRemoved the generic PSHR/SHL/SHR operators and changed them to either the
jm [Sun, 26 Nov 2006 09:57:19 +0000 (09:57 +0000)]
Removed the generic PSHR/SHL/SHR operators and changed them to either the
16-bit or the 32-bit version. Also, partially un-b0rked the AGC.

git-svn-id: http://svn.xiph.org/trunk/speex@12145 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agomemset and memcpy are no longer required.
jm [Sun, 26 Nov 2006 02:30:33 +0000 (02:30 +0000)]
memset and memcpy are no longer required.

git-svn-id: http://svn.xiph.org/trunk/speex@12143 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoWe should never have set all bits to zero when resizing. It's now actually
jm [Thu, 23 Nov 2006 15:12:03 +0000 (15:12 +0000)]
We should never have set all bits to zero when resizing. It's now actually
useless to set anything to zero.

git-svn-id: http://svn.xiph.org/trunk/speex@12141 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoOops. bad capy-paste. Thanks to lianghu xu for point that out.
jm [Wed, 22 Nov 2006 02:21:19 +0000 (02:21 +0000)]
Oops. bad capy-paste. Thanks to lianghu xu for point that out.

git-svn-id: http://svn.xiph.org/trunk/speex@12136 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoshould no longer complain about unused var with the float build.
jm [Sun, 19 Nov 2006 14:49:56 +0000 (14:49 +0000)]
should no longer complain about unused var with the float build.

git-svn-id: http://svn.xiph.org/trunk/speex@12132 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed an overflow in the excitation decoding (again on heavily-clipped signal)
jm [Sun, 19 Nov 2006 02:33:03 +0000 (02:33 +0000)]
Fixed an overflow in the excitation decoding (again on heavily-clipped signal)
and made operators mode explicit.

git-svn-id: http://svn.xiph.org/trunk/speex@12131 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoThird (hopefully last) set of fixes for the overflow problem on clipped input.
jm [Fri, 17 Nov 2006 22:37:39 +0000 (22:37 +0000)]
Third (hopefully last) set of fixes for the overflow problem on clipped input.

git-svn-id: http://svn.xiph.org/trunk/speex@12130 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoEnhancer should no longer overflow on insanely loud signals.
jm [Fri, 17 Nov 2006 12:32:51 +0000 (12:32 +0000)]
Enhancer should no longer overflow on insanely loud signals.

git-svn-id: http://svn.xiph.org/trunk/speex@12124 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoThink this should prevent overflows in the pitch search when the input is
jm [Fri, 17 Nov 2006 11:32:44 +0000 (11:32 +0000)]
Think this should prevent overflows in the pitch search when the input is
clipped.

git-svn-id: http://svn.xiph.org/trunk/speex@12122 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agooops, fixed symbian again.
jm [Wed, 15 Nov 2006 12:22:11 +0000 (12:22 +0000)]
oops, fixed symbian again.

git-svn-id: http://svn.xiph.org/trunk/speex@12117 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMinor C89 fix
jm [Wed, 15 Nov 2006 11:01:30 +0000 (11:01 +0000)]
Minor C89 fix

git-svn-id: http://svn.xiph.org/trunk/speex@12116 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSymbian project files update.
jm [Wed, 15 Nov 2006 11:00:23 +0000 (11:00 +0000)]
Symbian project files update.

git-svn-id: http://svn.xiph.org/trunk/speex@12115 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years ago* Add filterbank to vcproj
illiminable [Tue, 14 Nov 2006 14:43:23 +0000 (14:43 +0000)]
* Add filterbank to vcproj

git-svn-id: http://svn.xiph.org/trunk/speex@12110 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed two fixed-point overflows on heavily-clipped input
jm [Tue, 14 Nov 2006 13:29:31 +0000 (13:29 +0000)]
Fixed two fixed-point overflows on heavily-clipped input

git-svn-id: http://svn.xiph.org/trunk/speex@12109 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSpeex still requires libm, so I might as well add that to the build options.
jm [Tue, 14 Nov 2006 04:09:48 +0000 (04:09 +0000)]
Speex still requires libm, so I might as well add that to the build options.

git-svn-id: http://svn.xiph.org/trunk/speex@12107 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoUpdated manual based on new preprocessor work
jm [Mon, 13 Nov 2006 14:13:36 +0000 (14:13 +0000)]
Updated manual based on new preprocessor work

git-svn-id: http://svn.xiph.org/trunk/speex@12103 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoComments and a bit of cleaning up
jm [Mon, 13 Nov 2006 14:12:14 +0000 (14:12 +0000)]
Comments and a bit of cleaning up

git-svn-id: http://svn.xiph.org/trunk/speex@12102 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoUpdated doxygen documentation. Now everything's part of a module.
jm [Mon, 13 Nov 2006 09:19:29 +0000 (09:19 +0000)]
Updated doxygen documentation. Now everything's part of a module.

git-svn-id: http://svn.xiph.org/trunk/speex@12100 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agosome instructions
jm [Mon, 13 Nov 2006 08:31:55 +0000 (08:31 +0000)]
some instructions

git-svn-id: http://svn.xiph.org/trunk/speex@12099 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFinally got around to merging the old speexclient code
jm [Mon, 13 Nov 2006 05:19:05 +0000 (05:19 +0000)]
Finally got around to merging the old speexclient code

git-svn-id: http://svn.xiph.org/trunk/speex@12098 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoA bunch of Doxygen comments
jm [Sun, 12 Nov 2006 22:52:01 +0000 (22:52 +0000)]
A bunch of Doxygen comments

git-svn-id: http://svn.xiph.org/trunk/speex@12097 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoOriginally written for Symbian, it is no longer needed since we figured
jm [Sun, 12 Nov 2006 22:30:13 +0000 (22:30 +0000)]
Originally written for Symbian, it is no longer needed since we figured
out how to use const properly

git-svn-id: http://svn.xiph.org/trunk/speex@12096 0101bb08-14d6-0310-b084-bc0e0c8e3800