Commit graph

2404 commits

Author SHA1 Message Date
Jean-Marc Valin
14d14998c2 misc draft fixes 2012-05-15 16:51:22 -04:00
Timothy B. Terriberry
53e6782ea5 More minor gen-art part 2 edits.
Includes the addition of a band-layout table.
2012-05-15 16:47:16 -04:00
Jean-Marc Valin
e249b0b205 Apparently the tar compatibility option has compatibility problems! 2012-05-15 16:31:50 -04:00
Gregory Maxwell
8ecba1ad26 Make vararray and restrict checks fail GCC 2.95.3's broken implementation. 2012-05-15 16:24:12 -04:00
Gregory Maxwell
6c83b0bd96 Improve portability to BeOS via some configure.ac fixes and cleanups. 2012-05-15 16:24:07 -04:00
Gregory Maxwell
981a2804ea Alt. compile instructions in the draft should match the Makefile. 2012-05-15 16:18:55 -04:00
Jean-Marc Valin
4e66c2c012 Gen-art (bit allocation work).
Also, make the archive work with older versions of tar
2012-05-15 16:15:12 -04:00
Jean-Marc Valin
2599dc5931 Gen-art part2 2012-05-15 14:46:21 -04:00
Jean-Marc Valin
2b0806d474 Gen-art update 2012-05-15 12:22:12 -04:00
Timothy B. Terriberry
df39d65c83 Gen-art part2 2012-05-15 10:51:59 -04:00
Jean-Marc Valin
2cb95f5285 draft: reference for LSP stability 2012-05-15 10:49:41 -04:00
Jean-Marc Valin
1a113a1489 Gen-art sync 2012-05-14 18:30:48 -04:00
Jean-Marc Valin
f2ed58bd8c More on Gen-art part2 2012-05-14 17:56:26 -04:00
Jean-Marc Valin
e6c2aad1b6 Some Gen-art part2 changes 2012-05-14 16:28:33 -04:00
Timothy B. Terriberry
3fe9cca1fb Gen-art changes 2012-05-13 22:16:44 -04:00
Jean-Marc Valin
e134dc4785 Minor genart update 2012-05-12 00:29:13 -04:00
Jean-Marc Valin
250c026890 More Gen-art changes 2012-05-11 16:31:54 -04:00
Jean-Marc Valin
22757c390a More Gen-art changes 2012-05-11 16:00:45 -04:00
Jean-Marc Valin
e8c437c432 First set of changes for Gen-art review 2012-05-11 13:41:41 -04:00
Jean-Marc Valin
516c980585 Make it possible for the mono test to fail 2012-05-11 01:12:23 -04:00
Jean-Marc Valin
329112075e Addressing the remaining comments from Robert Sparks 2012-05-10 16:01:45 -04:00
Gregory Maxwell
d17bcbf1b3 Increase alignment of the internal state structures to sizeof(void *) from 4 bytes.
OpusCustomMode begins with a pointer and was getting misaligned on 64 bit arches.
2012-05-10 14:44:56 -04:00
Gregory Maxwell
5eeeda96d0 Make opus_demo r/w little-endian PCM independent of host byte-order. 2012-05-10 14:44:15 -04:00
Gregory Maxwell
b72de4afda Minor comment formatting change 2012-04-24 01:45:01 -04:00
Jean-Marc Valin
9f407afad6 Adds 3rd clause to CELT license 2012-04-24 01:04:12 -04:00
Jean-Marc Valin
390c89225d Adds some references, bumps version number 2012-04-24 00:57:04 -04:00
Timothy B. Terriberry
e4689464eb Addressing AD issues
Including a description of the PVQ encoder and decoder
2012-04-24 00:37:04 -04:00
Jean-Marc Valin
eb8b3c2b07 Adds note on monic filter 2012-04-23 16:24:45 -04:00
Gregory Maxwell
28b1d248a7 Fix negative write bug in opus_demo and add some fwrite() error handling. 2012-04-23 14:04:44 -04:00
Jean-Marc Valin
cb05e7cd96 s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code"
Also added 3rd clause to "master" COPYING file
2012-04-20 16:41:42 -04: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
Timothy B. Terriberry
fa2750bee2 More changes addressing Robert Sparks' review 2012-04-20 15:47:37 -04:00
Jean-Marc Valin
72273000ec Misc changes to address Robert Sparks' comments
See http://www.ietf.org/mail-archive/web/codec/current/msg02833.html
Still more changes to come
2012-04-20 10:26:08 -04:00
Gregory Maxwell
8365b5d00d Add config.h (and copyright notice) to repacketizer_demo.c.
This fixes some problems with cross-compiles.
2012-03-05 17:33:58 -05:00
Jean-Marc Valin
fdb039badc Eliminates an unused parameter warning in anti_collapse() 2012-03-05 17:13:59 -05:00
Jean-Marc Valin
17c5966045 Last updates for draft -11
- Draft updates
- Updated code to produce and check test vectors
- Making sure that the test vectors pass at all rates as well as for mono and stereo
2012-02-17 16:18:08 -05:00
Jean-Marc Valin
c4ff3a0423 Modifies the comparison tool to make it much more permissive. 2012-02-09 11:24:44 -05:00
Koen Vos
75f04e5eb1 Fixes MSVC warnings 2012-01-31 14:49:40 -05:00
Jean-Marc Valin
66820f350d Tweaks the CELT fractional resampling delay to get perfect alignment
Also using the same int->float conversion functions for SILK as for CELT
and changed encoder implementation default to constrained VBR just to
be safe when VBR gets more aggressive.
2012-01-31 02:18:05 -05:00
Koen Vos
54518c879a Last part of the LPC work stabilization work discussed at the last meeting
Also adds the encoder part of commit ee8adbe701 as well as a few
minor cleanups.
2012-01-31 01:51:22 -05:00
Gregory Maxwell
a26b2be2f9 Improvements to the tests, add a TEST_OPUS_NOFUZZ to disable testing corrupted input.
No changes to the codec itself.
2012-01-25 12:04:17 +13:00
Jean-Marc Valin
286f11efea Making the PLC robust to overflows caused by extreme bit-streams
This is not strictly necessary because the only streams that cause these
already sound horrible, but it helps the testing process.
2012-01-25 11:32:09 +13:00
Jean-Marc Valin
f898ae1021 Fixes a non-bitstream-related PLC integer overflow. 2012-01-24 21:08:15 +13:00
Jean-Marc Valin
ee8adbe701 Fixes a few minor issues (no bit-stream change)
- Safer gain clamping for PLC
- Makes opus_decoder_get_nb_samples() report an error on invalid ToC
- Giving a free license to the text ofthe draft (not just the code)
2012-01-24 14:47:54 +13:00
Koen Vos
a51ebd6831 Accuracy improvements to help float implementations
Also clamps the gain to avoid forcing a float decoder to emulate the
state rescaling.
2011-12-14 11:41:18 -05:00
Jean-Marc Valin
5609cec9a5 Fixes two minor issues found in random testing at ridiculously low rate.
- When it cannot produce the rate it's being asked, the encoder now
  returns a "PLC packet"
- Makes it possible to use the CELT PLC for more than 20 ms
2011-12-13 14:52:43 -05:00
Koen Vos
bbfc9c9ee5 Improves the accuracy such that it matches a float decoder much better 2011-12-13 14:50:12 -05: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
Timothy B. Terriberry
6619a73637 Move nbits_total initialize before renormalization.
The range decoder used to initialize nbits_total after the
 renormalization loop, even though the renormalization loop
 modifies it.
This was presumably safe, because nothing actually used the value
 before it was initialized, but I'm tired of it triggering the
 integer overflow checking.
2011-12-02 15:37:29 -05:00
Gregory Maxwell
92c896e880 Fixes the code for optional self-delimited packing to make it fit the draft
This has no impact on opus_demo, test vectors, or "normal" codec operation
2011-12-02 12:41:31 -05:00