Commit graph

68 commits

Author SHA1 Message Date
Jean-Marc Valin
88f22f2d17 Revert "Adds 3rd clause to CELT license"
This reverts commit 9f407afad6.
2012-05-16 00:29:02 -04:00
Jean-Marc Valin
329112075e Addressing the remaining comments from Robert Sparks 2012-05-10 16:01:45 -04:00
Jean-Marc Valin
ab5a049705 Merge commit '390c89225d' 2012-04-24 13:39:22 -04:00
Jean-Marc Valin
9f407afad6 Adds 3rd clause to CELT license 2012-04-24 01:04:12 -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
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
f40285212c Improve decoder_create documentation.
The parameter descriptions look like they were copied
from encoder_create. Update them for the decode side
and repeat the clarifications about what sample rates
are allowed and what they mean.
2012-04-02 11:21:41 -04:00
Ralph Giles
5f6e472c91 Remove trailing whitespace.
Also fixes a minor typo.
2012-04-02 11:21:36 -04:00
Jean-Marc Valin
59354a7742 Fixes int vs opus_int32 compile errors on C5x 2012-03-08 12:19:35 -05:00
Ralph Giles
873fc5b04b Fix documenation typos.
Doxygen is smart enough to insert a period if the paragraph
before the @see directive, which starts a new section, doesn't
have one. Unfortunately it's not smart enough to convert a
comma to a period. So while the "description, @see foo" idiom
used for the CTL documentation scans well in the header file,
the Doxygen output end up with "description,.\n".

Minimal change to remove the offending commas.
2012-03-05 17:09:54 -08:00
Ralph Giles
1e0ba0f40a Fix typos in the API documentation.
opus_decode() takes a sixth 'enable_fec' option. Naive invocations
shoudl set this to zero.
2012-03-05 17:09:54 -08:00
Vincent Penquerc'h
ab0b5f5ff3 Make input mapping parameter const in multistream API 2012-03-05 19:58:19 -05:00
Gregory Maxwell
e7028175af 40/60ms MDCT/Hybrid were not able to reach maximum bitrate. Now they can.
Also change the packet length in the API from int to opus_int32
because repacketized frames are able to go beyond 32767 bytes
in size.
2012-03-05 17:59:50 -05:00
Ralph Giles
120800f8fa Rename '_FOO' to avoid potentional collisions with reserved identifiers.
C reserves identifiers of the from _[A-Z]+ and we have a number of
those in the code. This patch renames the various function arguments,
MACROS and preprocessor symbols to avoid the reserved form.

It also removes the CHANNELS() macro altogether. This was a
minor optimization for TI DSP to force a mono-only build,
as were the associated local 'const' versions. Since stereo
support is manditory, it wasn't worth keeping.

Thanks to John Ridges for raising the issue, and Jean-Marc Valin
and Greg Maxwell for reviewing the changes.
2011-12-02 12:31:36 -05:00
Ralph Giles
10ebc02ecf Misc documentation fixes (no code change)
We use macros to encapsulate the appropriate type and size
information for the different CTL requests, but the macros
still need to be used with the _ctl() function call and an
encoder or decoder instance structure. As such, just listing
the macro defines is confusing. Adding some examples outside
the OpusEncoder overview page should help with this.

Also document that OPUS_SET_APPLICATION can take
OPUS_APPLICATION_RESTRICTED_LOWDELAY.
2011-11-25 23:25:38 -05:00
Gregory Maxwell
c81b510239 Fix a number of multistream decoder bugs; add some very basic multistream decoder tests. 2011-10-30 02:20:41 -04:00
Jean-Marc Valin
e6a0be8ee6 Makes OPUS_SET_VOICE_RATIO private
Let's put it back in if/when we have a clearer view of voice/music detection
2011-10-27 13:43:43 -04:00
Jean-Marc Valin
4923f3f80e Moves the main headers from src/ to include/ 2011-10-26 21:36:57 -04:00