summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* We no longer need 200 frames to remember 2 secondsexp_24k_analysis4Jean-Marc Valin2016-11-252-2/+2
|
* Fixes a division by zeroJean-Marc Valin2016-11-251-1/+1
|
* Using float2int() in tonality_analysis()Jean-Marc Valin2016-11-241-2/+3
| | | | Slightly faster than floor(.5+x)
* Getting rid of extra_bands[]Jean-Marc Valin2016-11-242-10/+6
|
* RefactoringJean-Marc Valin2016-11-243-155/+114
|
* Adds support for running the analysis on 16 kHz inputJean-Marc Valin2016-11-242-4/+39
|
* Fixes pseudostackJean-Marc Valin2016-11-241-5/+10
|
* Adds support for running analysis on 24 kHz inputJean-Marc Valin2016-11-234-26/+49
|
* Makes analysis run at 24 kHz, with 20-ms framesJean-Marc Valin2016-11-238-149/+337
|
* 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.
* updating update draftJean-Marc Valin2016-10-211-2/+22
|
* Fixing some opus_int vs opus_int32 mismatchesJean-Marc Valin2016-10-057-12/+15
| | | | Reported by Mark Warner.
* Using OPUS_MOVE() instead of OPUS_COPY() to move redundancy bytesJean-Marc Valin2016-09-201-1/+1
| | | | memcpy() aliasing bug caught by Felicia's encoder fuzzing test
* Consider per-channel energy bits in surround_rate_allocation()Jean-Marc Valin2016-09-191-31/+40
| | | | | This should also avoid cases where stereo streams receive fewer bits than mono streams.
* Fixes surround_analysis() for frame size > 20 msJean-Marc Valin2016-09-161-11/+24
|
* Remove float ops from encoder settings fuzzer testFelicia Lim2016-09-161-5/+5
|