Age | Commit message (Collapse) | Author |
|
Also skip the first loss values being generated since they're
biased towards "not lost" due to the initialization.
|
|
|
|
|
|
|
|
Still missing some intrinsics
|
|
Used for DNN matrix multiplies
|
|
Not yet with rtcd
|
|
The optimization is bit-exact with C function.
This optimization speeds up SILK encoder (floating point) as following:
AMD Zen:
Complexity 0-5 : 0%
Complexity 6-7 : 3 - 7%
Complexity 8-10: 8 - 15%
Intel Skylake:
Complexity 0-5 : 0%
Complexity 6-7 : 14 - 18%
Complexity 8-10: 17 - 22%
Adapted by Jean-Marc Valin
|
|
Starting with compute_linear()
|
|
No dependency on the data files if no DNN code enabled
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not used by anything yet
|
|
|
|
|
|
can't link woth libopus since it's already #including C files
|
|
Add unit tests for opus_packet_extensions_count, opus_packet_extensions_parse,
and opus_packet_extensions_generate. Add various assertions for NULL buffers or
negative length arguments. Add explicit check for invalid length in
opus_packet_extensions_count. Check for extension id >127 in
opus_packet_extensions_generate. Check for invalid length input in
opus_packet_extensions_generate.
Signed-off-by: Jean-Marc Valin <jmvalin@amazon.com>
|
|
|
|
|
|
To avoid issues with empty compilation units.
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
Tested on:
- Linux/x86* with gcc
- Android armv7 arm64 x86 x86_64 with clang
- Windows x86 x86_64 with Visual Studio 2017
- Windows x86 x86_64 with MinGW
- macOS x86_64 with clang
- iOS arm64 x86_64 with clang
Co-authored by: Nirbheek Chauhan <nirbheek@centricular.com>
https://gitlab.xiph.org/xiph/opus/-/merge_requests/13
|
|
version parsing
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Add doc/trivial_example.c to the autotools build so we get
some minimal verification that the code compiles.
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Thanks to theislander on HA for reporting this.
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Enables "safes" assertions even with ENABLE_ASSERTIONS isn't set
|
|
OpusProjection* classes
MixingMatrix class
Projection tests
Change-Id: I98644466abf4ffd36e48bdecad1204d69e1539b9
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
We now include the object files for those rather than attempt to
problems.
|
|
The optimization is bit exact with C function.
This optimization speeds up fixed-point SILK encoder on NEON about
5% to 8%. (Tested on Acer Chromebook, ARMv7 Processor rev 3 (v7l).)
Change-Id: I582f6f3585b7946149e16a2ad3084ebc0ae79a4f
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
It checks that no clearly unstable filter passes the LPC_inv_pred_gain()
test. Also, this will make it possible to check assembly for correctness.
Modified from an original patch from Linfeng Zhang <linfengz@google.com>.
|
|
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>
|
|
|
|
Since DLL builds can't include both fixed and float, separate DLL_fixed
configurations added that include fixed silk code and also set FIXED_POINT.
Signed-off-by: Ralph Giles <giles@mozilla.com>
|
|
Run before any other project.
Avoids trying to create and replace version.h more than once which
led to file-locking errors with multicore builds.
Signed-off-by: Ralph Giles <giles@mozilla.com>
|
|
Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
|
|
consistency with x86.
Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
|
|
Thanks to derf for the report.
|
|
Optimize opus encode (float only) usecase using ARM NE10
library. Mainly effects opus_fft and ctl_mdct_forward
and related functions.
This optimization can be used for ARM CPUs that have NEON
VFP unit. This patch only enables optimizations for ARMv7.
Official ARM NE10 library page available at
http://projectne10.github.io/Ne10/
To enable this optimization, use
--enable-intrinsics --with-NE10=<install_prefix>
or
--enable-intrinsics --with-NE10-libraries=<NE10_lib_dir> --with-NE10-includes=<NE10_includes_dir>
Compile time checks made during configure process to make sure
optimization option available only when compiler supports NEON
instrinsics.
Runtime checks made to make sure optimized functions only called
on appropriate hardware.
Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
|