summaryrefslogtreecommitdiff
path: root/src/opus_multistream_decoder.c
Commit message (Collapse)AuthorAgeFilesLines
* OpusMSDecoder does not have an arch fieldJean-Marc Valin2018-09-101-4/+0
|
* Validate multistream/projection decoder frame_sizeMark Harris2018-07-211-0/+5
|
* Some missing checksJean-Marc Valin2018-03-271-1/+1
|
* Adding multistream decoder validationJean-Marc Valin2018-03-271-0/+16
|
* Fix memory issues in Projection API.Andrew Allen2017-12-071-22/+18
| | | | | | Modified by Jean-Marc Valin Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Support for Channel Mapping 253Andrew Allen2017-11-071-15/+11
| | | | | | | | | OpusProjection* classes MixingMatrix class Projection tests Change-Id: I98644466abf4ffd36e48bdecad1204d69e1539b9 Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Fixing some opus_int vs opus_int32 mismatchesJean-Marc Valin2016-10-051-1/+2
| | | | Reported by Mark Warner.
* Allow disabling phase inversion for multistreamMark Harris2016-09-031-0/+2
| | | | Also clarify in doc that conformance issue relates to decoder only.
* multistream: improve arg checkMark Harris2014-11-271-2/+2
| | | | | | | | | Avoid undefined behavior (signed arithmetic overflow) or implementation-defined behavior (malloc(0)) on out-of-range arguments, e.g. opus_multistream_encoder_create(48000, 2, 2147483647, 1, ...) or opus_multistream_surround_encoder_create(48000, 3, 0, ...). Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* opus_multistream_packet_validate() now called with the total number of streamsMark Harris2013-11-131-1/+1
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* opus_packet_parse_impl() now computes the packet size with paddingJean-Marc Valin2013-10-141-8/+6
| | | | | This should fix decoding of padded multistream packets and (hopefully) multistream fec.
* Cleaning up multistream packet validationJean-Marc Valin2013-10-111-15/+9
|
* Do up-front validation of multistream packetsJean-Marc Valin2013-10-111-0/+46
| | | | | Prevents the decoder from being out-of-sync on an invalid packet. Also returns OPUS_INVALID_PACKET on a corrupted FEC packet.
* Braces go on the next line.Gregory Maxwell2013-06-291-2/+4
|
* Brace a number of if statements instead of one-lining them.Gregory Maxwell2013-06-291-2/+6
|
* Fixes some return without va_end in the api, adds tests.Gregory Maxwell2013-06-291-0/+5
| | | | | Also makes the CTL bad argument handling more consistent to avoid mistakes like that in the future. Also updates the variable duration docs.
* Fix some 16-bit int issues in the multistream API.Timothy B. Terriberry2013-03-181-2/+2
| | | | | With 120 ms frames and 6 or more channels, the total number of samples in the buffer could overflow.
* Applies soft-clipping to the int decoder API.Jean-Marc Valin2013-03-011-6/+7
| | | | | | | | opus_decode() and opus_multistream_decode() now apply soft clipping before converting to 16-bit int. This should produce better a higher quality result than hard clipping like we were doing before. The _float() API isn't affected, but the clipping function is exported so users can manually apply the soft clipping.
* Implements OPUS_GET_LAST_FRAME_DURATION decoder ctl()Jean-Marc Valin2012-12-041-0/+2
|
* Splits out the Opus multi-stream encoder and decoderJean-Marc Valin2012-11-071-0/+485