speexdsp.git
13 years agoIncrease learning rate for some mis-adaptated conditions (lower bound on RER).
jm [Thu, 31 Aug 2006 14:19:47 +0000 (14:19 +0000)]
Increase learning rate for some mis-adaptated conditions (lower bound on RER).

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

13 years agoshould recover better from no initial adaptation.
jm [Thu, 31 Aug 2006 07:31:04 +0000 (07:31 +0000)]
should recover better from no initial adaptation.

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

13 years agomore replacements of int with spx_int32_t
jm [Wed, 30 Aug 2006 14:05:00 +0000 (14:05 +0000)]
more replacements of int with spx_int32_t

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

13 years agominor tuning
jm [Wed, 30 Aug 2006 10:43:35 +0000 (10:43 +0000)]
minor tuning

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

13 years agoChanged part of the API to use spx_int32_t instead of int (works better on
jm [Mon, 28 Aug 2006 10:11:26 +0000 (10:11 +0000)]
Changed part of the API to use spx_int32_t instead of int (works better on
16-bit architectures)

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

13 years agoforgot to free memory for low_innov. sb_celp is now 100% leak free (AFAIK)
jm [Wed, 23 Aug 2006 04:47:35 +0000 (04:47 +0000)]
forgot to free memory for low_innov. sb_celp is now 100% leak free (AFAIK)

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

13 years agoremoved unused variable
jm [Tue, 22 Aug 2006 23:55:23 +0000 (23:55 +0000)]
removed unused variable

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

13 years agolibtool version info
jm [Thu, 17 Aug 2006 13:33:34 +0000 (13:33 +0000)]
libtool version info

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

13 years agoPatch by Tahseen to ignore CMML or other non-Speex logical streams.
jm [Thu, 17 Aug 2006 12:39:48 +0000 (12:39 +0000)]
Patch by Tahseen to ignore CMML or other non-Speex logical streams.

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

13 years agoRe-ordered some operations so that the block smoothing doesn't require the old
jm [Wed, 16 Aug 2006 05:19:09 +0000 (05:19 +0000)]
Re-ordered some operations so that the block smoothing doesn't require the old
weights to be stored. Again, exactly equivalent except for the order of the
AUMDF updates.

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

13 years agochanged the order of matrix X. Code is exactly equivalent except for a detail
jm [Wed, 16 Aug 2006 02:09:22 +0000 (02:09 +0000)]
changed the order of matrix X. Code is exactly equivalent except for a detail
in the AUMDF update order.

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

13 years agosimplified PLC (one whole frame at a time now).
jm [Tue, 15 Aug 2006 00:15:23 +0000 (00:15 +0000)]
simplified PLC (one whole frame at a time now).

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

13 years agofixed the concealment for fixed-point (the noise gain was wrong).
jm [Mon, 14 Aug 2006 15:14:11 +0000 (15:14 +0000)]
fixed the concealment for fixed-point (the noise gain was wrong).

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

13 years ago* Update win32 files
illiminable [Mon, 14 Aug 2006 14:33:40 +0000 (14:33 +0000)]
* Update win32 files
* Add a #define for snprintf under windows in skeleton.h
* Fix a c99 declaration in speexdec.c

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

13 years agoOops. Thanks to Jim Crichton for pointing out that the complexity could end up
jm [Mon, 14 Aug 2006 13:24:48 +0000 (13:24 +0000)]
Oops. Thanks to Jim Crichton for pointing out that the complexity could end up
being 0 in the fixed-codebook.

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

13 years agoMaking libspeex C++-friendly
jm [Sun, 13 Aug 2006 02:42:43 +0000 (02:42 +0000)]
Making libspeex C++-friendly

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

13 years agoversion change (1.2-beta1)
jm [Sat, 12 Aug 2006 15:44:05 +0000 (15:44 +0000)]
version change (1.2-beta1)

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

13 years agoadded CELP decoder figure
jm [Sat, 12 Aug 2006 13:30:15 +0000 (13:30 +0000)]
added CELP decoder figure

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

13 years agoUpdated the Speex/CELP part based on AES and LCA papers.
jm [Sat, 12 Aug 2006 13:14:33 +0000 (13:14 +0000)]
Updated the Speex/CELP part based on AES and LCA papers.

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

13 years agoUpdated API-related parts (codec + AEC).
jm [Sat, 12 Aug 2006 06:13:47 +0000 (06:13 +0000)]
Updated API-related parts (codec + AEC).

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

13 years agomake comb filter a bit more aggressive...
jm [Sat, 12 Aug 2006 03:32:45 +0000 (03:32 +0000)]
make comb filter a bit more aggressive...

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

13 years agoSkeleton support for Speexenc (by Tahseen Mohammad)
jm [Fri, 11 Aug 2006 05:55:22 +0000 (05:55 +0000)]
Skeleton support for Speexenc (by Tahseen Mohammad)

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

13 years agoSupport for reading Ogg files that contain Skeleton.
jm [Wed, 9 Aug 2006 10:21:31 +0000 (10:21 +0000)]
Support for reading Ogg files that contain Skeleton.

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

13 years agocleaning up FIXMEs
jm [Wed, 9 Aug 2006 06:27:53 +0000 (06:27 +0000)]
cleaning up FIXMEs

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

13 years agoIt's usually a good idea to check if a pointer if NULL *before* using it!
jm [Wed, 9 Aug 2006 05:24:56 +0000 (05:24 +0000)]
It's usually a good idea to check if a pointer if NULL *before* using it!

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

13 years agoVBR max bit-rate should work properly for UWB now.
jm [Tue, 8 Aug 2006 15:27:22 +0000 (15:27 +0000)]
VBR max bit-rate should work properly for UWB now.

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

13 years agoThink I fixed the force-* options wrt gapless support.
jm [Tue, 8 Aug 2006 15:01:51 +0000 (15:01 +0000)]
Think I fixed the force-* options wrt gapless support.

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

13 years agocomplexity now has more effect on pitch than innovation codebook
jm [Tue, 8 Aug 2006 14:17:53 +0000 (14:17 +0000)]
complexity now has more effect on pitch than innovation codebook

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

13 years agoGive more adaptation to blocks with smaller lags.
jm [Tue, 8 Aug 2006 07:43:44 +0000 (07:43 +0000)]
Give more adaptation to blocks with smaller lags.

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

13 years agoTuning the AEC to be a bit more aggressive -- lower ERLE threshold, making
jm [Tue, 8 Aug 2006 06:58:24 +0000 (06:58 +0000)]
Tuning the AEC to be a bit more aggressive -- lower ERLE threshold, making
ERLE adaptation a bit faster (sqrt).

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

13 years agoadded FLOAT_SQRT
jm [Tue, 8 Aug 2006 06:54:47 +0000 (06:54 +0000)]
added FLOAT_SQRT

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

13 years agofix potential overflow in sqrt
jm [Tue, 8 Aug 2006 06:08:52 +0000 (06:08 +0000)]
fix potential overflow in sqrt

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

13 years agoMaking noise suppressor a bit less aggressive.
jm [Sun, 6 Aug 2006 12:01:02 +0000 (12:01 +0000)]
Making noise suppressor a bit less aggressive.

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

13 years agoSeems like this helps on Symbian (patch by Alfred E. Heggestad)
jm [Sun, 6 Aug 2006 02:44:04 +0000 (02:44 +0000)]
Seems like this helps on Symbian (patch by Alfred E. Heggestad)

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

13 years agofixed a typo (patch by dezzy)
jm [Sat, 5 Aug 2006 12:24:44 +0000 (12:24 +0000)]
fixed a typo (patch by dezzy)

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

13 years agopseudo-IRS filter (not used yet)
jm [Fri, 4 Aug 2006 12:47:31 +0000 (12:47 +0000)]
pseudo-IRS filter (not used yet)

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

13 years agofixed random numbers (were reset on each subframe) in noise codebook unquant.
jm [Thu, 3 Aug 2006 09:44:22 +0000 (09:44 +0000)]
fixed random numbers (were reset on each subframe) in noise codebook unquant.

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

13 years agoadded highpass (enabled by default) to the encoder and decoder
jm [Thu, 3 Aug 2006 00:55:52 +0000 (00:55 +0000)]
added highpass (enabled by default) to the encoder and decoder

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

13 years agocleaning up the IO filters
jm [Wed, 2 Aug 2006 10:13:43 +0000 (10:13 +0000)]
cleaning up the IO filters

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

13 years agoFixing Ticket #829 (defect): crash on invalid Speex file.
jm [Wed, 2 Aug 2006 03:29:59 +0000 (03:29 +0000)]
Fixing Ticket #829 (defect): crash on invalid Speex file.

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

13 years agofixed-point version of the high-pass seems to work now.
jm [Sun, 30 Jul 2006 15:06:42 +0000 (15:06 +0000)]
fixed-point version of the high-pass seems to work now.

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

13 years agobefore I get hatemail from windows users...
jm [Sun, 30 Jul 2006 14:35:08 +0000 (14:35 +0000)]
before I get hatemail from windows users...

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

13 years agoinput/output high-pass filters
jm [Sun, 30 Jul 2006 14:07:37 +0000 (14:07 +0000)]
input/output high-pass filters

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

13 years agoXcode project patch (added window.c)
jm [Sat, 29 Jul 2006 09:58:36 +0000 (09:58 +0000)]
Xcode project patch (added window.c)

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

13 years agocopyright details, more info about the mdf learning rate
jm [Sat, 29 Jul 2006 09:55:05 +0000 (09:55 +0000)]
copyright details, more info about the mdf learning rate

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

13 years ago16-bit clean shift in lsp_to_lpc()
jm [Mon, 24 Jul 2006 22:32:09 +0000 (22:32 +0000)]
16-bit clean shift in lsp_to_lpc()

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

13 years agoBlackfin assembly patch by David Rowe
jm [Mon, 10 Jul 2006 11:44:05 +0000 (11:44 +0000)]
Blackfin assembly patch by David Rowe

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

13 years agoMax VBR bit-rate implemented for wideband (semi tested), still doesn't quite
jm [Mon, 3 Jul 2006 13:22:16 +0000 (13:22 +0000)]
Max VBR bit-rate implemented for wideband (semi tested), still doesn't quite
work for ultra-wideband.

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

13 years agochanged a few parameter definitions from int to spx_int32_t. Should by more
jm [Mon, 3 Jul 2006 10:15:26 +0000 (10:15 +0000)]
changed a few parameter definitions from int to spx_int32_t. Should by more
16-bit friendly.

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

13 years ago* Add ignores for build dirs
illiminable [Thu, 29 Jun 2006 19:29:15 +0000 (19:29 +0000)]
* Add ignores for build dirs
* Add ignores for .user files

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

13 years agoSPEEX_SET_VBR_MAX_BITRATE partially implemented for wideband (still doesn't
jm [Sun, 25 Jun 2006 15:51:07 +0000 (15:51 +0000)]
SPEEX_SET_VBR_MAX_BITRATE partially implemented for wideband (still doesn't
work)

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

13 years agoInitial implementation of SPEEX_MAX_VBR_BITRATE. Narrowband-only for now.
jm [Sun, 25 Jun 2006 12:14:04 +0000 (12:14 +0000)]
Initial implementation of SPEEX_MAX_VBR_BITRATE. Narrowband-only for now.

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

13 years agoRemoved old enhancer code (was already disabled)
jm [Sun, 25 Jun 2006 11:10:32 +0000 (11:10 +0000)]
Removed old enhancer code (was already disabled)

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

13 years ago* More svn:ignores
illiminable [Fri, 23 Jun 2006 08:26:24 +0000 (08:26 +0000)]
* More svn:ignores

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

13 years ago* More unicows
illiminable [Thu, 22 Jun 2006 18:54:57 +0000 (18:54 +0000)]
* More unicows
* More ignores

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

13 years agoremoved debug printf
jm [Wed, 21 Jun 2006 13:47:15 +0000 (13:47 +0000)]
removed debug printf

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

13 years agoPatch by Jim Crichton to compute delay properly in TI sample files.
jm [Thu, 15 Jun 2006 12:18:28 +0000 (12:18 +0000)]
Patch by Jim Crichton to compute delay properly in TI sample files.

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

13 years agocleaned up kiss_fft explicit dependencies on libc
jm [Thu, 15 Jun 2006 12:01:18 +0000 (12:01 +0000)]
cleaned up kiss_fft explicit dependencies on libc

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

13 years agoremoved unused var
jm [Thu, 15 Jun 2006 11:57:22 +0000 (11:57 +0000)]
removed unused var

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

13 years agoPatch by David Rowe to split the 3-tap search inner loop in a separate function
jm [Wed, 14 Jun 2006 23:52:40 +0000 (23:52 +0000)]
Patch by David Rowe to split the 3-tap search inner loop in a separate function

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

13 years agoFixed unsafe macro in stack_alloc.h
jm [Wed, 14 Jun 2006 06:44:33 +0000 (06:44 +0000)]
Fixed unsafe macro in stack_alloc.h

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

13 years agoSwap code/variable declaration to be pre-C99 compliant.
tterribe [Wed, 14 Jun 2006 05:57:17 +0000 (05:57 +0000)]
Swap code/variable declaration to be pre-C99 compliant.
Thanks to pwk for the report.

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

13 years agoMinor fix by Alfred E. Heggestad to set reserved fields in
jm [Tue, 13 Jun 2006 08:45:56 +0000 (08:45 +0000)]
Minor fix by Alfred E. Heggestad to set reserved fields in
SPEEX_STEREO_STATE_INIT to zero.

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

13 years agos/-Copyright/License/
jm [Mon, 12 Jun 2006 15:01:49 +0000 (15:01 +0000)]
s/-Copyright/License/

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

13 years agoremoved a float/fixed split in pitch_gain_search_3tap()
jm [Mon, 12 Jun 2006 12:52:05 +0000 (12:52 +0000)]
removed a float/fixed split in pitch_gain_search_3tap()

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

13 years agoUpdated README.blackfin by David Rowe
jm [Sun, 11 Jun 2006 04:26:48 +0000 (04:26 +0000)]
Updated README.blackfin by David Rowe

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

13 years agoPatch by David Rowe -- make bfin version of filter_mem2 and iir_mem2 use
jm [Sun, 11 Jun 2006 04:24:03 +0000 (04:24 +0000)]
Patch by David Rowe -- make bfin version of filter_mem2 and iir_mem2 use
the standard scratch memory allocator

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

13 years agoOops. No more memory leak in the echo canceller destroy func.
jm [Sun, 11 Jun 2006 04:16:58 +0000 (04:16 +0000)]
Oops. No more memory leak in the echo canceller destroy func.

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

13 years agooops. decoder must delete decoder...
jm [Sun, 11 Jun 2006 00:31:23 +0000 (00:31 +0000)]
oops. decoder must delete decoder...

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

13 years agoBetter control of the pitch gain to prevent potential instabilities from
jm [Sat, 10 Jun 2006 13:20:16 +0000 (13:20 +0000)]
Better control of the pitch gain to prevent potential instabilities from
encoder/decoder mismatch

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

13 years agoPatch by David Rowe: normalize16() on Blackfin now writes data 16-bit at a time
jm [Wed, 7 Jun 2006 09:46:15 +0000 (09:46 +0000)]
Patch by David Rowe: normalize16() on Blackfin now writes data 16-bit at a time
and no longer does a read past the end of the array.

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

13 years agoPatch by David Rowe: sending the stack parameter to *_mem16() filters.
jm [Wed, 7 Jun 2006 09:42:09 +0000 (09:42 +0000)]
Patch by David Rowe: sending the stack parameter to *_mem16() filters.

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

13 years agoLSP quantization: minor C optimisation and hooks for Blackfin assembly
jm [Wed, 7 Jun 2006 09:27:32 +0000 (09:27 +0000)]
LSP quantization: minor C optimisation and hooks for Blackfin assembly

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

13 years agoremoved some unnecessary bisections
jm [Tue, 6 Jun 2006 23:02:50 +0000 (23:02 +0000)]
removed some unnecessary bisections

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

13 years agoMinor optimisation -- should help the open loop pitch search for N=1
jm [Mon, 5 Jun 2006 23:51:06 +0000 (23:51 +0000)]
Minor optimisation -- should help the open loop pitch search for N=1

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

13 years agoRewrite of the lsp_to_lpc() algorithm by David Rowe. Removes a bunch of
jm [Mon, 5 Jun 2006 11:23:33 +0000 (11:23 +0000)]
Rewrite of the lsp_to_lpc() algorithm by David Rowe. Removes a bunch of
multiplications by zero. Also, Blackfin implementation of cheb_poly_eva().

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

13 years agosaved a few cycles on Blackfin by using the assembly constraints properly
jm [Thu, 1 Jun 2006 15:15:18 +0000 (15:15 +0000)]
saved a few cycles on Blackfin by using the assembly constraints properly

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

13 years agoFixed Blackfin bug with target_update length was 0.
jm [Wed, 31 May 2006 16:03:35 +0000 (16:03 +0000)]
Fixed Blackfin bug with target_update length was 0.

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

13 years agoMaking the div rounding the same on Blackfin as in C.
jm [Wed, 31 May 2006 16:00:26 +0000 (16:00 +0000)]
Making the div rounding the same on Blackfin as in C.

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

13 years agoDavid's lsp patch broke the float version. It's fixed now.
jm [Tue, 30 May 2006 16:31:52 +0000 (16:31 +0000)]
David's lsp patch broke the float version. It's fixed now.

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

13 years agoCleaned up the pitch constraint a bit. Should be better and faster.
jm [Tue, 30 May 2006 16:22:49 +0000 (16:22 +0000)]
Cleaned up the pitch constraint a bit. Should be better and faster.

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

13 years agoBlackfin quality regression fix and gcc 4.1 (missing clobber reg) fix by
jm [Tue, 30 May 2006 11:11:06 +0000 (11:11 +0000)]
Blackfin quality regression fix and gcc 4.1 (missing clobber reg) fix by
David Rowe

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

13 years ago* Make output path consistent
illiminable [Mon, 29 May 2006 09:06:12 +0000 (09:06 +0000)]
* Make output path consistent

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

13 years agooops, wasn't allocating enough temp memory
jm [Mon, 29 May 2006 08:43:09 +0000 (08:43 +0000)]
oops, wasn't allocating enough temp memory

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

13 years ago* Fix the release build of speexenc
illiminable [Mon, 29 May 2006 08:32:13 +0000 (08:32 +0000)]
* Fix the release build of speexenc

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

13 years ago* Working again
illiminable [Sun, 28 May 2006 14:12:15 +0000 (14:12 +0000)]
* Working again

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

13 years agooops, declarations go before the code
jm [Sun, 28 May 2006 14:10:48 +0000 (14:10 +0000)]
oops, declarations go before the code

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

13 years agoPatch by David Rowe to make the inputs of cheb_poly_eva() 16-bit
jm [Sun, 28 May 2006 09:35:43 +0000 (09:35 +0000)]
Patch by David Rowe to make the inputs of cheb_poly_eva() 16-bit

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

13 years agoAdded -Wl,-elf2flt=-s100000 to the LDFLAGS for Blackfin
jm [Sun, 28 May 2006 09:23:38 +0000 (09:23 +0000)]
Added -Wl,-elf2flt=-s100000 to the LDFLAGS for Blackfin

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

13 years agoREADME.blackfin update
jm [Sun, 28 May 2006 09:21:58 +0000 (09:21 +0000)]
README.blackfin update

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

13 years agoC89 fix
jm [Sat, 27 May 2006 05:18:37 +0000 (05:18 +0000)]
C89 fix

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

13 years agonormalize16() on Blackfin should now work on odd lenghts (for real this time!)
jm [Sat, 27 May 2006 04:55:35 +0000 (04:55 +0000)]
normalize16() on Blackfin should now work on odd lenghts (for real this time!)

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

13 years agomaking the Blackfin version of PDIV32_16 bit-exact with the standard version
jm [Sat, 27 May 2006 04:55:09 +0000 (04:55 +0000)]
making the Blackfin version of PDIV32_16 bit-exact with the standard version

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

13 years agonormalize16() on Blackfin should now work on odd lenghts
jm [Sat, 27 May 2006 04:45:02 +0000 (04:45 +0000)]
normalize16() on Blackfin should now work on odd lenghts

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

13 years agoUpdated Blackfin version of compute_pitch_error()
jm [Fri, 26 May 2006 13:07:47 +0000 (13:07 +0000)]
Updated Blackfin version of compute_pitch_error()

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

13 years agoupdated innovation shifts on Blackfin
jm [Fri, 26 May 2006 09:09:14 +0000 (09:09 +0000)]
updated innovation shifts on Blackfin

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

13 years agosaturation on Blackfin patch by David Rowe.
jm [Fri, 26 May 2006 05:58:46 +0000 (05:58 +0000)]
saturation on Blackfin patch by David Rowe.

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

13 years agoMoved some filter coefs from the encoder state to temp allocation.
jm [Fri, 26 May 2006 05:45:13 +0000 (05:45 +0000)]
Moved some filter coefs from the encoder state to temp allocation.

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

13 years agooops. Fixed the float version
jm [Sat, 20 May 2006 23:10:07 +0000 (23:10 +0000)]
oops. Fixed the float version

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

13 years agoGot completely rid of the 64bit type (was only used in the adaptive codebook)
jm [Sat, 20 May 2006 23:03:48 +0000 (23:03 +0000)]
Got completely rid of the 64bit type (was only used in the adaptive codebook)

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