opus.git
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.

5 years agoClean up celt_pitch_xcorr() test code.
Timothy B. Terriberry [Wed, 27 Nov 2013 01:10:37 +0000 (17:10 -0800)]
Clean up celt_pitch_xcorr() test code.

This will be removed shortly, but at least it should be correct
 before it goes.
Makes the code get used unconditionally (when uncommented), and
 actually frees the buffer it allocates (now using the libopus
 allocation functions).

5 years agoSilences a warning in fixed-point v1.1-rc
Jean-Marc Valin [Tue, 26 Nov 2013 03:33:43 +0000 (22:33 -0500)]
Silences a warning in fixed-point

5 years agoMerges surround and stereo intensity stereo thresholds again.
Jean-Marc Valin [Tue, 26 Nov 2013 02:24:30 +0000 (21:24 -0500)]
Merges surround and stereo intensity stereo thresholds again.

The different results for surround were mostly due to a bug in squishyball.

5 years agoMakes SILK surround masking a bit more aggressive in both directions
Jean-Marc Valin [Mon, 25 Nov 2013 06:52:08 +0000 (01:52 -0500)]
Makes SILK surround masking a bit more aggressive in both directions

This also splits the rate adjustment between SILK and CELT (previous
code only changed SILK)

5 years agoIntensity stereo update, partially based on Monty's listening
Jean-Marc Valin [Mon, 25 Nov 2013 04:59:09 +0000 (23:59 -0500)]
Intensity stereo update, partially based on Monty's listening

Intensity stereo is now based on equiv_rate and should no longer oscillate
in hybrid mode. Also, there is now a separate set of thresholds for
surround tuned by Monty. The non-surround thresholds were also updated at
low bitrate to be closer to what Monty found for surround.

5 years agoPut custom_encoder_init decl behind CUSTOM_MODES. More softclip tests.
Gregory Maxwell [Sun, 24 Nov 2013 14:49:01 +0000 (06:49 -0800)]
Put custom_encoder_init decl behind CUSTOM_MODES. More softclip tests.

This removes an unused definition warning when compiling without
 custom modes.

5 years agoUsing a more reasonably SILK surround calibration value
Jean-Marc Valin [Sun, 24 Nov 2013 07:01:55 +0000 (02:01 -0500)]
Using a more reasonably SILK surround calibration value

Still needs more tuning

5 years agoReducing the thresholds for enabling stereo and higher audio bandwidths
Jean-Marc Valin [Sun, 24 Nov 2013 06:59:43 +0000 (01:59 -0500)]
Reducing the thresholds for enabling stereo and higher audio bandwidths

5 years agoSurround low-passing thresholds set to much lower bitrates
Jean-Marc Valin [Sun, 24 Nov 2013 06:57:52 +0000 (01:57 -0500)]
Surround low-passing thresholds set to much lower bitrates

5 years agoMinor opus_pcm_soft_clip API hardening and tests.
Gregory Maxwell [Fri, 22 Nov 2013 19:32:32 +0000 (11:32 -0800)]
Minor opus_pcm_soft_clip API hardening and tests.

5 years agoAdd some multistream resets to the tests.
Gregory Maxwell [Fri, 22 Nov 2013 18:30:30 +0000 (10:30 -0800)]
Add some multistream resets to the tests.

5 years agoMerge branch 'silk_pitch_fix'
Jean-Marc Valin [Thu, 21 Nov 2013 19:43:53 +0000 (14:43 -0500)]
Merge branch 'silk_pitch_fix'

5 years agoApplies padding to all CBR packets, including PLC and CELT silence
Jean-Marc Valin [Thu, 21 Nov 2013 19:42:00 +0000 (14:42 -0500)]
Applies padding to all CBR packets, including PLC and CELT silence

5 years agoAdds trivial_example.c to make dist
Jean-Marc Valin [Thu, 21 Nov 2013 19:36:41 +0000 (14:36 -0500)]
Adds trivial_example.c to make dist

5 years agoAdds a simple example of Opus encoding+decoding
Jean-Marc Valin [Thu, 21 Nov 2013 19:33:42 +0000 (14:33 -0500)]
Adds a simple example of Opus encoding+decoding

5 years agoopus_custom_encoder_init() now only needed for custom modes.
Jean-Marc Valin [Thu, 21 Nov 2013 00:34:14 +0000 (19:34 -0500)]
opus_custom_encoder_init() now only needed for custom modes.

5 years agoAdd copyright header to test_opus_padding.c.
Ralph Giles [Wed, 20 Nov 2013 22:31:09 +0000 (11:31 +1300)]
Add copyright header to test_opus_padding.c.

5 years agoMakes pitch gain control less aggressive silk_pitch_fix
Jean-Marc Valin [Wed, 20 Nov 2013 22:11:15 +0000 (17:11 -0500)]
Makes pitch gain control less aggressive

5 years agoUsing the maximum frequency response of pitch taps instead of maxabs
Jean-Marc Valin [Wed, 20 Nov 2013 18:39:23 +0000 (13:39 -0500)]
Using the maximum frequency response of pitch taps instead of maxabs

5 years agoConstrains accumulated pitch gain to avoid potential instability.
Koen Vos [Wed, 20 Nov 2013 13:32:32 +0000 (08:32 -0500)]
Constrains accumulated pitch gain to avoid potential instability.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoAdditional opus_multistream_packet_(un)pad tests.
Gregory Maxwell [Tue, 19 Nov 2013 16:52:49 +0000 (08:52 -0800)]
Additional opus_multistream_packet_(un)pad tests.

5 years agoValidate merge argument in repacketizer_demo.
Gregory Maxwell [Tue, 19 Nov 2013 16:35:26 +0000 (08:35 -0800)]
Validate merge argument in repacketizer_demo.

5 years agoValidate channel count in opus_demo.
Gregory Maxwell [Tue, 19 Nov 2013 16:29:06 +0000 (08:29 -0800)]
Validate channel count in opus_demo.

5 years agoAdd opus_packet_(un)pad tests.
Gregory Maxwell [Tue, 19 Nov 2013 07:25:20 +0000 (23:25 -0800)]
Add opus_packet_(un)pad tests.

5 years agoMore make dist fixes
Ron [Tue, 19 Nov 2013 07:04:12 +0000 (17:34 +1030)]
More make dist fixes

Don't include the generated celt/arm/celt_pitch_xcorr_arm-gnu.S in the
dist tarball, but do include its celt_pitch_xcorr_arm.s source file.

5 years agoFix 'make distclean'.
Ralph Giles [Tue, 19 Nov 2013 04:50:05 +0000 (17:50 +1300)]
Fix 'make distclean'.

Automake's dependency tracking seems to be confused by our asm
generation double-indirection. It's sufficient to have just
CLEANFILES = $(CELT_AM_SOURCES_ARM_ASM:.s.in=-gnu.S)
to fix the error about 'armopts-gnu.S' not being cleaned, but
celt_pitch_xcorr_arm-gnu.S is also not cleaned without raising
a warning. Therefore we explicitly clean both sets of ARM_ASM.

5 years agoDon't attenuate hybrid high-band for surround
Jean-Marc Valin [Tue, 19 Nov 2013 04:00:36 +0000 (23:00 -0500)]
Don't attenuate hybrid high-band for surround

5 years agoFixes unpad for multi-stream
Jean-Marc Valin [Tue, 19 Nov 2013 02:22:30 +0000 (21:22 -0500)]
Fixes unpad for multi-stream