speexdsp.git
17 years agomostly wideband tuning...
jm [Fri, 10 Jan 2003 07:27:54 +0000 (07:27 +0000)]
mostly wideband tuning...

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

17 years agoFixed (I think) potential overflow in Speex Bits
jm [Thu, 9 Jan 2003 16:30:00 +0000 (16:30 +0000)]
Fixed (I think) potential overflow in Speex Bits

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

17 years agoAdded a return value (error) to the *ctl functions, added re-allocation
jm [Wed, 8 Jan 2003 21:59:00 +0000 (21:59 +0000)]
Added a return value (error) to the *ctl functions, added re-allocation
to SpeexBits when buffer is too small.

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

17 years agoFixed some bad DTX/packet-loss/wideband interactions.
jm [Wed, 8 Jan 2003 06:57:01 +0000 (06:57 +0000)]
Fixed some bad DTX/packet-loss/wideband interactions.

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

17 years agooops! stupid bug
jm [Tue, 7 Jan 2003 04:30:25 +0000 (04:30 +0000)]
oops! stupid bug

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

17 years agoAdded some bounds checking when reading bits, including a bug when forcing
jm [Tue, 7 Jan 2003 04:11:04 +0000 (04:11 +0000)]
Added some bounds checking when reading bits, including a bug when forcing
higher bit-rates (force-wb on a narrowband stream). Some cleaning up too.

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

17 years agoSome stereo enhancements
jm [Mon, 6 Jan 2003 22:06:45 +0000 (22:06 +0000)]
Some stereo enhancements

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

17 years agobetter handling for end of files, use the size of the data chunk in the
jm [Mon, 6 Jan 2003 21:30:23 +0000 (21:30 +0000)]
better handling for end of files, use the size of the data chunk in the
wave file instead of EOF, handle files that don't have an even number of
frames by padding the last frame.

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

17 years agoUsed the last 4 bits of mode1 for a CNG flag, plus some cleanup, bugfix
jm [Mon, 6 Jan 2003 20:43:48 +0000 (20:43 +0000)]
Used the last 4 bits of mode1 for a CNG flag, plus some cleanup, bugfix

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

17 years agoCleaned up mem allocation in sb_celp.c like in nb_celp.c
jm [Mon, 6 Jan 2003 08:35:48 +0000 (08:35 +0000)]
Cleaned up mem allocation in sb_celp.c like in nb_celp.c

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

17 years agoReplaced all the alloc's by one big memory allocation for a whole state
jm [Mon, 6 Jan 2003 06:53:02 +0000 (06:53 +0000)]
Replaced all the alloc's by one big memory allocation for a whole state

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

17 years agoThink I made the stack operations more portable in case sizeof(int) !=
jm [Mon, 6 Jan 2003 05:56:56 +0000 (05:56 +0000)]
Think I made the stack operations more portable in case sizeof(int) !=
sizeof(void*)

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

17 years agocleanup: all use of libc has been moved to misc.c to make porting easier.
jm [Mon, 6 Jan 2003 04:18:12 +0000 (04:18 +0000)]
cleanup: all use of libc has been moved to misc.c to make porting easier.

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

17 years agofixed some bugs in wave input: should now handle extra chunks as well
jm [Sun, 5 Jan 2003 08:46:33 +0000 (08:46 +0000)]
fixed some bugs in wave input: should now handle extra chunks as well
as extended "fmt " chunks. Also, fixed a bug in invalid comment handling.

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

17 years agospeexdec a bit more robust to corrupted files, misc doc fixes
jm [Sat, 4 Jan 2003 07:04:53 +0000 (07:04 +0000)]
speexdec a bit more robust to corrupted files, misc doc fixes

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

17 years ago...
jm [Tue, 31 Dec 2002 18:41:46 +0000 (18:41 +0000)]
...

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

17 years agodocumentation update
jm [Tue, 31 Dec 2002 06:07:33 +0000 (06:07 +0000)]
documentation update

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

17 years agoFixed a segfault in wideband/ultra-wideband decoding when a packet is
jm [Tue, 31 Dec 2002 03:25:34 +0000 (03:25 +0000)]
Fixed a segfault in wideband/ultra-wideband decoding when a packet is
lost while in NULL mode.

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

17 years agoremoved debug printf... Speex-1.0beta4
jm [Fri, 20 Dec 2002 19:51:17 +0000 (19:51 +0000)]
removed debug printf...

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

17 years agobeta4 details...
jm [Fri, 20 Dec 2002 19:42:57 +0000 (19:42 +0000)]
beta4 details...

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

17 years agoAllowed CNG in VBR mode
jm [Fri, 20 Dec 2002 17:45:36 +0000 (17:45 +0000)]
Allowed CNG in VBR mode

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

17 years agomisc stuff for beta4
jm [Fri, 20 Dec 2002 08:24:46 +0000 (08:24 +0000)]
misc stuff for beta4

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

17 years agoImprovements to the perceptual enhancement code: smoother pitch comb
jm [Fri, 20 Dec 2002 07:16:10 +0000 (07:16 +0000)]
Improvements to the perceptual enhancement code: smoother pitch comb
filter, better tuning, and a stupid bugfix (gain hard-coded to .5).

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

17 years agoThink DTX now works for wideband too
jm [Fri, 20 Dec 2002 05:20:28 +0000 (05:20 +0000)]
Think DTX now works for wideband too

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

17 years agoPseudo-DTX in encoder
jm [Thu, 19 Dec 2002 17:52:59 +0000 (17:52 +0000)]
Pseudo-DTX in encoder

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

17 years agoStarted work on discontinuous transmission (DTX)
jm [Thu, 19 Dec 2002 08:21:11 +0000 (08:21 +0000)]
Started work on discontinuous transmission (DTX)

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

17 years agoOops... this bug was found by Ming Wu <mingwu@cyberon.com.tw>
jm [Thu, 19 Dec 2002 04:07:08 +0000 (04:07 +0000)]
Oops... this bug was found by Ming Wu <mingwu@cyberon.com.tw>

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

17 years agoMake speexenc/speexdec return 0 on success
jm [Sun, 15 Dec 2002 19:32:21 +0000 (19:32 +0000)]
Make speexenc/speexdec return 0 on success

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

17 years agoABR seems to work for wideband too...
jm [Sun, 15 Dec 2002 06:45:43 +0000 (06:45 +0000)]
ABR seems to work for wideband too...

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

17 years agoAverage bit-rate (ABR) now seems to work good for narrowband (no wideband
jm [Sun, 15 Dec 2002 06:01:45 +0000 (06:01 +0000)]
Average bit-rate (ABR) now seems to work good for narrowband (no wideband
yet, but shouldn't be hard)

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

17 years agoPatch by Bernard Blackham <b-speex@blackham.com.au> that speeds up the
jm [Sun, 15 Dec 2002 04:45:41 +0000 (04:45 +0000)]
Patch by Bernard Blackham <b-speex@blackham.com.au> that speeds up the
VQ N-best search. Can reach up to 10-15% speed improvement on higher
complexity settings.

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

17 years agoMore ABR work...
jm [Sat, 14 Dec 2002 06:29:08 +0000 (06:29 +0000)]
More ABR work...

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

17 years agoStarting (still incomplete) average bit-rate (ABR) implementation
jm [Fri, 13 Dec 2002 22:59:27 +0000 (22:59 +0000)]
Starting (still incomplete) average bit-rate (ABR) implementation

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

17 years agoVAD should now work on wideband too.
jm [Fri, 13 Dec 2002 01:47:24 +0000 (01:47 +0000)]
VAD should now work on wideband too.

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

17 years agoImplemented VAD-only mode with comfort noise generation, did some tuning to
jm [Thu, 12 Dec 2002 07:51:35 +0000 (07:51 +0000)]
Implemented VAD-only mode with comfort noise generation, did some tuning to
the VAD too. Next thing: adapt VAD-only to work with wideband too.

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

17 years agoFirst shot at high-band perceptual enhancement
jm [Thu, 12 Dec 2002 03:28:49 +0000 (03:28 +0000)]
First shot at high-band perceptual enhancement

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

17 years agoImprovements to the way silence is handled in VBR.
jm [Wed, 11 Dec 2002 22:03:35 +0000 (22:03 +0000)]
Improvements to the way silence is handled in VBR.

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

17 years agoMore 2.15 kbps tuning, improved open-loop pitch estimation (less pitch
jm [Wed, 11 Dec 2002 08:24:05 +0000 (08:24 +0000)]
More 2.15 kbps tuning, improved open-loop pitch estimation (less pitch
doubling)

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

17 years agoBig (hopefully) improvement in quality for the 2.15 kbps mode (better
jm [Wed, 11 Dec 2002 06:49:40 +0000 (06:49 +0000)]
Big (hopefully) improvement in quality for the 2.15 kbps mode (better
excitation).

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

17 years agoImplemented SPEEX_RESET_STATE and reduced memory allocation size.
jm [Mon, 2 Dec 2002 00:12:48 +0000 (00:12 +0000)]
Implemented SPEEX_RESET_STATE and reduced memory allocation size.

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

17 years agoUltra-wideband VBR seems to work. Also, fixed a bug for wideband VBR.
jm [Sat, 30 Nov 2002 05:24:41 +0000 (05:24 +0000)]
Ultra-wideband VBR seems to work. Also, fixed a bug for wideband VBR.

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

17 years agoupdate for 1.0
jm [Fri, 29 Nov 2002 23:14:11 +0000 (23:14 +0000)]
update for 1.0

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

17 years agoMany improvements (hopefully) to packet loss concealing, part of it from a
jm [Thu, 28 Nov 2002 06:32:50 +0000 (06:32 +0000)]
Many improvements (hopefully) to packet loss concealing, part of it from a
patch sent by Guilhem Tardy.

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

17 years ago...
jm [Wed, 27 Nov 2002 20:36:41 +0000 (20:36 +0000)]
...

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

17 years agowideband VBR seems to (almost) work. Need to adapt it to work on ultra-
jm [Wed, 27 Nov 2002 05:22:47 +0000 (05:22 +0000)]
wideband VBR seems to (almost) work. Need to adapt it to work on ultra-
wideband too.

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

17 years ago...
jm [Wed, 27 Nov 2002 02:54:34 +0000 (02:54 +0000)]
...

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

17 years agoFixed a bug in the VBR analyzer, trying to re-tune it... also, started
jm [Fri, 15 Nov 2002 06:26:50 +0000 (06:26 +0000)]
Fixed a bug in the VBR analyzer, trying to re-tune it... also, started
implementing VBR for wideband (still a big kludge for now).

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

17 years agoFixed bugs in stereo and zero-mode and did some VBR tuning... it's looking
jm [Thu, 14 Nov 2002 04:49:14 +0000 (04:49 +0000)]
Fixed bugs in stereo and zero-mode and did some VBR tuning... it's looking
good.

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

17 years agoTrying a new VBR implementation... still experimental
jm [Thu, 14 Nov 2002 00:51:35 +0000 (00:51 +0000)]
Trying a new VBR implementation... still experimental

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

17 years agoUpdated doc about CELP
jm [Wed, 13 Nov 2002 04:03:04 +0000 (04:03 +0000)]
Updated doc about CELP

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

17 years ago... Speex-1.0beta3
jm [Mon, 11 Nov 2002 07:21:35 +0000 (07:21 +0000)]
...

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

17 years agoLast updates (hopefully) for beta 3.
jm [Mon, 11 Nov 2002 06:05:22 +0000 (06:05 +0000)]
Last updates (hopefully) for beta 3.

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

17 years agoMisc stuff for beta 3
jm [Mon, 11 Nov 2002 01:08:29 +0000 (01:08 +0000)]
Misc stuff for beta 3

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

17 years agoUpdate for non-standard (not 8,16,32 kHz) sampling rates, changed package
jm [Sun, 10 Nov 2002 05:17:53 +0000 (05:17 +0000)]
Update for non-standard (not 8,16,32 kHz) sampling rates, changed package
name from "Speex" to "speex" (removed capital S) and moved doc to the
devel package.

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

17 years agoPreparing for beta 3, cleaned up the mode/bit-rate code in speexdec,
jm [Sat, 9 Nov 2002 06:00:02 +0000 (06:00 +0000)]
Preparing for beta 3, cleaned up the mode/bit-rate code in speexdec,
updated the help and man pages, updated MSVC project.

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

17 years agoSome temporary kludging to make ultra-wideband work...
jm [Fri, 8 Nov 2002 05:58:59 +0000 (05:58 +0000)]
Some temporary kludging to make ultra-wideband work...

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

17 years agoFixed a couple stupid bugs
jm [Fri, 8 Nov 2002 05:00:26 +0000 (05:00 +0000)]
Fixed a couple stupid bugs

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

17 years agoImplemented stereo at the decoder side
jm [Thu, 7 Nov 2002 22:13:16 +0000 (22:13 +0000)]
Implemented stereo at the decoder side

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

17 years agoFirst stereo support in encoder (might be buggy), not in decoder yet.
jm [Thu, 7 Nov 2002 06:10:37 +0000 (06:10 +0000)]
First stereo support in encoder (might be buggy), not in decoder yet.

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

17 years agoMisc. cosmetic stuff
jm [Wed, 6 Nov 2002 21:27:31 +0000 (21:27 +0000)]
Misc. cosmetic stuff

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

17 years agoPrevents a symbol name clash with the G729 version used by OpenH323
jm [Wed, 6 Nov 2002 01:47:39 +0000 (01:47 +0000)]
Prevents a symbol name clash with the G729 version used by OpenH323

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

17 years agobefore my laptop drops dead... :(
jm [Tue, 5 Nov 2002 15:57:19 +0000 (15:57 +0000)]
before my laptop drops dead... :(

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

17 years agoIntegrated "ultra-wideband" with encoder/decoder.
jm [Mon, 4 Nov 2002 03:00:52 +0000 (03:00 +0000)]
Integrated "ultra-wideband" with encoder/decoder.

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

17 years agoTo make the OpenH323 people happy (warning on Win32)
jm [Sat, 2 Nov 2002 15:27:24 +0000 (15:27 +0000)]
To make the OpenH323 people happy (warning on Win32)

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

17 years agoThink I fixed the "ultra-wideband" gain problem
jm [Sat, 2 Nov 2002 06:25:52 +0000 (06:25 +0000)]
Think I fixed the "ultra-wideband" gain problem

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

17 years agoStupid bug :-<
jm [Sat, 2 Nov 2002 06:08:00 +0000 (06:08 +0000)]
Stupid bug :-<

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

17 years agoVBR quality is now a float parameter
jm [Fri, 1 Nov 2002 03:50:50 +0000 (03:50 +0000)]
VBR quality is now a float parameter

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

17 years ago...
jm [Fri, 1 Nov 2002 00:02:57 +0000 (00:02 +0000)]
...

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

17 years agoWin32 bug fixes by Janne Hyv�rinen (Case)
jm [Thu, 31 Oct 2002 20:25:09 +0000 (20:25 +0000)]
Win32 bug fixes by Janne Hyv�rinen (Case)

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

17 years agoWideband code cleanup, first shot at an "ultra-wideband" mode at 32 kHz,
jm [Wed, 30 Oct 2002 22:12:19 +0000 (22:12 +0000)]
Wideband code cleanup, first shot at an "ultra-wideband" mode at 32 kHz,
but still buggy.

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

17 years agoNew cos approximation for slow CPU's (don't use it on x86)
jm [Wed, 30 Oct 2002 20:27:03 +0000 (20:27 +0000)]
New cos approximation for slow CPU's (don't use it on x86)

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

17 years agoGet rid of warning
jm [Sun, 27 Oct 2002 07:08:21 +0000 (07:08 +0000)]
Get rid of warning

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

17 years agoMade the code valid for a C++ compiler (void* stuff), plus some cleanup
jm [Sun, 27 Oct 2002 06:01:31 +0000 (06:01 +0000)]
Made the code valid for a C++ compiler (void* stuff), plus some cleanup

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

17 years agoThe temp stack is now void* instead of float*
jm [Sun, 27 Oct 2002 02:59:00 +0000 (02:59 +0000)]
The temp stack is now void* instead of float*

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

17 years ago...
jm [Sun, 27 Oct 2002 02:36:20 +0000 (02:36 +0000)]
...

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

17 years agoStack allocation cleanup...
jm [Sat, 26 Oct 2002 19:16:16 +0000 (19:16 +0000)]
Stack allocation cleanup...

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

17 years agoGetting ready for beta2
jm [Sat, 26 Oct 2002 04:51:10 +0000 (04:51 +0000)]
Getting ready for beta2

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

17 years agoAdded SSE support (gcc only) by defining _USE_SSE
jm [Sat, 26 Oct 2002 04:37:15 +0000 (04:37 +0000)]
Added SSE support (gcc only) by defining _USE_SSE

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

17 years agoQMF optimizations by segher
jm [Sat, 26 Oct 2002 02:58:36 +0000 (02:58 +0000)]
QMF optimizations by segher

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

17 years agoCode cleanup
jm [Fri, 25 Oct 2002 04:11:15 +0000 (04:11 +0000)]
Code cleanup

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

17 years agoDecoder optimizations, mostly when perceptual enhancement is off.
jm [Thu, 24 Oct 2002 06:29:13 +0000 (06:29 +0000)]
Decoder optimizations, mostly when perceptual enhancement is off.

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

17 years agoMore cleanups, do something more intelligent with LPC->LSP
jm [Thu, 24 Oct 2002 03:59:35 +0000 (03:59 +0000)]
More cleanups, do something more intelligent with LPC->LSP

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

17 years agofixed a double_codebook bug and prevented pitch from doing weird things
jm [Wed, 23 Oct 2002 19:06:19 +0000 (19:06 +0000)]
fixed a double_codebook bug and prevented pitch from doing weird things
in VBR mode when the last frame was vocoded.

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

17 years agoCompute impulse response of "perceptual synthesis filter" globally and
jm [Wed, 23 Oct 2002 16:35:37 +0000 (16:35 +0000)]
Compute impulse response of "perceptual synthesis filter" globally and
use it in pitch prediction to reduce some calculations.

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

17 years agoContinuing cleanup, removed unused functions, ...
jm [Wed, 23 Oct 2002 06:24:57 +0000 (06:24 +0000)]
Continuing cleanup, removed unused functions, ...

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

17 years ago...
jm [Wed, 23 Oct 2002 06:10:35 +0000 (06:10 +0000)]
...

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

17 years agoMerged split_cb_search_nogain and split_cb_search_shape_sign so there's
jm [Wed, 23 Oct 2002 06:03:16 +0000 (06:03 +0000)]
Merged split_cb_search_nogain and split_cb_search_shape_sign so there's
now only one search function with an option to search for a sign or not.

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

17 years agoRe-wrote the signed search to be like the unsigned one (should make them
jm [Wed, 23 Oct 2002 05:18:29 +0000 (05:18 +0000)]
Re-wrote the signed search to be like the unsigned one (should make them
use the same code now)

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

17 years agoModified QMF filters so we don't calculate useless (zeros) values.
jm [Wed, 23 Oct 2002 02:56:46 +0000 (02:56 +0000)]
Modified QMF filters so we don't calculate useless (zeros) values.

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

17 years agoRemoved un-necessary copies and re-ordered some calculations to make them
jm [Wed, 23 Oct 2002 00:53:19 +0000 (00:53 +0000)]
Removed un-necessary copies and re-ordered some calculations to make them
faster.

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

17 years agoPrevents useless calculation of perceptually-weighted frame Speex-1.0beta2
jm [Tue, 22 Oct 2002 19:29:29 +0000 (19:29 +0000)]
Prevents useless calculation of perceptually-weighted frame

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

17 years agoDon't compute open-loop pitch when mode has a per-subframe pitch and VBR
jm [Tue, 22 Oct 2002 19:14:34 +0000 (19:14 +0000)]
Don't compute open-loop pitch when mode has a per-subframe pitch and VBR
is not used. This gains a bit of CPU.

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

17 years agoSlight optimization to the way the target is updated in the search. Also
jm [Tue, 22 Oct 2002 03:22:54 +0000 (03:22 +0000)]
Slight optimization to the way the target is updated in the search. Also
fixed the stack PUSH.

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

17 years agooops... there was a bug in PUSH (don't know what yet)
jm [Tue, 22 Oct 2002 01:50:07 +0000 (01:50 +0000)]
oops... there was a bug in PUSH (don't know what yet)

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

17 years ago...
jm [Mon, 21 Oct 2002 20:50:29 +0000 (20:50 +0000)]
...

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

17 years agoFilter optimizations, cleanup, removed the stack POP to simplify things
jm [Mon, 21 Oct 2002 20:39:38 +0000 (20:39 +0000)]
Filter optimizations, cleanup, removed the stack POP to simplify things
and prevent errors

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

17 years agoSeparated the enhanced LPC filter in 2
jm [Sun, 20 Oct 2002 23:56:36 +0000 (23:56 +0000)]
Separated the enhanced LPC filter in 2

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

17 years agoBig cleanup, removed Direct-Form I filters
jm [Sun, 20 Oct 2002 21:11:13 +0000 (21:11 +0000)]
Big cleanup, removed Direct-Form I filters

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

17 years agoadjusted message
jm [Sun, 20 Oct 2002 04:19:40 +0000 (04:19 +0000)]
adjusted message

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

17 years agosupport for 11.025 and 22.05 kHz audio
jm [Sun, 20 Oct 2002 04:05:10 +0000 (04:05 +0000)]
support for 11.025 and 22.05 kHz audio

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