| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
We now report an error if the PLC frame size is not a multiple of 2.5 ms
and currectly handles the case of CELT PLC when the size isn't a multiple
of 20 ms.
|
| | |
|
| |
|
|
|
| |
Instead of using the average energy over the frame, we use a half-way
point between the average energy and the max energy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Passing 'enable' as an argument to AM_MAINTAINER_MODE flips the
default to enabled, rather than disabled until automake 1.11.
This is a safer default for a developer-oriented library.
./configure --disable-maintainer-mode is still available for
packagers who what to preserve the upstream build distribution.
On earlier automake versions, the argument appears to have no
effect, so there is no behaviour change for developers using
older autotools.
Based on a patch for opusfile by ron@debian.org.
|
| |
|
|
|
|
| |
Remove two now redundant zeroing loops
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
| |
|
|
|
| |
Makefile.draft got renamed to Makefile.unix in e91dfa0f, but
build_draft.sh was not updated.
|
| |
|
|
| |
shorter dependencies
|
| | |
|
| | |
|
| |
|
|
| |
Also, moves the dynalloc code to a separate function
|
| |
|
|
|
|
|
|
|
|
|
|
| |
These files has unix line endings, while the other
project files have dos line endings.
I hoped this would fix the link error about corrupt
or invalid files with these projects, but it doesn't.
Running 'Update project files...' in the VS2012 IDE
is a work around, but it just adds a <PlatformToolset>
element to each <PropertyGroup> and a line ending at
the end of the file.
|
| |
|
|
|
|
|
|
|
| |
Commits ae0e2ca8 and 6906210c split encode and decode
support into separate files to help reduce the footprint
of decode-only builds.
This commit adds the new source files to the MSVC
project files, fixing that build.
|
| | |
|
| |
|
|
|
|
|
|
| |
Naive builders, particular on Windows without git installed,
would get builds calling themselves 1.0.1 even though master
has diverged significantly from the 1.0.x series at this point.
We should update this file both before and after release.
|
| | |
|
| |
|
|
|
| |
max_decay was being computed based on the small number of bits allocated
to CELT. It's now set to the max value (16) when in hybrid mode.
|
| |
|
|
| |
Also forces SPREAD_NORMAL in hybrid mode
|
| |
|
|
|
| |
This prevents issues on speech where tf would undo what transient_analysis()
found
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
No need to allocate for the low-band
|
| |
|
|
| |
Reduce size of "norm" because we never need it for the last band
|
| | |
|
| | |
|
| |
|
|
|
| |
Delays stack allocations as much as possible, and makes some of these
allocations conditional.
|
| |
|
|
|
|
| |
Doing the overlap coying in the same OPUS_MOVE() as the rest of the synthesis
memory. Also, there was a missing OPUS_MOVE() in the PLC for the hybrid/CNG
case.
|
| |
|
|
|
|
|
|
|
| |
Use the output buffer directly for imdct output, avoiding use of an
intermediary buffer and copying from it. This works because the output
buffer is offset to always be continous with the overlap buffer in the
decoder. Adjust encoder resynth code to have the same buffer layout.
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
| |
|
|
| |
It should now validate with the Python version of the xml2rfc tool.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This one is explicitly based on a simple temporal masking model
|
| |
|
|
| |
noticing.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As reported by Mark Warner opus_multistream_*_create were depending on
the behavior of malloc(0) in order to correctly report some kinds of
argument errors. Bad arguments could be incorrectly reported as
allocation failures. This changes multistream to explicitly check the
arguments like the single stream _create functions. The unit tests were
enough to catch this on systems where malloc(0) returns NULL but didn't
catch it on other systems because the later _init call would catch the
bad arguments and trigger the correct error if and only if the malloc
didn't return a null pointer.
In multistream_encoder_init failures of the internal non-multistream
init calls were not being caught and propagated. Decode didn't have
this problem. This propagates the errors and adds additional tests
(the multistream encoder api is sill under tested) that would have
detected this error.
Plus add some stronger tests for things like error==NULL for the _create
functions that take a pointer for error output.
|
| | |
|
| |
|
|
|
| |
Removed a bunch of if()s from the loops and made the compiler life's
easier by moving some pointer accesses outside the loops.
|
| | |
|
| |
|
|
| |
mode->eBands[]
|