summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump LT version numbersv1.3Jean-Marc Valin2018-10-161-3/+3
| | | | We're adding the ambisonics API
* Proper detection of _mm_cvtss_si32 for MS compilerPavel P2018-10-161-1/+1
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Renaming compute_allocation to clt_compute_allocation() to avoid symbol clashesJean-Marc Valin2018-10-164-4/+4
| | | | As suggested in https://github.com/xiph/opus/pull/83
* Prevent the SILK counter from overflowing after 2 years and 9 monthsJean-Marc Valin2018-09-261-3/+2
| | | | | | | or "just" 1 year and 4 months for 10-ms frames. The overflow can eventually cause a divide-by-zero when counter == -16 Thanks to Dmitry Malinin for reporting the bug.
* Retrain RNN classifier weights to include reverberated speechJean-Marc Valin2018-09-252-627/+625
|
* Fixes packet parsing for 16-bit CPUsv1.3-rc2Jean-Marc Valin2018-09-141-1/+1
| | | | | | | Without that change, a very long (> 682 ms) illegal packet could trigger a wrap-around in the test and be accepted as valid. Only 16-bit architectures (e.g. TI C5x) were affected.
* Clarify configure --helpJean-Marc Valin2018-09-141-2/+2
|
* Update ISO Base Media Format draft to version 0.8.1.Ralph Giles2018-09-121-100/+108
| | | | | - Switch to 'Opus' file type identification. - Revise channel mapping to better support ambisonics.
* Avoiding get_demixing_matrix() symbol clash on unified buildJean-Marc Valin2018-09-102-8/+8
|
* OpusMSDecoder does not have an arch fieldJean-Marc Valin2018-09-101-4/+0
|
* Add include/opus_projection.h to opus_headers.mkJean-Marc Valin2018-09-061-0/+1
|
* Apply equal bit allocation to ambisonic channelsMarcin Gorzel2018-08-311-51/+6
| | | | | | Fixes issue #95 on GitHub. Signed-off-by: Felicia Lim <flim@google.com>
* Work around VS2015 internal compiler errorstagingMark Harris2018-07-281-3/+3
| | | | | | | | | | | The error was: c:\projects\opus\celt\celt_encoder.c(1019): fatal error C1001: An internal error has occurred in the compiler. [C:\projects\opus\win32\VS2015\opus.vcxproj] (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 255) To work around this problem, try simplifying or changing the program near the locations listed above. Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe. You will be prompted to send an error report to Microsoft later.
* Fixing arithmetic problems for 16-bit CPUs in ambisonics_rate_allocation()Jean-Marc Valin2018-07-281-5/+5
|
* Fix bitrate allocation for channel mapping 2Felicia Lim2018-07-281-1/+3
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* win32: Add ambisonics sources to VS projectJoshua Bowman2018-07-262-0/+20
| | | | | | | [mark.hsj: Add other missing files and update filter file] Signed-off-by: Mark Harris <mark.hsj@gmail.com> Fixes https://github.com/xiph/libopusenc/issues/9 Fixes https://github.com/xiph/opus-tools/issues/32
* Fixes C90 "mixed declarations and code" errorJean-Marc Valin2018-07-261-1/+1
|
* Remove ambisonics experimental flagJean-Marc Valin2018-07-268-246/+1
|
* Enable ambisonics by defaultJean-Marc Valin2018-07-261-1/+1
|
* Enable hardening by defaultJean-Marc Valin2018-07-261-1/+1
|
* Fix comma that should have been a semicolonJean-Marc Valin2018-07-261-1/+1
| | | | | Didn't cause any problem, but still good to fix. Reported by keithchugg on github.
* oopsJean-Marc Valin2018-07-261-2/+2
|
* Use ambisonics families 2 and 3 instead of 254 and 253Jean-Marc Valin2018-07-252-5/+5
|
* Validate multistream/projection decoder frame_sizeMark Harris2018-07-212-0/+7
|
* Silence compiler warningsMark Harris2018-07-216-46/+54
| | | | | | | clang -Wcast-align warnings with ambisonics enabled clang -Wnull-pointer-arithmetic warnings in test_opus_api.c gcc -Wimplicit-fallthrough warnings on arm msvc warning C4244 in celt_encoder.c with fixed point
* Make bandwidth detection more conservative to avoid low-passing framesJean-Marc Valin2018-06-141-0/+16
|
* update checksumsJean-Marc Valin2018-06-011-0/+2
|
* Avoiding arithmetic on NULL pointerv1.3-rcJean-Marc Valin2018-05-291-2/+0
| | | | | Causes a warning with -Wnull-pointer-arithmetic and the code wasn't doing anything anyway (the ctl call ignores NULLs)
* Avoiding leaks when opus_demo exits with an errorJean-Marc Valin2018-05-291-46/+36
| | | | | This gets rid of false positives in static analysis (see https://trac.webkit.org/changeset/232236/webkit)
* Fix DISABLE_FLOAT_API unused parameter warningMark Harris2018-05-281-0/+2
|
* Only call isqrt32() with a positive argumentMark Harris2018-05-283-7/+12
| | | | Fixes test_opus_projection failure under ubsan, due to clz(0).
* Switch from narrowband to wideband at 9 kb/s, don't use mediumbandexp_bandwidth_fix4Jean-Marc Valin2018-05-241-8/+12
|
* Fix decision thresholds for larger frame sizesexp_bandwidth_fix3Jean-Marc Valin2018-05-241-1/+2
| | | | Don't assume that frames larger than 20 ms save any overhead compared to 20 ms.
* Fixes a SILK bandwidth switching regressionJean-Marc Valin2018-05-244-7/+27
| | | | | | | The bug was triggered because f982b84d started using prefill for SILK bandwidth changes, which reinitialized the encoder state and prevented the variable lowpass from working properly. To fix the problem, we preserve the sampling rate and variable low-pass when prefilling.
* Improving rate control for low bitrateJean-Marc Valin2018-05-174-53/+70
| | | | | | Using a finer table for the rate to SNR curves in silk_control_SNR(). It's now possible to have an SNR that reaches 0, so we can lower bitrate down to ~5 kbps for narrowband and 5.5 kbps for wideband.
* Oops, fix NaN testJean-Marc Valin2018-05-171-1/+1
|
* Aborting on NaN in CELTJean-Marc Valin2018-05-152-0/+11
| | | | | | NaNs should be filtered at the Opus layer, so if there are any in the CELT encoder, then it's likely something went horribly wrong (e.g. corrupted state). In that case, better abort than have something bad happen.
* Silk makes use of Opus VADGustaf Ullberg2018-05-148-12/+44
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* README: Update to reflect RFC 7845 and 8251Mark Harris2018-05-061-5/+5
|
* Fix opus_packet_parse() non-null arg attributeMark Harris2018-05-031-1/+1
| | | | It is the size array that must be non-null.
* two more asserts I forgotJean-Marc Valin2018-03-272-1/+2
|
* Misc assertion cleanupJean-Marc Valin2018-03-272-3/+4
|
* Harden SILK x86 codeJean-Marc Valin2018-03-275-9/+9
|
* Hardening silk/fixedJean-Marc Valin2018-03-2712-38/+38
|
* Hardening asserts for SILK floatJean-Marc Valin2018-03-2711-32/+32
|
* Converting some silk_assert()s into hardening celt_assert()sJean-Marc Valin2018-03-2729-96/+96
| | | | | Only converted the ones that are really sure (not signal-dependent) and that shouldn't add much run-time complexity
* Some missing checksJean-Marc Valin2018-03-272-1/+3
|
* Adding multistream decoder validationJean-Marc Valin2018-03-271-0/+16
|
* Asserting on some ctl() calls that should never failJean-Marc Valin2018-03-272-14/+16
|
* Adds Opus decoder state validationJean-Marc Valin2018-03-271-0/+21
|