summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoids undefined behaviour in ARM-optimized codeJean-Marc Valin2017-01-255-25/+40
| | | | Casting to unsigned to avoid shifting negative values left.
* Add --enable-check-asmFelicia Lim2017-01-231-1/+11
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Update NSQ_LPC_BUF_LENGTH macroLinfeng Zhang2017-01-231-4/+0
| | | | | | NSQ_LPC_BUF_LENGTH is independent of DECISION_DELAY. Signed-off-by: Felicia Lim <flim@google.com>
* configure: Improve error messagev1.2-alpha2Mark Harris2017-01-181-1/+1
|
* Add FIXED_POINT check if using celt_fir in SILK's LPC analysis filterFelicia Lim2017-01-171-2/+2
| | | | Use of celt_fir remains off by default
* Revise celt_fir_c() to not pass in argument "mem"Linfeng Zhang2017-01-177-83/+36
| | | | | | | | The "mem" in celt_fir_c() either is contained in the head of input "x" in reverse order already, or can be easily attached to the head of "x" before calling the function. Removing argument "mem" can eliminate the redundant buffer copies inside. Update celt_fir_sse4_1() accordingly.
* fixed_debug.h: delete some dead codeJames Zern2017-01-121-3/+0
| | | | | | this has the side-effect of removing some C++ style comments Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Fix error messageChris Rudmin2017-01-091-1/+1
| | | | Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
* Avoids pre-echo in hybrid mode caused by noise being injected in the first bandJean-Marc Valin2017-01-051-0/+20
| | | | | | | | | This could happen when we had more than 32 bits on the first hybrid band with a transient just in the middle of the frame. The band would be split and the first half of the frame could end up with non-zero energy, but not enough bits for a pulse. Because it's the first band, no folding would be possible. This would cause noise to be injected for the entire duration of the first half and that noise should then get folded to higher bands.
* Fix some compiler warningsMark Harris2016-12-223-8/+4
|
* Makes analysis run at 24 kHz, with 20-ms framesJean-Marc Valin2016-12-207-209/+407
| | | | | | | The change also makes the analysis run for sampling rates of 16 kHz and 24 kHz since the features are only computed on the 0-8 kHz band. The longer time window (20 ms instead of 10 ms) makes the tonality estimator more reliable for low-pitch harmonics.
* update draft: oops, fixes use of "above"Jean-Marc Valin2016-12-191-3/+3
|
* Update draft: addressing WGLC commentsJean-Marc Valin2016-12-192-16/+267
|
* opus_demo: remove obsolete option from usageMark Harris2016-12-171-1/+0
|
* Adding a missing "else"Jean-Marc Valin2016-12-161-1/+1
| | | | Thanks to Zhendong Wu for spotting the issue
* genversion.bat: generate same version as update_versionRicardo Constantino2016-11-174-21/+8
| | | | | | | | | | | | | | Remove version.mk and references to it in the repo. genversion.bat will now generate the same version strings as update_version script, i.e. without 'v' prefix and without a fallback if git archive is used. If run from a release tarball it'll use package_version, like configure. If run from a git repo, it will use the same 'git describe' with '-dirty' as update_version. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Correct SILK encoder gain limitMark Harris2016-11-162-0/+38
| | | | | | | Ensure that the SILK encoder's log gain is 63, not 64, when encoding a maximum-value delta gain index of 40. This matches the decoder and RFC 6716 4.2.7.4, and prevents an assertion failure in the rare case that the gain is later independently coded.
* vs2015: reenable DebugDLL versions of opus_demoRicardo Constantino2016-11-101-0/+4
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* Remove SILK_DEBUG define when _WIN32 and _DEBUG are defined.Ralph Giles2016-11-101-17/+4
| | | | | This was just enabling commented-out code, setting a fixed default removes dead code.
* Remove commented-out DEBUG_STORE_DATA calls. r=keonRalph Giles2016-11-106-8/+0
| | | | | | | | | | | | | | Also remove the SILK_DEBUG_STORE_CLOSE_FILES flush call from opus_demo. This is debugging code which is no longer used, but defining the symbols for SILK_DEBUG_STORE_CLOSE_FILES and calling it from opus_demo causes linking problems on Microsoft Visual Studio where we have strict controls on public symbols and want to test the compiled DLL. Since the code isn't in active use, it's better to remove it to avoid clutter and address the linking issue.
* appveyor: don't leave artifacts under a subdirRicardo Constantino2016-11-101-1/+1
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* appveyor: pack interesting files too, not just libRicardo Constantino2016-11-101-1/+10
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* Remove redundant codeMark Harris2016-11-052-26/+3
| | | | | | frame_size_select() ensures that frame_size is a valid size or -1, !st->variable_duration is always false, and delay_compensation is no longer needed to choose the frame size.
* Fix crash on bad encoder frame_size argumentMark Harris2016-11-052-2/+11
|
* Removes OPUS_FRAMESIZE_VARIABLEJean-Marc Valin2016-11-048-370/+30
| | | | That experiment never actually worked
* vs2015: Add missing file to test_opus_encode.Ricardo Constantino2016-11-032-0/+4
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* Adds checksum for 1.2-alphaJean-Marc Valin2016-11-031-0/+1
|
* Improves CELT bit allocation at very low bitratesv1.2-alphaJean-Marc Valin2016-11-021-3/+8
| | | | | We now try not to fold below band 17 since that produces a lot of harshness. This mostly helps around 32-40 kb/s.
* Eliminate trailing spacesMark Harris2016-11-023-15/+15
|
* Reduce redundancy when SILK uses too many bitsMark Harris2016-11-022-24/+45
| | | | | | | | Fix Hybrid redundancy assertion failure in ec_enc_shrink(), even if SILK produces more than maxBits, by reducing or eliminating redundancy when necessary. Don't reserve space for redundancy that is too small to be used for redundancy. When there is not enough space for redundancy, allow the regular frame to use all the bits.
* Fix redundancy on SILK 80+ms bandwidth switchMark Harris2016-11-021-20/+17
| | | | | | With packets of 80 ms or more, a SILK bandwidth switch was missing the second half of the redundancy, because st->silk_bw_switch was cleared too early before any recursive calls.
* Add copyright notice to autogen.sh to make the Chromium people happyJean-Marc Valin2016-11-011-0/+4
|
* Fixes NE10 configure problemJean-Marc Valin2016-11-011-2/+2
| | | | As reported by agatx in https://trac.xiph.org/ticket/2291
* Temporarily disable -Wnonnull around an opus_decode() call in test_opus_decode.cJean-Marc Valin2016-11-011-0/+7
| | | | Reported by wtchang in trac: https://trac.xiph.org/ticket/2160
* Bump static PACKAGE_VERSION string in version.mkJean-Marc Valin2016-10-311-1/+1
|
* Fix amount of extra bytes reserved for 100 msFelicia Lim2016-10-311-2/+2
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Don't use hybrid "weak transients" on vowelsJean-Marc Valin2016-10-291-4/+8
|
* Adds opus_encode_regressions.c to the MIPS MakefileJean-Marc Valin2016-10-291-1/+1
|
* Adds opus_encode_regressions.c to the UNIX MakefileJean-Marc Valin2016-10-291-1/+1
|
* New regression test from Mark's fuzzing test casesJean-Marc Valin2016-10-294-1/+967
|
* Define "weak transients" for low bitrate hybridJean-Marc Valin2016-10-281-3/+19
| | | | These rely on TF rather than short windows to avoid partial collapse.
* Multistream encoder: allocate an extra byte per stream for 100 msFelicia Lim2016-10-281-0/+6
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Fix CBR packet sizes for 80 msFelicia Lim2016-10-281-5/+4
| | | | | | Also clean up comments from the last patches Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Update bandwidth and opusCanSwitch before generating SILK DTX ToCFelicia Lim2016-10-272-13/+10
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Encode correct headers when asking for very small output bytes and using ↵Felicia Lim2016-10-271-3/+47
| | | | | | long frames Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Support encoding 80/100/120 ms frame lengthsFelicia Lim2016-10-276-59/+136
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Move multiframe encoding into a separate functionFelicia Lim2016-10-271-61/+101
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Fixes an unstable energy issue for low-bitrate hybridJean-Marc Valin2016-10-271-4/+23
| | | | | | The transient detector would trigger on low-pitch vowels, but we didn't have enough bits to properly code the high bands as a transient, resulting in partial collapse and unstable energy.
* Make use of dot optional in generating documentation.Ralph Giles2016-10-272-0/+16
| | | | | | | | | | | | | Different distributions of doxygen have different default values of HAVE_DOT setting, so we need to pick a specific setting to avoid 'missing dot' warnings on some platforms. Doxygen uses it to generate inclusion graphs for our various header files, which is somewhat useful, but not essential. We therefore enable dot if it's present (usually through the parent graphviz package) but disable it if it's not available, silencing the warning, but not giving uniform results.
* Account for redundancy signalling when computing st->silk_mode.maxBitsJean-Marc Valin2016-10-271-4/+11
| | | | | | Without that, we could bust the budget and end up with the if (ec_tell(&enc) <= 8*nb_compr_bytes) being false, followed by an assert failure later.