summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Always use the max of the decaying PLC energy and the background noisecng_fix2Jean-Marc Valin2015-12-031-16/+9
| | | | Should no longer cause discontinuities in the noise after 5 packets
* Fixes the transient detector on silenceJean-Marc Valin2015-12-031-2/+2
| | | | | Previously silence would cause the divide approximation on 0/0 to return a very large value, which would be interpreted as a transient
* Oops, fixes max_decay for LFE in fixed-pointexp_lbr_tune1Jean-Marc Valin2015-11-281-1/+1
|
* Quality: Encoding music in full-band stereo from 32 kb/sJean-Marc Valin2015-11-271-5/+5
| | | | Gradual downmix now happens in the 24 kb/s to 32 kb/s range
* Quality: removes VBR attenuation at low bitrateJean-Marc Valin2015-11-271-11/+4
| | | | Turns out that even low bitrates benefit from VBR
* update sha256 in repoJean-Marc Valin2015-11-261-0/+2
|
* bump libtool revisionJean-Marc Valin2015-11-261-1/+1
|
* oggopus: Fix spellingMark Harris2015-11-241-13/+13
|
* Bump draft version and date for submission.Timothy B. Terriberry2015-11-231-2/+2
|
* Additional edits from Mark Harris.Timothy B. Terriberry2015-11-231-10/+10
|
* Address remaining document shepherd review comments.Timothy B. Terriberry2015-11-231-65/+61
| | | | | | | Also remove most <preamble>/<postamble> usage for expository text, as most places center the result, which looks ugly (only local xml2rfc HTML output does not center: tools.ietf.org HTML output still does, as does the .txt version).
* Remove normative references to encoder or decoder.Timothy B. Terriberry2015-11-231-78/+82
| | | | | To avoid confusion with an RFC 6716 encoder/decoder. No part of this document is intended to update RFC 6716.
* Fix x86 build if we presume SSE4.1 (and earlier), but not AVX.Jonathan Lennox2015-11-222-2/+4
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* oggopus: further cleanup in response to review.Ralph Giles2015-11-171-10/+15
|
* oggopus: Add IANA considerations.Ralph Giles2015-11-171-1/+10
| | | | | I *think* all we need to do is document this and the RFC editors will take care of it.
* oggopus: Add Opus RTP as an informative reference.Ralph Giles2015-11-171-0/+3
| | | | | | | We mention this in the description of Channel Mapping Family 0. Might as well link to RFC 7587. Review comment from Mo Zanaty.
* oggopus: remove <spanx style="strong"> markup.Ralph Giles2015-11-171-24/+18
| | | | | | | | This improves readability in the xml2rfc html output, but generates Markdown-style *bold* in the txt output, and more importantly in the nroff-like html output of the tools.ietf.org toolchain, which Mo Zanaty and some in IRC objected to.
* oggopus: Consolidate granulepos description.Ralph Giles2015-11-161-2/+12
| | | | Based on Mo Zanaty's review comments.
* oggopus: Convert mentions of 'encoder' to 'muxer'.Ralph Giles2015-11-161-9/+9
| | | | | | | Response to comments from Mo Zanaty. Using "muxer/demuxer" really isn't less ambiguous than "encoder/decoder" but does help distinguish between this draft and a 'codec encoder/decoder' described by the Opus RFC.
* Adding AVX config switchesRadu Velea2015-11-055-3/+64
| | | | Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
* Naming convention for AVXRadu Velea2015-11-051-0/+6
| | | | Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
* Suppress generation of comb_filter_const_c when not used; avoid warning.Jonathan Lennox2015-11-031-0/+2
|
* Fix unit tests on ARM without RTCD (e.g. aarch64 or iOS).Jonathan Lennox2015-11-024-8/+4
|
* Declare silk_warped_LPC_analysis_filter_FIX_c in silk/fixed/main_FIX.h.Jonathan Lennox2015-11-022-0/+13
| | | | Fixes build failure on platforms with MAY_HAVE_SSE4_1 (but not PRESUME_SSE4_1) with --enable-intrinsics.
* Updating links for both https and new versionsv1.1.1-rcMark Harris2015-10-233-13/+13
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Corrections to docMark Harris2015-10-231-10/+21
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* configure: Remove empty else clauses from AS_IFTimothy B. Terriberry2015-10-161-3/+3
| | | | | | | | | | | These were causing "syntax error near unexpected token `fi'" in the generated configure on some systems, because they produced an else fi with no commands between the two.
* Adds "arch" argument to MIPS MDCTRhishikesh Agashe2015-10-081-2/+7
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Fix dump_modes output for fixed-point NE10.Timothy B. Terriberry2015-10-073-24/+10
| | | | | | | | Some of the fields present in NE10's float state struct are not present in the fixed-point version, but we were generating initializers for them anyway. Also, the float modes were not up-to-date with the output of dump_modes.
* armv7: Enable NE10's fixed-point FFT for the MDCTViswanath Puttagunta2015-10-074-32/+27
| | | | | | | Extends usage of NEON optimized fixed-point FFT optimizations in libNE10 to clt_mdct_forward and clt_mdct_backward. Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
* armv7: Optimize fixed point FFT using NE10 libraryViswanath Puttagunta2015-10-0715-114/+587
| | | | | | Uses NEON optimized fixed point FFT routines in NE10 library. Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
* test_unit_dft: Add nfft = 60, 240, 480 testsViswanath Puttagunta2015-10-071-0/+6
| | | | | Signed-off-by: Viswanath Puttagunta <viswanath.puttagunta@linaro.org> Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
* armv7(float): Optimize decode usecase using NE10 libraryViswanath Puttagunta2015-10-0713-19/+211
| | | | | | | | | | | | 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>
* armv7(float): Optimize encode usecase using NE10 libraryViswanath Puttagunta2015-10-0731-143/+1492
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Move the external ARM asm to a separate library.Timothy B. Terriberry2015-10-071-7/+7
| | | | | | | | This library is linked statically with libopus.so, so nothing changes on an installed system. This merely simplifies linking in the unit tests. Based in part on a patch originally by Viswanath Puttagunta <viswanath.puttagunta@linaro.org>.
* Add entcode.c to the dump_modes binary.Timothy B. Terriberry2015-10-071-1/+1
| | | | | This is needed for the SMALL_DIV_TABLE constants added in commit ec5d01cbe486.
* Fixes compile problems for MIPSRhishikesh Agashe2015-10-078-34/+27
| | | | | | Brings MIPS in sync with the ARM/SSE optimizations that added "arch" parameters. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* trivial_example: Fix error messageMark Harris2015-10-071-3/+3
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Extra safety against NaNs in surround_analysis()Mark Harris2015-10-071-1/+1
| | | | | | | Fix out-of-bounds memory read in multichannel surround analysis with float input that contains NaNs. Found by afl-fuzz. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Preventing NaNs from crashing surround_analysis()Jean-Marc Valin2015-10-072-0/+17
|
* Remove spurious ACLOCAL_FLAGS variable from autogen.sh.Ralph Giles2015-09-251-1/+0
| | | | | | | autoreconf looks for ACLOCAL_*FLAGS in Makefile.am and will pass that on when it invokes aclocal. Furthermore, setting a local like this doesn't make it available to subcommands, so the line has no effect.
* Make it possible to pass in paths to opus_demo and opus_compare.jon_patchesJonathan Lennox2015-09-011-2/+2
| | | | | | | | | | This patch lets you pass paths for opus_demo and opus_compare to the run_vectors.sh script. The motivation for this was for my aarch64 patches (forthcoming), which I've been testing under qemu. I want to run an emulated opus_demo, but a native opus_compare, so the script completes in a reasonable amount of time.
* Create OPUS_FAST_INT64 macro, to abstract conditions where opus_int64 should ↵Jonathan Lennox2015-09-011-5/+8
| | | | | | | | | be used. This patch adds a macro abstracting the condition under which the silk math macros use opus_int64-based calculations rather than opus_int32. No substantive change, but will make it easier to adjust if additional such platforms are found in the future.
* Use ProjectReference rather than AdditionalDependencies for test programs, ↵Jonathan Lennox2015-09-015-20/+68
| | | | | | so build dependencies are right. Actually add source code to opus_demo project, and fix its include paths.
* Add intrinsics support to Visual Studio build.Jonathan Lennox2015-09-018-20/+119
|
* Reorganize x86 SSE intrinsics code.Jonathan Lennox2015-09-0122-202/+503
| | | | | | | | Enable x86 intrinsics when building in floating-point mode. Support SSE as an arch value. Use RTCD to conditionally enable existing floating-point Celt SSE code. Call functions directly (without RTCD) when their architecture can be presumed. Use SSE4.1 intrinsics optimized code for Silk even in floating-point mode.
* Move SSE2 and SSE4.1 intrinsics functions to separate files, to be compiled ↵Jonathan Lennox2015-09-018-229/+372
| | | | with appropriate compiler flags. Otherwise, compilers are allowed to take advantage of (e.g.) -msse4.1 to generate code that uses SSE4.1 instructions, even when no SSE4.1 intrinsics are explicitly used in the source.
* Remove some unnecessary #includes from x86cpu.c.Jonathan Lennox2015-09-011-3/+0
|
* Fix struct initialization of CPU_Feature structure.Jonathan Lennox2015-09-011-1/+5
|
* Fix cpuid asm on 32-bit PIC.Jonathan Lennox2015-09-011-1/+15
|