opus.git
5 years agoFix markup and note needing to renable-prediction.
Ralph Giles [Sat, 18 Jan 2014 00:02:52 +0000 (16:02 -0800)]
Fix markup and note needing to renable-prediction.

5 years agoShow how to turn off prediction with libopus
Ron [Fri, 17 Jan 2014 22:40:18 +0000 (09:10 +1030)]
Show how to turn off prediction with libopus

5 years agoSILK and CELT mode are singular
Ron [Fri, 17 Jan 2014 23:54:02 +0000 (10:24 +1030)]
SILK and CELT mode are singular

5 years agoTry to improve wikipedia citation formatting.
Ralph Giles [Fri, 17 Jan 2014 23:47:08 +0000 (15:47 -0800)]
Try to improve wikipedia citation formatting.

It wants a surname, and to show it as Surname, Initial.
This leaves an extra comma in the xml2rfc2 output, but
at least mentions wikipedia.

5 years agoReference vorbis source code for lpc coefficient calculation.
Ralph Giles [Fri, 17 Jan 2014 23:44:08 +0000 (15:44 -0800)]
Reference vorbis source code for lpc coefficient calculation.

5 years agoReference wikipedia for LPC prediction.
Ralph Giles [Fri, 17 Jan 2014 23:36:03 +0000 (15:36 -0800)]
Reference wikipedia for LPC prediction.

5 years agoTry to clarify frame packing.
Ralph Giles [Fri, 17 Jan 2014 23:22:57 +0000 (15:22 -0800)]
Try to clarify frame packing.

Marko was concerned that RFC 6716 section 3.2.1 narrowly describes
zero-length DTX frames _only_ for code 2 and 3 packets, and therefore
wanted this sentence to state clearly that code 0 and 1 can be used
with zero-byte frames as well. I've tried to do that.

5 years agoUse SILK/CELT everywhere describing modes.
Ralph Giles [Fri, 17 Jan 2014 22:33:54 +0000 (14:33 -0800)]
Use SILK/CELT everywhere describing modes.

There was some attempt to use LP/MDCT instead, to avoid confusion
of the Opus modes with the earlier codecs of the same name, but
Jean-Marc says they gave up on doing that in the Opus RFC, and in
particular the tables a reader would need to reference from RFC 6716
Section 3.2 mentions SILK and CELT, so I think it's important to use
the same terms here.

5 years agoDrop the oddball hyphenation of MDCT-mode
Ron [Fri, 17 Jan 2014 22:05:38 +0000 (08:35 +1030)]
Drop the oddball hyphenation of MDCT-mode

It's not hyphenated anywhere else.

5 years agoClarify that MB->WB is better than MB->NB
Ron [Fri, 17 Jan 2014 21:33:31 +0000 (08:03 +1030)]
Clarify that MB->WB is better than MB->NB

I hope.  Now that it's been clarified for me what this originally meant
to say, it's tricky to know if this actually contains the missing clue
for other readers.  Hopefully it should be obvious to anyone actually
implementing it once they look at what modes they have to choose from.

5 years agoRemove line about undefined speaker configurations.
Ralph Giles [Fri, 17 Jan 2014 22:26:58 +0000 (14:26 -0800)]
Remove line about undefined speaker configurations.

Ron's suggestion. We think it's clear enough as is and
removing it avoids confusion about this specification
versus future extensions.

5 years agoBump Ogg draft version and date.
Ralph Giles [Fri, 17 Jan 2014 20:10:50 +0000 (12:10 -0800)]
Bump Ogg draft version and date.

5 years agoReplace MAY with SHOULD in the gap-filling guidelines.
Ralph Giles [Fri, 17 Jan 2014 20:09:45 +0000 (12:09 -0800)]
Replace MAY with SHOULD in the gap-filling guidelines.

This is really the best implementations can do as far as we
understand the possibilies, so it's better to be straightforward.

5 years agoUpdate Ralph's phone number.
Ralph Giles [Fri, 17 Jan 2014 19:15:34 +0000 (11:15 -0800)]
Update Ralph's phone number.

5 years agoUpdate authors in RTP draft
Jean-Marc Valin [Fri, 17 Jan 2014 19:05:37 +0000 (14:05 -0500)]
Update authors in RTP draft

5 years agoAnother nit in the update draft
Mark Harris [Mon, 13 Jan 2014 21:53:21 +0000 (16:53 -0500)]
Another nit in the update draft

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoBump the static version string in version.mk.
Ralph Giles [Wed, 15 Jan 2014 17:08:08 +0000 (09:08 -0800)]
Bump the static version string in version.mk.

We failed to do this before the 1.1 release, so that went out
still marked at 1.1 beta. The plan was to get rid of this file
but it's still used as a fallback by the msvc build.

5 years agoReword framing bit ommission, again.
Ralph Giles [Wed, 15 Jan 2014 17:02:01 +0000 (09:02 -0800)]
Reword framing bit ommission, again.

5 years agoBe a bit less ambiguous about the comment framing bit
Ron [Wed, 15 Jan 2014 09:11:21 +0000 (19:41 +1030)]
Be a bit less ambiguous about the comment framing bit

5 years agoRewrite gap filling section.
Ralph Giles [Wed, 15 Jan 2014 01:23:00 +0000 (17:23 -0800)]
Rewrite gap filling section.

Incorporate list feedback from Mark Harris, Tim and Jean-Marc
and try to improve clarity.

5 years agoAdd Tim's gap repair text.
Ralph Giles [Tue, 14 Jan 2014 23:40:16 +0000 (15:40 -0800)]
Add Tim's gap repair text.

From http://www.ietf.org/mail-archive/web/codec/current/msg03030.html

5 years agoFix malloc_hook warning on glibc 2.17 and later.
Ralph Giles [Tue, 14 Jan 2014 19:07:37 +0000 (11:07 -0800)]
Fix malloc_hook warning on glibc 2.17 and later.

In glib 2.17 the __malloc_ptr define was removed in favour
of using void* directly. Our declaration of mhook using this
type for the second argument therefore rightly generates a warning
on modern systems, since the type is assumed to be an int, which
is too narrow to hold a pointer on 64 bit architectures.

Since it was only ever a define we could use an #ifndef to define
__malloc_ptr ourselves. However we only use it once, so using void*
in the signature directly is cleaner. This should cause no problems
on older systems where it will match either the void* or the char*
(for non __STDC__ code) the define resolved to.

5 years agoMinor nits on update draft
Mark Harris [Mon, 13 Jan 2014 21:30:55 +0000 (16:30 -0500)]
Minor nits on update draft

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoUpdate draft accepted as WG document
Jean-Marc Valin [Mon, 13 Jan 2014 20:31:01 +0000 (15:31 -0500)]
Update draft accepted as WG document

5 years agoFix declaration after statement in fixed point.
Gregory Maxwell [Wed, 8 Jan 2014 19:48:38 +0000 (11:48 -0800)]
Fix declaration after statement in fixed point.

5 years agoAdd tests/test_ to Makefile.unix.
Gregory Maxwell [Wed, 8 Jan 2014 19:04:29 +0000 (11:04 -0800)]
Add tests/test_ to Makefile.unix.

5 years agoFixes the decode_fec case for b76888d
Mark Harris [Wed, 8 Jan 2014 02:33:03 +0000 (21:33 -0500)]
Fixes the decode_fec case for b76888d

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agopseudostack instrumentation (off by default)
Jean-Marc Valin [Wed, 8 Jan 2014 02:32:41 +0000 (21:32 -0500)]
pseudostack instrumentation (off by default)

5 years agoMinor refactoring of the SILK PLC code to save more stack
Jean-Marc Valin [Wed, 8 Jan 2014 02:25:09 +0000 (21:25 -0500)]
Minor refactoring of the SILK PLC code to save more stack

5 years agoPreventing unnecessary stack use when using a large decode buffer
Jean-Marc Valin [Wed, 8 Jan 2014 02:00:18 +0000 (21:00 -0500)]
Preventing unnecessary stack use when using a large decode buffer

This was causing pseudostack builds to fail because opus_demo uses a 2-second
buffer.

5 years agoFixes SMALL_FOOTPRINT for float
Jean-Marc Valin [Tue, 7 Jan 2014 22:50:46 +0000 (17:50 -0500)]
Fixes SMALL_FOOTPRINT for float

5 years agoAnother aliasing hack in the SILK PLC with SMALL_FOOTPRINT
Jean-Marc Valin [Tue, 7 Jan 2014 21:26:27 +0000 (16:26 -0500)]
Another aliasing hack in the SILK PLC with SMALL_FOOTPRINT

5 years agoDon't allocate pulses on the stack when calling the SILK PLC.
Jean-Marc Valin [Tue, 7 Jan 2014 20:27:02 +0000 (15:27 -0500)]
Don't allocate pulses on the stack when calling the SILK PLC.

Also minor C89 fix for the previous commit

5 years agoMoves CELT PLC pitch search to a separate function to reduce peak stack
Jean-Marc Valin [Tue, 7 Jan 2014 20:02:43 +0000 (15:02 -0500)]
Moves CELT PLC pitch search to a separate function to reduce peak stack

5 years agoDelaying allocation of the SILK temporary output buffer to reduce peak stack
Jean-Marc Valin [Tue, 7 Jan 2014 18:46:06 +0000 (13:46 -0500)]
Delaying allocation of the SILK temporary output buffer to reduce peak stack

5 years agoAdds SMALL_FOOTPRINT hack to the CELT PLC too
Jean-Marc Valin [Tue, 7 Jan 2014 09:48:42 +0000 (04:48 -0500)]
Adds SMALL_FOOTPRINT hack to the CELT PLC too

5 years agoMoves deemphasis() call out of celt_decode_lost() to reduce peak stack
Jean-Marc Valin [Tue, 7 Jan 2014 09:32:41 +0000 (04:32 -0500)]
Moves deemphasis() call out of celt_decode_lost() to reduce peak stack

5 years agoStore decoded SILK pulses as 16-bit vector
Jean-Marc Valin [Tue, 7 Jan 2014 02:59:48 +0000 (21:59 -0500)]
Store decoded SILK pulses as 16-bit vector

This saves 640 bytes on the peak stack usage.

5 years agoCleaning up leftovers of "freq" in celt_decode_with_ec()
Jean-Marc Valin [Mon, 6 Jan 2014 22:45:57 +0000 (17:45 -0500)]
Cleaning up leftovers of "freq" in celt_decode_with_ec()

5 years agoReduces the decoder stack use by removing the pcm_silk buffer in fixed-point
Jean-Marc Valin [Mon, 6 Jan 2014 22:43:20 +0000 (17:43 -0500)]
Reduces the decoder stack use by removing the pcm_silk buffer in fixed-point

We only keep when concealing less than 10ms with SILK.

5 years agoMoves the remains of compute_inv_mdcts() to celt_synthesis()
Jean-Marc Valin [Mon, 6 Jan 2014 14:31:09 +0000 (09:31 -0500)]
Moves the remains of compute_inv_mdcts() to celt_synthesis()

5 years agoHack that makes the SMALL_FOOTPRINT CELT decoder use only 4.25 kB of stack.
Jean-Marc Valin [Mon, 6 Jan 2014 14:11:52 +0000 (09:11 -0500)]
Hack that makes the SMALL_FOOTPRINT CELT decoder use only 4.25 kB of stack.

5 years agoReduces decoder stack usage by only storing one channel of denormalized MDCT
Jean-Marc Valin [Mon, 6 Jan 2014 13:58:38 +0000 (08:58 -0500)]
Reduces decoder stack usage by only storing one channel of denormalized MDCT

5 years agoSome cleaning up of the synthesis code.
Jean-Marc Valin [Mon, 6 Jan 2014 02:40:02 +0000 (21:40 -0500)]
Some cleaning up of the synthesis code.

5 years agoMaking exp_rotation1() use MAC16_16(), which saves a few cycles on ARM
Jean-Marc Valin [Sun, 5 Jan 2014 02:06:24 +0000 (21:06 -0500)]
Making exp_rotation1() use MAC16_16(), which saves a few cycles on ARM

5 years agoSilences unused parameter warning
Jean-Marc Valin [Sat, 4 Jan 2014 05:49:46 +0000 (00:49 -0500)]
Silences unused parameter warning

5 years agoMoving the radix-2 to expose trivial twiddle factors
Jean-Marc Valin [Sat, 4 Jan 2014 04:55:52 +0000 (23:55 -0500)]
Moving the radix-2 to expose trivial twiddle factors

5 years agoImproving the accuracy of the fixed-point radix-3 and radix-5
Jean-Marc Valin [Tue, 31 Dec 2013 05:00:37 +0000 (00:00 -0500)]
Improving the accuracy of the fixed-point radix-3 and radix-5

5 years agoMinor cleanup -- nothing to see here
Jean-Marc Valin [Sun, 29 Dec 2013 23:45:49 +0000 (18:45 -0500)]
Minor cleanup -- nothing to see here

5 years agoFixed-point: slight accuracy improvement in the comb filter
Jean-Marc Valin [Sun, 29 Dec 2013 23:31:17 +0000 (18:31 -0500)]
Fixed-point: slight accuracy improvement in the comb filter

5 years agoRemove a SAVE_STACK that was pasted accidentally in the previous commit
Jean-Marc Valin [Sun, 29 Dec 2013 21:21:06 +0000 (16:21 -0500)]
Remove a SAVE_STACK that was pasted accidentally in the previous commit

5 years agoUnifying scaling of fixed-point and float FFT
Jean-Marc Valin [Sun, 29 Dec 2013 18:34:17 +0000 (13:34 -0500)]
Unifying scaling of fixed-point and float FFT

5 years agoFixes C89 issue
Jean-Marc Valin [Sun, 29 Dec 2013 05:09:06 +0000 (00:09 -0500)]
Fixes C89 issue

5 years agoGetting rid of some negations
Jean-Marc Valin [Sun, 29 Dec 2013 04:14:26 +0000 (23:14 -0500)]
Getting rid of some negations

Since we're doing two rotations, we can invert the sign on both.
Also adding a few comments for optimizing the FFT.

5 years agoSlightly improving the accuracy of the fixed-point MDCT downscale
Jean-Marc Valin [Sun, 29 Dec 2013 00:10:44 +0000 (19:10 -0500)]
Slightly improving the accuracy of the fixed-point MDCT downscale

Also simplifying the code

5 years agoCommit 99968ab was causing us to allocate too much stack in the MDCT
Jean-Marc Valin [Fri, 27 Dec 2013 08:16:34 +0000 (03:16 -0500)]
Commit 99968ab was causing us to allocate too much stack in the MDCT

5 years agoRemoves the separate 1/8N rotation in the (I)MDCT and unmerges the MDCT sizes
Jean-Marc Valin [Fri, 27 Dec 2013 05:10:54 +0000 (00:10 -0500)]
Removes the separate 1/8N rotation in the (I)MDCT and unmerges the MDCT sizes

Undoes commits f7547a4e and 72513f3c

5 years agoInverse MDCT no longer requires any scratch space
Jean-Marc Valin [Mon, 23 Dec 2013 07:26:03 +0000 (02:26 -0500)]
Inverse MDCT no longer requires any scratch space

5 years agoReverse the ordering of the FFT stage to optimize a degenerate radix-4 case.
Jean-Marc Valin [Sun, 22 Dec 2013 07:17:24 +0000 (02:17 -0500)]
Reverse the ordering of the FFT stage to optimize a degenerate radix-4 case.

This also happens to increase the accuracy since it appears that the new
ordering is optimal (at least for 20 ms frames), whereas the previous ordering
was pessimal.

5 years agoMerges the FFT scaling with the MDCT pre-rotate
Jean-Marc Valin [Sat, 21 Dec 2013 21:30:49 +0000 (16:30 -0500)]
Merges the FFT scaling with the MDCT pre-rotate

5 years agoGetting rid of the inverse FFT entirely
Jean-Marc Valin [Sat, 21 Dec 2013 20:45:17 +0000 (15:45 -0500)]
Getting rid of the inverse FFT entirely

IMDCT now uses the forward FFT.

5 years agoMoving bitrev step to forward MDCT too
Jean-Marc Valin [Sat, 21 Dec 2013 19:29:41 +0000 (14:29 -0500)]
Moving bitrev step to forward MDCT too

5 years agoApplying the forward FFT gain up-front for fixed-point too
Jean-Marc Valin [Sat, 21 Dec 2013 07:33:22 +0000 (02:33 -0500)]
Applying the forward FFT gain up-front for fixed-point too

This makes us lose a bit of precision in the first steps, but our gain is more
precise because it's only rounded once. Overall, SNR is slightly improved.

5 years agoMoves the bitrev step to the IMDCT pre-rotation
Jean-Marc Valin [Sat, 21 Dec 2013 04:13:29 +0000 (23:13 -0500)]
Moves the bitrev step to the IMDCT pre-rotation

5 years agoFixes a warning about "conversion from '__int64' to 'int'" on MSVC
Jean-Marc Valin [Tue, 17 Dec 2013 18:56:00 +0000 (13:56 -0500)]
Fixes a warning about "conversion from '__int64' to 'int'" on MSVC

5 years agoconfigure.ac: fix bashism in ARM optimization handling
Peter Korsgaard [Sun, 8 Dec 2013 10:05:41 +0000 (11:05 +0100)]
configure.ac: fix bashism in ARM optimization handling

Breaks configure when /bin/sh isn't bash with:

configure: Trying to force-enable ARMv6 media instructions...
checking if assembler supports ARMv6 media instructions on ARM... yes
configure: Trying to force-enable NEON instructions...
checking if assembler supports NEON instructions on ARM... yes
./configure.lineno: 12799: Bad substitution

Fix it by using the %% expansion to remove everything from the first
space instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agofixed-point: slight (but free) accuracy improvement in compute_band_energies()
Jean-Marc Valin [Mon, 16 Dec 2013 06:08:21 +0000 (01:08 -0500)]
fixed-point: slight (but free) accuracy improvement in compute_band_energies()

Also moves the VSHR32() condition outside the loop just in case some compilers
don't optimize that properly.

5 years agofixed-point: adds rounding to some shifts to eliminate bias
Jean-Marc Valin [Sat, 14 Dec 2013 16:07:13 +0000 (11:07 -0500)]
fixed-point: adds rounding to some shifts to eliminate bias

This reduces the peak decoding error by removing small (inaudible) spikes in
the error at the frame boundaries. These were due to the frequency-domain bias
ending up as a small pulse in the middle of the IMDCT overlap. None of this
was ever audible, but fixing it is still cleaner.

5 years agoRemove useless code in alloc_trim_analysis()
Jean-Marc Valin [Wed, 11 Dec 2013 06:34:06 +0000 (01:34 -0500)]
Remove useless code in alloc_trim_analysis()

5 years agoMinor fixed-point accuracy improvements that were completely free
Jean-Marc Valin [Wed, 11 Dec 2013 05:21:38 +0000 (00:21 -0500)]
Minor fixed-point accuracy improvements that were completely free

5 years agoRemoving indirections
Jean-Marc Valin [Tue, 10 Dec 2013 23:38:44 +0000 (18:38 -0500)]
Removing indirections

5 years agoAnnotating pointer arguments with OPUS_RESTRICT and const
Jean-Marc Valin [Tue, 10 Dec 2013 23:10:27 +0000 (18:10 -0500)]
Annotating pointer arguments with OPUS_RESTRICT and const

5 years agoFixes code that was doing arithmetic on a void pointer.
Jean-Marc Valin [Tue, 10 Dec 2013 21:41:44 +0000 (16:41 -0500)]
Fixes code that was doing arithmetic on a void pointer.

Thanks to Kevin O'Connor for reporting this.

5 years agoMore NaN hardening in the analysis code
Jean-Marc Valin [Tue, 10 Dec 2013 18:55:35 +0000 (13:55 -0500)]
More NaN hardening in the analysis code

5 years agoAdd a reminder to bump the version.mk version.
Timothy B. Terriberry [Tue, 10 Dec 2013 16:16:51 +0000 (08:16 -0800)]
Add a reminder to bump the version.mk version.

We released 1.1 with 1.1-beta as the hard-coded version.
Hopefully this only affects people doing their own windows builds
 without the git tools available.
Thanks to Ron Lee for the report.

5 years agoUsing OPUS_COPY()/OPUS_CLEAR() in the decoder too
Jean-Marc Valin [Tue, 10 Dec 2013 07:32:26 +0000 (02:32 -0500)]
Using OPUS_COPY()/OPUS_CLEAR() in the decoder too

5 years agoMaking NaN detection more robust to -ffast-math.
Jean-Marc Valin [Tue, 10 Dec 2013 02:56:21 +0000 (21:56 -0500)]
Making NaN detection more robust to -ffast-math.

5 years agoUsing celt_inner_prod() in compute_band_energies()
Jean-Marc Valin [Mon, 9 Dec 2013 23:05:50 +0000 (18:05 -0500)]
Using celt_inner_prod() in compute_band_energies()

5 years agoMakes silk_inner_prod_aligned() use celt_inner_prod() in fixed-point.
Jean-Marc Valin [Mon, 9 Dec 2013 21:31:07 +0000 (16:31 -0500)]
Makes silk_inner_prod_aligned() use celt_inner_prod() in fixed-point.

Should make it easier when writing assembly.

5 years agos/MAX16/MAX32/ in transient_analysis()
Pedro Becerra [Mon, 9 Dec 2013 21:08:29 +0000 (16:08 -0500)]
s/MAX16/MAX32/ in transient_analysis()

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoUsing celt_inner_prod() for input sanity check.
Jean-Marc Valin [Mon, 9 Dec 2013 18:54:41 +0000 (13:54 -0500)]
Using celt_inner_prod() for input sanity check.

5 years agoDefining celt_inner_prod() and using it instead of explicit loops.
Jean-Marc Valin [Mon, 9 Dec 2013 07:33:42 +0000 (02:33 -0500)]
Defining celt_inner_prod() and using it instead of explicit loops.

Also adds an SSE-optimized celt_inner_prod().

5 years agoReplaces inline copies and initialization with OPUS_*() macros.
Jean-Marc Valin [Mon, 9 Dec 2013 04:31:30 +0000 (23:31 -0500)]
Replaces inline copies and initialization with OPUS_*() macros.

This is a bit faster at -O2 because memcpy()/memmove()/memset() are
vectorized. The code is also cleaner.

5 years agoChanges ABS16() and ABS32() to use fabs() in the float build
Jean-Marc Valin [Sun, 8 Dec 2013 08:54:18 +0000 (03:54 -0500)]
Changes ABS16() and ABS32() to use fabs() in the float build

gcc is better at optimizing it than the ?: version

5 years agoOptimizes encoder NaN detection and clipping by only running them when needed
Jean-Marc Valin [Sun, 8 Dec 2013 08:31:50 +0000 (03:31 -0500)]
Optimizes encoder NaN detection and clipping by only running them when needed

NaN detection should now be able to catch values that would create NaNs
further down.

5 years agoFixed-point fast-path for normal 48 kHz encoding in celt_preemphasis()
Jean-Marc Valin [Thu, 5 Dec 2013 21:40:59 +0000 (16:40 -0500)]
Fixed-point fast-path for normal 48 kHz encoding in celt_preemphasis()

5 years agoTurns a 16x32 multiply into a 16x16 one in celt_preemphasis().
Jean-Marc Valin [Thu, 5 Dec 2013 18:36:48 +0000 (13:36 -0500)]
Turns a 16x32 multiply into a 16x16 one in celt_preemphasis().

5 years agoBump soname v1.1
Jean-Marc Valin [Wed, 4 Dec 2013 23:25:34 +0000 (18:25 -0500)]
Bump soname

5 years agoMention updating the website examples.
Ralph Giles [Wed, 4 Dec 2013 23:18:41 +0000 (15:18 -0800)]
Mention updating the website examples.

5 years agoStart a release checklist.
Ralph Giles [Wed, 4 Dec 2013 23:16:12 +0000 (15:16 -0800)]
Start a release checklist.

5 years agoRevert "Disables assembly optimizations by default because of several problems reported" v1.1-rc3
Jean-Marc Valin [Tue, 3 Dec 2013 18:31:24 +0000 (13:31 -0500)]
Revert "Disables assembly optimizations by default because of several problems reported"

This reverts commit 2446445b15e0a1961e1566006b34c586fd3162c4.

5 years agoDisables assembly optimizations by default because of several problems reported
Jean-Marc Valin [Tue, 3 Dec 2013 03:17:58 +0000 (22:17 -0500)]
Disables assembly optimizations by default because of several problems reported

5 years agoFixes Opus-custom preemphasis
Jean-Marc Valin [Tue, 3 Dec 2013 01:02:37 +0000 (20:02 -0500)]
Fixes Opus-custom preemphasis

Also adds denorm avoidance for non-48 kHz rates

5 years agoWhoa! This fixes a pretty bad fixed-point stereo regression
Jean-Marc Valin [Fri, 29 Nov 2013 21:47:52 +0000 (16:47 -0500)]
Whoa! This fixes a pretty bad fixed-point stereo regression

5 years agoFixes OPUS_SET_GAIN (was a bug in MULT16_32_P16())
Jean-Marc Valin [Fri, 29 Nov 2013 17:21:34 +0000 (12:21 -0500)]
Fixes OPUS_SET_GAIN (was a bug in MULT16_32_P16())

5 years agoMinor speedups to celt_pitch_xcorr_edsp(). v1.1-rc2
Timothy B. Terriberry [Wed, 27 Nov 2013 19:06:59 +0000 (11:06 -0800)]
Minor speedups to celt_pitch_xcorr_edsp().

This moves some stuff out of the main loop for the unaligned case.

5 years agoDrop the use of --always to git-describe
Ron [Wed, 27 Nov 2013 17:48:45 +0000 (04:18 +1030)]
Drop the use of --always to git-describe

This is a partial revert of c435f06b308e52d7a5d2aad9eec98a1541832b47,
since it didn't actually fix the original problem with shallow clones.
It returns just a hash, not something we (currently) can extract as a
version string in the form things are expecting.

5 years agoRemove the celt_pitch_xcorr() test code.
Timothy B. Terriberry [Wed, 27 Nov 2013 05:56:50 +0000 (21:56 -0800)]
Remove the celt_pitch_xcorr() test code.

Revision control will remember it for us forever.

5 years agoActually use my NEON code.
Timothy B. Terriberry [Wed, 27 Nov 2013 05:55:29 +0000 (21:55 -0800)]
Actually use my NEON code.

I'd commented out mine and stuck azanelli's code in for testing,
 and then accidentally committed it like that.

5 years agoMake celt_pitch_xcorr_edsp() work on ARMv5TE.
Timothy B. Terriberry [Wed, 27 Nov 2013 05:51:39 +0000 (21:51 -0800)]
Make celt_pitch_xcorr_edsp() work on ARMv5TE.

We were assuming that LDR, LDRD, and STRD could be used on
 unaligned addresses, but this turns out not to be true on really
 old hardware.