- May 21, 2013
-
-
Timothy B. Terriberry authored
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0068b/CIHBJEHG.html says that "Rd cannot be the same as Rm." http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0068b/CIHBJEHG.html says that "RdLo, RdHi, and Rm must all be different registers." This means that some of the early clobbers I removed really should have been there (to prevent aliasing Rd, RdLo, or RdHi with Rm). It also means that we should reverse some of the operands in the FFT's complex multiplies. This should only affect the ARMv4 optimizations. Thanks to Nils Wallménius for the report. While we're here, audit the commutative pair flags again, since I screwed up at least one of them, and eliminate some dead code.
-
- May 20, 2013
-
-
Timothy B. Terriberry authored
Original patch by Aurélien Zanelli <aurelien.zanelli@parrot.com>: http://lists.xiph.org/pipermail/opus/2013-May/002078.html Revised version: - Add autconf detection (ported from libtheora). - Rename ARM5E to ARMv5E (an ARM5 is not the same thing as ARMv5!). - Use actual macros so they can still be selectively overridden. - Split out ARMv4 parts and add a few more ARMv4 macros. - Label blocks to make them easy to find in generated assembly. - Fix MULT16_32_Q15() so we can pass make check. The MDCT test passes in values larger than 2**30 for b. The new version should be just as fast (or faster, since it's easier to merge the shift with following instructions), and there's no appreciable impact on accuracy (FFT/MDCT SNR actually goes up in most cases). - Fix register constraints. We were using early-clobber flags in a bunch of places that didn't need them, and commutative-pair flags in a bunch of places that weren't actually commutative. This was Jean-Marc's fault (the original code came from Speex). - Simplify silk_CLZ16(). - Port over iFFT C_MULC asm by Andree Buschmann <AndreeBuschmann@t-online.de> from Rockbox. - Speed up the C_MULC asm by using LDRD, allowing more flexible addressing, re-ordering instructions to avoid some stalls, allowing more flexible register allocation, and getting things out of the inline asm block so the compiler can schedule them better. - Add C_MUL and C_MUL4 asm for the FFT to the encoder based, on the new C_MULC. In total, this patch gives a 22.3% speed-up on test_opus_encoder on a 600 MHz Cortex A8 using gcc 4.2.1, When restricted to ARMv4 optimizations, it gives a 9.6% speed-up on the same processor/compiler. On the conformance test vectors: Average mono quality is 97.0583 % Average stereo quality is 97.775 %
-
- May 19, 2013
-
-
Jean-Marc Valin authored
-
- May 18, 2013
-
-
Jean-Marc Valin authored
A fixed shift factor was insufficient to properly estimate the decay factor, resulting in extreme attenuation of the PLC excitation.
-
- May 17, 2013
-
-
Jean-Marc Valin authored
Takes into account the bitrate.
-
Jean-Marc Valin authored
This should prevent errors in the bandwidth detection from affecting quality when we have enough bits to be close to transparent.
-
- May 10, 2013
-
-
Ralph Giles authored
This replaces the OPUS_VERSION removed by ron's auto-updater.
-
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 08, 2013
-
-
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.
-
- May 06, 2013
-
-
Jean-Marc Valin authored
This avoids a single low-energy band from changing the masking results.
-
- May 05, 2013
-
-
Jean-Marc Valin authored
The idea is that the rate of each stream is adjusted based on its contribution to the total energy of a stereo downmix.
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
Forces CELT-only mode for LFE (despite the rate) and "locks" most of the CELT analysis: - No transient or TF - Band boost on first band - Only first two bands get PVQ bits - Forced energy decay after the first two bands
-
Jean-Marc Valin authored
Conflicts: src/opus_multistream_encoder.c
-
- 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)
-
- Mar 07, 2013
-
-
Jean-Marc Valin authored
Improved version of: https://github.com/berkus/mettanode/commit/f44b28ab56ce8afa4b9d8c7460b184197519281c
-
- Feb 19, 2013
-
-
Jean-Marc Valin authored
-
- Feb 18, 2013
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
Detects a transient when the average band energy jumps by more than 6 dB between two consecutive frames. This fixes some undetected transients on Gainless' Muse_Breaks_Rmx sample.
-
- Feb 10, 2013
-
-
Jean-Marc Valin authored
This means 2.5 ms frames can now use a higher bitrate for transients.
-
Jean-Marc Valin authored
-
- Jan 09, 2013
-
-
Jean-Marc Valin authored
Would cause the preemphasis and deemphasis to fail, but only with custom modes enabled.
-
- Jan 04, 2013
-
-
Jean-Marc Valin authored
Was causing the testvector to pass with lower quality, though practically there was no quality degradation.
-
- Jan 03, 2013
-
-
Jean-Marc Valin authored
Should slightly improve coverage and reduce code size
-
- Dec 23, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
quant_band() now only handles the level0 case.
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
- Dec 21, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
Can now work up to full-band and uses lsb_depth to fix the noise issue.
- Dec 14, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-