Commit graph

234 commits

Author SHA1 Message Date
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
Ralph Giles
cd539dfdcd Rename to header makefile fragements to .mk
The opus_headers.txt, etc. files are makefile
fragments defining variables with a list of
required header files for the build. As such
they should use the .mk filename extension,
just like opus_sources.mk, etc.
2012-04-05 09:23:47 -07:00
Ralph Giles
8779266cf1 Add opus_custom.h to celt_headers.txt.
This file is included unconditionally by celt.h.
As such it's a required part of the build and
should be in the header index files.
2012-04-05 09:19:25 -07: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
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
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
Ralph Giles
215938139e Fix various typing and spelling errors in the draft.
Also regularises some Canadian spelling to US like the rest of
the document.
2011-11-18 13:48:01 -08:00
Jean-Marc Valin
a9d342e61e draft version update 2011-10-31 19:54:33 -04:00
Jean-Marc Valin
0fd87bedcb More last-minute typos 2011-10-31 16:30:58 -04:00
Jean-Marc Valin
18ab935a05 Typos 2011-10-31 16:26:30 -04:00
Jean-Marc Valin
fe5fe9e14b Fixes sha1 of test1_mono 2011-10-31 16:08:51 -04:00
Jean-Marc Valin
2a8e2d8483 draft version/date change 2011-10-31 16:02:12 -04:00
Jean-Marc Valin
57db6c55d0 Test vectors update 2011-10-31 16:00:34 -04:00
Timothy B. Terriberry
917cd6e6ae Minor draft edits. 2011-10-31 14:12:25 -04:00
Jean-Marc Valin
f8fc8f2960 Test vector warning 2011-10-31 13:09:51 -04:00
Jean-Marc Valin
b77c44b46f draft: s/LSb/LSB/ 2011-10-30 16:58:56 -04:00
Jean-Marc Valin
b975a426a0 draft: Better description of the CELT allocation and stereo decisions 2011-10-30 01:40:55 -04:00
Koen Vos
a44e95abd0 SILK encoder description 2011-10-29 21:50:17 -04:00
Jean-Marc Valin
2f3ae499ff oops, bad copy-paste 2011-10-28 23:52:21 -04:00
Jean-Marc Valin
fa3ef8dcda draft wip 2011-10-28 23:13:28 -04:00
Jean-Marc Valin
2d4f614091 test vector wip, nothing to see here 2011-10-28 16:16:35 -04:00
Jean-Marc Valin
ad20dd2f43 Preparing for test vectors 2011-10-28 12:09:00 -04:00
Jean-Marc Valin
84846910c5 draft: CELT encoder description for tf_analysis() and spreading_decision() 2011-10-27 15:34:21 -04:00
Jean-Marc Valin
4923f3f80e Moves the main headers from src/ to include/ 2011-10-26 21:36:57 -04:00
Gregory Maxwell
a5ff49ecdc Renames test_opus to opus_demo and adds the test_opus_api, test_opus_encode, test_opus_decode test programs. 2011-10-26 19:59:49 -04:00
Jean-Marc Valin
d481798ad1 draft: Update to normative/non-normative switching
Making SILK bandwidth changes non-normative when there's no redundancy
2011-10-26 15:47:53 -04:00
Jean-Marc Valin
602fd8a6f8 draft: Moves the high-pass to the Opus encoder to reflect the source code 2011-10-26 11:55:07 -04:00
Jean-Marc Valin
56a3b95343 Adds draft section on "Control Parameters" 2011-10-26 01:23:36 -04:00
Timothy B. Terriberry
a7585a0dd1 More draft edits and additions.
Some clean-up from JM's prior edits, as well as
* Additional clarificatino of TOC sequence restrictions (e.g., if
   you need to decode a length, there must be enough bytes in the
   packet for it, etc.).
* Added a summary of TOC sequence restrictions.
* Added a stereo unmixing section.
* Reworked Delay Compensation section into a general Resampling
   section.
* Further cleanups of switching/transitions, including new diagrams
   for all of the normative and recommended non-normative
   transitions.
2011-10-24 18:38:34 -04:00
Jean-Marc Valin
dbf2ea841e draft: Describing SILK delay compensation 2011-10-19 13:56:34 -04:00
Jean-Marc Valin
cb897c56f2 draft: mode switching details (reset and redundancy cross-fade) 2011-10-19 12:38:53 -04:00
Jean-Marc Valin
9a05688696 Misc corrections to the draft 2011-10-18 14:42:24 -04:00
Jean-Marc Valin
f2d6480f90 Draft text for encoder mode selection 2011-10-17 17:55:59 -04:00
Jean-Marc Valin
ebb1cd16d7 Addressing some comments about the draft and cleaning up COPYING 2011-10-14 16:11:30 -04:00
Timothy B. Terriberry
4bc8c0335b More draft updates.
A number of fixes and additions, including
* Ensure all usage of the word "mode" refer only to the choice of
   SILK/hybrid/CELT, not audio bandwidth, frame size, channel count,
   or anything else.
  There's still a bunch of usage of "mode" in CELT to refer to
   things in the CELTMode struct (e.g., band layout, etc.).
* Document the LSF reordering for silk_NLSF2A_find_poly().
* Document the DC response check during LSF stabilization.
* Fix the excitation scaling to give decoded SILK output in the
   range -1.0...1.0.
* Rewrite the mode-switching section.
  Ironically the title of the section still implies "mode" means
   than just SILK/hybrid/CELT, but I couldn't come up with a
   better one.
* Minor clean-ups to the acknowledgements.
2011-10-13 20:13:09 -04:00
Timothy B. Terriberry
a5e96b8430 More draft updates and additions.
This patch
 * expands sections on LPC and LTP synthesis into something that can
    actually be implemented
 * fixes an error in the excitation reconstruction
 * reverts an erroneous simplification of the subframe gain
    decoding, and
 * updates the LPC gain limiting description to reflect the new,
    more accurate approach for computing the reflection
    coefficients.
It also includes a number of general clean-ups, such as
 * correcting the description of the sample rates various pieces
    run at (e.g., we can decode directly to rates other than 48 kHz)
 * the usage of "sampling rate" vs. "sample rate"
 * capitalization consistency in TOC titles, and
 * better selection of which sections appear in the TOC.
2011-10-06 15:08:44 -04:00
Jean-Marc Valin
6312d9a39b Commenting on the implementation-defined behaviour we rely on 2011-09-27 00:01:08 -04:00
Timothy B. Terriberry
828e33f304 Draft clean-ups and additions. 2011-09-26 23:58:23 -04:00
Benjamin M. Schwartz
a404d4e9d5 Update text regarding PLC and add a new section on clock drift.
The PLC section has been moved from under CELT to the top
level and expanded to cover both SILK and CELT.  The clock drift
text provides some advice and explanation of the new GET_PITCH API.
2011-09-26 23:58:23 -04:00
Jean-Marc Valin
40b954dcf3 minor draft fixes 2011-09-23 23:29:40 -04:00
Jean-Marc Valin
d62f378170 CELT decoder figure, some more acknowledgements 2011-09-23 23:05:21 -04:00
Jean-Marc Valin
363924ee7f Draft build fixes, some more details 2011-09-20 15:15:49 -04:00
Ralph Giles
bd628ab633 Use fold instead of passing a wrap length to base64.
The base64 implementation included with MacOS 10.7 doesn't
support the -w option for wrapping lines. Using the fold
command is more portable.
2011-09-16 22:53:48 -07:00
Jean-Marc Valin
c4ca21fcde Moves opus_compare to the same base64 tar.gz as the rest of the code 2011-09-15 10:10:40 -07:00
Gregory Maxwell
48069bf9bd Documentation and build script updates. 2011-09-15 11:33:18 -04:00
Jean-Marc Valin
c37499090b renames the libcelt/ directory to celt/ 2011-09-13 18:21:18 -07:00
Jean-Marc Valin
5257e3fee8 TF decoding details 2011-09-11 16:12:36 -04:00
Gregory Maxwell
29095379a1 Documentation updates. 2011-09-09 14:24:49 -04:00
Gregory Maxwell
75ff53c70e Adds doxygen documentation for opus_defines.h. 2011-09-08 08:29:45 -04:00
Jean-Marc Valin
f329fa6f0f Multi-stage VQ for SILK is no longer relevant 2011-09-07 23:26:52 -04:00