- May 10, 2013
-
-
Ron authored
There's currently at least one way that people can legitimately get a tarball that doesn't include it, via the gitweb snapshots, so create it rather than considering that an error to be manually fixed.
-
Ralph Giles authored
This replaces the OPUS_VERSION removed by ron's auto-updater.
-
Ron authored
Drop some unneeded CINCLUDES. Drop the VPATH stuff altogether. It's entirely unused here, and some of the paths in it don't even exist and apparently never have in this tree. Drop the 'default' rule, without it there, 'all' already is the default. Drop $(TARGET) from all, it already includes 'lib' which is $(TARGET). Declare phony targets PHONY.
-
Ron authored
This one meets or exceeds the following requirements: - Version is checked/updated for every build action when in the git repo. Does not require the user to re- ./configure to get the correct version. - Version is not updated automatically when using exported tarball source. Avoids accidentally getting a wrong version from some other git repo in a parent directory of the source, and allows setting the correct version for distro package exports. - Automatic updating can be manually suppressed. For developers doing lots of change/rebuild cycles they don't plan to release, when they don't want a full rebuild triggered for every commit, and again for every change made immediately after a commit. The version will still always be updated if they do a `make dist`. - Does not require any manual updating of versions in the mainline git repo for each release aside from normal tagging. The version is recorded in one file only, that is automatically generated and will never need to be committed. - Does not require gnu-make features for the autoconf builds. It does not currently: - Keep a checksum of every source file in tarball releases to mangle the version if people modify the tarball source. Responsible people can manually update the version easily though in such cases. The version.mk file is now only used by the VC project files. Once they are updated to use the package_version file too, then it can be deleted from the repository.
-
- May 09, 2013
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
We stop the schur recursion before any reflection coefficient goes outside of ]-1,1[ and we force reporting a residual energy of at least 1. Assertion was: Fatal (internal) error in ../silk/fixed/noise_shape_analysis_FIX.c, line 290: assertion failed: nrg >= 0 triggered by: opus_demo voip 16000 1 12500 -bandwidth WB -complexity 10 pl04f087.stp-crash out.pcm
-
- May 08, 2013
-
-
Timothy B. Terriberry authored
silk_setup_resamples() was using x_bufFIX for two purposes, and I only allocated enough space for one of them. This patch also switches to slightly more descriptive variable names than nSamples_temp and computes the resampler input/ouput sizes in a way that a little more obviously doesn't have issues with fractional samples (and replaces a divide with a variable divisor by one with a constant divisor).
-
Timothy B. Terriberry authored
This makes all remaining large stack allocations use the vararray macros. This continues the work of 6f2d9f50 to allow compiling with NONTHREADSAFE_PSEUDOSTACK to move the memory for large buffers off the stack for devices where it is very limited. It also does this for some additional large buffers used by the PLC in the decoder.
-
Timothy B. Terriberry authored
1) The memcpy's were using sizeof(opus_int32), but the type of the local buffer was opus_int16. 2) Because the size was wrong, this potentially allowed the source and destination regions of the memcpy overlap. I _believe_ that nSamplesIn is at least fs_in_khZ, which is at least 8. Since RESAMPLER_ORDER_FIR_12 is only 8, I don't think that's a problem once you fix the type size. 3) The size of the buffer used RESAMPLER_MAX_BATCH_SIZE_IN, but the data stored in it was actually _twice_ the input batch size (nSamplesIn<<1). Because this never blew up in testing, I suspect that in practice the batch sizes are reasonable enough that none of these things was ever a problem, but proving that seems non-obvious. This patch just converts the whole thing to use CELT's vararrays. This fixes the buffer size problems (since we allocate a buffer with the actual size we use) and gets these large buffers off the stack on devices using the pseudo-stack. It also fixes the memcpy problems by changing the sizeof to opus_int16. It turns out sFIR, which saved state between calls, was being used elsewhere as opus_int32, so this converts it to a union to make this sharing explicit.
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
You can't use /* within a comment.
-
- May 06, 2013
-
-
Release date based on directory timestamps in https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/20.0/
-
- May 05, 2013
-
-
Jean-Marc Valin authored
Problem found using valgrind.
-
- Apr 23, 2013
-
-
Jean-Marc Valin authored
This left FEC disabled on the decoder side for all cases except concatenated packets. Also fixes a FEC bug in opus_demo (wrong output buffer size calculation).
-
- Apr 20, 2013
-
-
Jean-Marc Valin authored
Also fixes uninitialized value in previous commit.
-
- Apr 19, 2013
-
-
Jean-Marc Valin authored
- Properly apply the transient boost by counting all the bits in the cost - Disable the post-filter for non-20-ms frames that follow a transient (applies only to variable framesize)
-
- Apr 15, 2013
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
The energy calculation from the packed FFTs ended up reading out-of-bound memory for frequency zero. The bug was exposed by c5e04e4a.
-
- Apr 06, 2013
-
-
Gregory Maxwell authored
-
- Mar 18, 2013
-
-
Timothy B. Terriberry authored
With 120 ms frames and 6 or more channels, the total number of samples in the buffer could overflow.
-
Jean-Marc Valin authored
-
- Mar 13, 2013
-
-
Ralph Giles authored
This causes warnings with the ALLOC() macro.
-
- Mar 12, 2013
-
-
Jean-Marc Valin authored
The original code was causing parts of a sine sweep to be completely dropped due to the 300 Hz margin and the hysteresis. Also, fixes scaling for the analysis downmix when the input is 16-bit PCM.
-
- Mar 11, 2013
-
-
Jean-Marc Valin authored
We weren't doing the prefilling for SILK->SILK transitions.
-
Ralph Giles authored
We keep accidentally adding these which break the -pedantic build, so complain about it in the normal build. Also de-duplicate the warning list.
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Jean-Marc Valin authored
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Signed-off-by:
Jean-Marc Valin <jmvalin@jmvalin.ca>
-
Jean-Marc Valin authored
Using this to change the encoder based on mono/stereo rather than looking at the number of input channels.
-
- Mar 08, 2013
-
-
Jean-Marc Valin authored
Conflicts: celt/celt_encoder.c
-
Jean-Marc Valin authored
This not only avoids sudden changes in audio quality, but also increases quality when we don't have enough bits to code a wide stereo image.
-
- Mar 07, 2013
-
-
Jean-Marc Valin authored
Improved version of: https://github.com/berkus/mettanode/commit/f44b28ab56ce8afa4b9d8c7460b184197519281c
-
- Mar 05, 2013
-
-
Quiets: warning: this decimal constant is unsigned only in ISO C90 when building with e.g., gcc -m32 -std=gnu90
-
- Mar 01, 2013
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
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.
-
- Feb 28, 2013
-
-
Jean-Marc Valin authored
This is done using an adaptive beta and an estimate of the speech and music detection confidence
-
- Feb 22, 2013
-
-
Jean-Marc Valin authored
Avoids biasing the decision when it's all silence/noise.
-
- Feb 21, 2013
-
-
Jean-Marc Valin authored
-
- Feb 20, 2013
-
-
Jean-Marc Valin authored
Variable duration option renamed to OPUS_SET_EXPERT_FRAME_DURATION, with new API. Also moves up the analysis to avoid having to do int->float conversion on large buffers.
-