Commit graph

15 commits

Author SHA1 Message Date
Jean-Marc Valin
7e3352ef51
Converting some silk_assert()s into hardening celt_assert()s
Only converted the ones that are really sure (not signal-dependent)
and that shouldn't add much run-time complexity
2018-03-27 15:13:27 -04:00
Jean-Marc Valin
e437424c23 NLSF_VQ_MAX_SURVIVORS is no longer useful 2016-07-17 15:05:54 -04:00
Koen Vos
8daa4d3739 take advantage of more efficient NLSF quantization by reducing number of survivors in search
JMV: edited to be a little more conservative
2016-07-17 15:05:54 -04:00
Koen Vos
c462ae920e NLSF_encode now also uses NLSF weights from table 2016-07-17 15:05:54 -04:00
Koen Vos
aa7e174891 NLSF VQ now uses absolute error, and prediction 2016-07-17 15:05:54 -04:00
Koen Vos
2955f68b14 NLSF decoding now uses tables for NLSF weights 2016-07-17 15:05:54 -04:00
Felicia Lim
e40df01625 Fix valgrind unaddressable mem read error
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2016-03-30 12:25:27 -04:00
Ralph Giles
f2446c25c6 Remove trailing whitespace from the license headers. 2013-09-16 14:40:04 -07:00
Timothy B. Terriberry
e3ad4ea1cd Move misplaced RESTORE_STACK.
Introduced in c152d602.

Thanks to Pedro Becerra for the report.
2013-05-23 19:33:34 -07:00
Timothy B. Terriberry
80ad38370c Convert quotes in license headers to ASCII.
Since the last patch originally had them mangled (presumably by
 mailer, http server, or something else), let's just get rid of
 them.
2013-05-19 19:16:11 -07:00
Timothy B. Terriberry
c152d602aa Use dynamic stack allocation in the SILK encoder.
This makes all remaining large stack allocations use the vararray
 macros.
This continues the work of 6f2d9f50 to allow compiling with
 NONTHREADSAFE_PSEUDOSTACK to move the memory for large buffers
 off the stack for devices where it is very limited.

It also does this for some additional large buffers used by the
 PLC in the decoder.
2013-05-08 10:37:17 -07:00
Jean-Marc Valin
ae00e60d35 License update using the IETF Trust flavour of the BSD on the Silk code 2012-04-20 16:31:04 -04:00
Koen Vos
bf75c8ec4d SILK fixes following last codec WG meeting
decoder:
- fixed incorrect scaling of filter states for the smallest quantization
  step sizes
- NLSF2A now limits the prediction gain of LPC filters

encoder:
- increased damping of LTP coefficients in LTP analysis
- increased white noise fraction in noise shaping LPC analysis
- introduced maximum total prediction gain.  Used by Burg's method to
  exit early if prediction gain is exceeded.  This improves packet
  loss robustness and numerical robustness in Burg's method
- Prefiltered signal is now in int32 Q10 domain, from int16 Q0
- Increased max number of iterations in CBR gain control loop from 5 to 6
- Removed useless code from LTP scaling control
- Optimization: smarter LPC loop unrolling
- Switched default win32 compile mode to be floating-point

resampler:
- made resampler have constant delay of 0.75 ms; removed delay
  compensation from silk code.
- removed obsolete table entries (~850 Bytes)
- increased downsampling filter order from 16 to 18/24/36 (depending on
  frequency ratio)
- reoptimized filter coefficients
2011-12-13 14:47:31 -05:00
Koen Vos
acc7a6c78b Reformatting changes with an update to the MSVC project files 2011-10-28 19:44:26 -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
Renamed from silk/silk_NLSF_encode.c (Browse further)