Commit graph

69 commits

Author SHA1 Message Date
Jean-Marc Valin
9f90e57a9b Fixes a glitch in SILK mono->stereo switching
For these transitions, we now start the left and right resamplers
from the same state.
2011-09-27 14:10:23 -04:00
Jean-Marc Valin
1c2f5633d1 Removed all the silk_ prefixes in source file names (not symbols) 2011-09-16 01:16:53 -07:00
Jean-Marc Valin
fb3a437c9d Renaming the SKP_ prefix to silk_ 2011-09-16 00:58:26 -07:00
Jean-Marc Valin
2ca6c5d2c6 more libcelt->celt renames 2011-09-14 00:06:47 -07:00
Gregory Maxwell
16b25e908a Eliminate the last non-static pointer from the LPC-mode encoder structures.
The API permits the caller to freely copy the codec state on their
own, but this can't work if there are any any position dependant pointers
in the codec state.
2011-09-06 23:22:01 -04:00
Jean-Marc Valin
43da5898a0 This should remove the last // comments 2011-08-29 00:00:25 -04:00
Gregory Maxwell
fa8e3c53c8 Remove directories added by 86476906ec. 2011-08-25 08:56:38 -04:00
Ralph Giles
86476906ec Use 'frame' instead of 'signal' in the silk code.
On MacOS, stdlib.h ends up including sys/signal.h, generating
warnings about the local variables called 'signal' shadowing
the global symbol signal(3). Tested with XCode 4.1 on
MacOS X 10.7.0.

The signal buffers passed in are generally frames being processed,
and the code already uses the term frame and frame_length elsewhere,
so I've resolved the warning by renaming signal and signal_* locals
and parameters to frame and frame_*.
2011-08-24 00:25:44 -04:00
Jean-Marc Valin
4dc0b39705 Replacing SPK_INLINE by static inline
The config.h will take care of compat issues with "inline"
2011-08-15 11:24:37 -04:00
Jean-Marc Valin
5a48412fda Including config.h from all the SILK files 2011-08-15 10:49:53 -04:00
Jean-Marc Valin
3120e225c2 Fixes a stereo rate mismatch bug
This is a tentative fix for a bug found in fuzzing where the encoder
switched from mono to stereo while in the process of changing bandwidth.
The result was that the newly added side would use the new sampling
rate, while the mid hadn't switched yet, causing an encoder/decoder
mismatch. The fix is that the side rate selection gets overridden
to use the mid rate.
The bug would occur when compiling with fuzzing enabled and using:
./test_opus 0 48000 2 24000 input.sw output.sw
2011-08-12 16:22:29 -04:00
Gregory Maxwell
662587d9c5 Remove many unused defines and convert some double constants to float. 2011-08-01 20:41:54 -04:00
Gregory Maxwell
ae2311455b Convert all CRLF in the SILK code, tabs to spaces, and trailing
whitespace.
2011-07-30 21:55:16 -04:00
Jean-Marc Valin
f9d14f8d77 Renamed SKP_[u]int* to opus_[u]int* 2011-07-29 18:39:57 -04:00
Jean-Marc Valin
f6e781ab8b Addressing multiple LSF-related issues
- Merged the LPC stabilization from NLSF2A_stable.c into NLSF2A.c
- The bandwidth expansion in NLSF2A() now operates on int32 LPC coefficients in
Q17 domain (instead of int16 Q12 coefficients)
- The function bwexpander_32() has a more precise way of updating the chirp
variable (round to nearest, instead of round down)
- Changed a few variables in NLSF_stabilize() from int16 to int32 to avoid signed
wrap-around (no difference in results as the wrap-around would always be reversed
later)
- The LSF codebook for WB speech has a quantization stepsize of 0.15 (was 0.16).
This doesn't break the bitstream, although it slightly limits quality of signals
encoded with the old version and decoded with the new one (I can't really hear it
and PESQ gives high scores as well).  I does improve handling of tonal signals.
- As discussed: the Q-domain of the poly function is now in Q16 (was Q20)
- As discussed: limiting the LSFs in NLSF_decode() to 0...32767
- The silk_NLSF_DELTA_MIN values were lowered to deal with a possible future situation with less or no input HP filtering.
2011-06-11 08:18:03 -04:00
Koen Vos
be75f1d0fe Fixes a crash on fixed-point stereo voice and some valgrind uninitialized errors 2011-05-25 17:18:02 -04:00
Jean-Marc Valin
103302b375 Squashed commit of the following:
commit 5b64cf7c4d67af9050bc959996ef976ce6326888
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Thu May 19 16:40:35 2011 -0400

    Fixes a few bugs introduced in the latest update

commit b91eb86025d2de3c4cf04f4fb1aa48a28ad676a3
Author: Timothy B. Terriberry <tterribe@xiph.org>
Date:   Thu May 19 16:12:02 2011 -0400

    build_draft.sh fixes

commit 0b10c30db7ad60ff7d4bfc1139bdb86e0543c035
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Thu May 19 15:30:21 2011 -0400

    Fixes the draft build

commit 164424cded5978e657105104e171ac202dde5e5b
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Thu May 19 15:00:23 2011 -0400

    Updated build system

commit 188d9fcba8c3a1b1ad67c67c430e1b37e3658a40
Author: Koen Vos <koen.vos@skype.net>
Date:   Thu May 19 17:14:57 2011 -0400

    SILK/Opus update
2011-05-19 17:17:44 -04:00
Koen Vos
494ce976e2 Squashed commit of the following:
commit dfe4d46f9abf6b0e96e66370d428da4e283204ce
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Mon May 2 09:59:45 2011 -0400

    SILK file list update

commit 5faf541d86445eb8ce1775ea206e88afe83c7107
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Mon May 2 09:51:29 2011 -0400

    Makefiles update

commit f5d70b3ccbe209cc07a1a604fffca93ea34bc64b
Author: Koen Vos <koen.vos@skype.net>
Date:   Mon May 2 09:50:33 2011 -0400

    SILK stereo update and MSVC build update
2011-05-02 10:01:10 -04:00
Jean-Marc Valin
b57996eeb8 Moving the SILK fixed-point and float files
to silk/fixed and silk/float, respectively
2011-04-29 15:27:43 -04:00