Commit graph

13 commits

Author SHA1 Message Date
Jean-Marc Valin
1504d2d4aa
Fix C90-related warnings 2022-07-09 03:15:18 -04:00
Mark Harris
9aebd7e03d
Free all allocated memory in unit tests 2017-06-13 21:26:08 -07:00
Jean-Marc Valin
4507637ccc
Fixes unit tests that need arch-specific code
We now include the object files for those rather than attempt to
problems.
2017-05-25 19:30:59 -04:00
Jean-Marc Valin
6fa8563244 Fixes memory leak in some CELT unit tests
Reported in https://trac.xiph.org/ticket/2241
2015-12-04 14:35:18 -05:00
Jonathan Lennox
19677f6b06 Fix unit tests on ARM without RTCD (e.g. aarch64 or iOS). 2015-11-02 18:56:13 -08:00
Viswanath Puttagunta
ba8713ccb5 armv7: Optimize fixed point FFT using NE10 library
Uses NEON optimized fixed point FFT routines in NE10 library.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
2015-10-07 18:09:20 -04:00
Viswanath Puttagunta
3807af3b3b test_unit_dft: Add nfft = 60, 240, 480 tests
Signed-off-by: Viswanath Puttagunta <viswanath.puttagunta@linaro.org>
Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
2015-10-07 18:09:20 -04:00
Viswanath Puttagunta
19c5406cde armv7(float): Optimize decode usecase using NE10 library
Optimize opus decode (float only) use case using ARM NE10.
Mainly effects opus_ifft and ctl_mdct_backward and related
functions.

Work based on previous Encode optimization using ARM NE10
library. See previous commit for details on how to enable
this.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
2015-10-07 18:09:20 -04:00
Viswanath Puttagunta
f48abe8308 armv7(float): Optimize encode usecase using NE10 library
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>
2015-10-07 18:09:20 -04:00
Jean-Marc Valin
2e26b82ec2 Moves the bitrev step to the IMDCT pre-rotation 2013-12-20 23:13:29 -05:00
Jean-Marc Valin
00898f2091 Adds missing license headers on some scripts and test files 2012-10-30 01:26:36 -04:00
Ralph Giles
cb3cc53014 Fix --enable-fixed-point-debug.
Use the celt_mips defined in fixed_debug.h from the unit tests
by defining CELT_C earlier. We must export celt_mips so it can
be used by clients calling the library, like opus_custom_demo.
2012-03-05 17:09:53 -08:00
Gregory Maxwell
9652f81eb9 Test cleanups and renaming.
Build tests in the tests/ directory instead of top, cleanup, rename,
and eliminate recursive make for the celt/ unit tests.
2011-10-27 06:27:13 -04:00
Renamed from celt/tests/dft-test.c (Browse further)