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

5 years agoUnpad asserts
Timothy B. Terriberry [Tue, 19 Nov 2013 01:02:08 +0000 (20:02 -0500)]
Unpad asserts

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoFixes previous commit
Mark Harris [Mon, 18 Nov 2013 21:52:22 +0000 (16:52 -0500)]
Fixes previous commit

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoAdds functions for multistream padding/unpadding and single-stream unpadding
Jean-Marc Valin [Mon, 18 Nov 2013 21:46:38 +0000 (16:46 -0500)]
Adds functions for multistream padding/unpadding and single-stream unpadding

These are all completely untested.

5 years agoASM build fix
Timothy B. Terriberry [Mon, 18 Nov 2013 19:10:57 +0000 (14:10 -0500)]
ASM build fix

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoFixes permissions on arm2gnu.pl
Jean-Marc Valin [Mon, 18 Nov 2013 18:49:34 +0000 (13:49 -0500)]
Fixes permissions on arm2gnu.pl

5 years agoAdds Neon assembly for correlation/convolution
Timothy B. Terriberry [Mon, 18 Nov 2013 18:30:13 +0000 (13:30 -0500)]
Adds Neon assembly for correlation/convolution

Optimizing celt_pitch_xcorr()/xcorr_kernel() which also speeds up
FIRs, IIRs and auto-correlations

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoAdds SATURATE16() to the fixed-point debug build too
Jean-Marc Valin [Mon, 18 Nov 2013 03:42:42 +0000 (22:42 -0500)]
Adds SATURATE16() to the fixed-point debug build too

5 years agoFixes SILK surround calibration while fixing other MSVC warnings
Jean-Marc Valin [Mon, 18 Nov 2013 03:35:15 +0000 (22:35 -0500)]
Fixes SILK surround calibration while fixing other MSVC warnings

5 years agoAdd some basic testing for OPUS_{GET|SET}_PREDICTION_DISABLED.
Gregory Maxwell [Sun, 17 Nov 2013 16:52:00 +0000 (08:52 -0800)]
Add some basic testing for OPUS_{GET|SET}_PREDICTION_DISABLED.

5 years agooops, fix previous commit
Jean-Marc Valin [Sat, 16 Nov 2013 18:33:38 +0000 (13:33 -0500)]
oops, fix previous commit

5 years agoMake CELT_PVQ_U_ROW static
Jean-Marc Valin [Sat, 16 Nov 2013 08:54:58 +0000 (03:54 -0500)]
Make CELT_PVQ_U_ROW static

5 years agoAdds OPUS_SET_PREDICTION_DISABLED() ctl to force "independent" frames
Jean-Marc Valin [Fri, 15 Nov 2013 18:50:38 +0000 (13:50 -0500)]
Adds OPUS_SET_PREDICTION_DISABLED() ctl to force "independent" frames

Works by turning off pitch and energy prediction in CELT, while
setting first_frame_after_reset in SILK to disable pitch and LSF interpolation
and reduce LPC gain.

5 years agoAdds a simple padding test to opus_demo (disabled by default)
Jean-Marc Valin [Fri, 15 Nov 2013 18:35:04 +0000 (13:35 -0500)]
Adds a simple padding test to opus_demo (disabled by default)

5 years agoOops, missing semicolon on RESTORE_STACK in previous commit
Jean-Marc Valin [Fri, 15 Nov 2013 06:57:25 +0000 (01:57 -0500)]
Oops, missing semicolon on RESTORE_STACK in previous commit

5 years agoAdds missing RESTORE_STACKs in celt_encode_with_ec()
Jean-Marc Valin [Fri, 15 Nov 2013 06:52:28 +0000 (01:52 -0500)]
Adds missing RESTORE_STACKs in celt_encode_with_ec()

5 years agoFixes a bug where the encoder was trying to use redundancy in CELT mode
Jean-Marc Valin [Fri, 15 Nov 2013 06:41:12 +0000 (01:41 -0500)]
Fixes a bug where the encoder was trying to use redundancy in CELT mode

The problem was that forcing CELT-mode for low bitrate CBR was done too late,
after the encoder had decided to use SILK. This was causing redundancy
to be allocated because the encoder didn't realize it was going to keep
using CELT.

5 years agoAdds packet padding that works for all codes and fixes 40/60 ms CBR.
Jean-Marc Valin [Wed, 13 Nov 2013 19:08:22 +0000 (14:08 -0500)]
Adds packet padding that works for all codes and fixes 40/60 ms CBR.

Padding is now handled by the repacketizer.

5 years agoFixes max_redundancy so that hybrid CBR can fill all bytes
Jean-Marc Valin [Wed, 13 Nov 2013 22:50:39 +0000 (17:50 -0500)]
Fixes max_redundancy so that hybrid CBR can fill all bytes

5 years agoopus_multistream_packet_validate() now called with the total number of streams
Mark Harris [Thu, 14 Nov 2013 00:31:59 +0000 (19:31 -0500)]
opus_multistream_packet_validate() now called with the total number of streams

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
5 years agoRename preemphasis() to celt_preemphasis() to avoid amrnb symbol clash
Jean-Marc Valin [Thu, 14 Nov 2013 00:35:43 +0000 (19:35 -0500)]
Rename preemphasis() to celt_preemphasis() to avoid amrnb symbol clash

http://lists.xiph.org/pipermail/opus/2013-November/002372.html

5 years agoFixes more warnings
Jean-Marc Valin [Thu, 14 Nov 2013 04:06:25 +0000 (23:06 -0500)]
Fixes more warnings

5 years agoIncrease surround allocation offset for smaller frame sizes
Jean-Marc Valin [Thu, 14 Nov 2013 03:58:10 +0000 (22:58 -0500)]
Increase surround allocation offset for smaller frame sizes

5 years agoPrevents LFE from busting at really low bitrate
Jean-Marc Valin [Thu, 14 Nov 2013 03:42:04 +0000 (22:42 -0500)]
Prevents LFE from busting at really low bitrate

5 years agoFixes MSVC conversion warnings
Jean-Marc Valin [Wed, 13 Nov 2013 17:07:01 +0000 (12:07 -0500)]
Fixes MSVC conversion warnings

5 years agoVariable frame size fixes (still not exposed in the API)
Jean-Marc Valin [Wed, 13 Nov 2013 16:57:31 +0000 (11:57 -0500)]
Variable frame size fixes (still not exposed in the API)

This fixes an actual error in the downmix (using the float version even
for the int API), as well as a bunch of conversion warnings.

5 years agoMaking the CELT fixed-point decoder a bit more robust to extreme signals
Jean-Marc Valin [Wed, 13 Nov 2013 14:39:05 +0000 (09:39 -0500)]
Making the CELT fixed-point decoder a bit more robust to extreme signals

denormalise_bands() can now produce signals close to the max MDCT amplitude.

5 years agoFixes an initialization issue in SILK prefill found by Coverity
Jean-Marc Valin [Tue, 12 Nov 2013 19:20:00 +0000 (14:20 -0500)]
Fixes an initialization issue in SILK prefill found by Coverity

5 years agooops, don't need RESTORE_STACK when there's no stack
Jean-Marc Valin [Mon, 11 Nov 2013 23:24:56 +0000 (18:24 -0500)]
oops, don't need RESTORE_STACK when there's no stack

5 years agogcc -pedantic had "comparison of unsigned expression < 0 is always false"
Jean-Marc Valin [Mon, 11 Nov 2013 22:39:02 +0000 (17:39 -0500)]
gcc -pedantic had "comparison of unsigned expression < 0 is always false"

5 years agoMore size-zero VLA fixes and making opus_decode* return BAD_ARG on framesize<0
Jean-Marc Valin [Mon, 11 Nov 2013 18:06:54 +0000 (13:06 -0500)]
More size-zero VLA fixes and making opus_decode* return BAD_ARG on framesize<0

5 years agoFixes some minor issues found by scan build
Jean-Marc Valin [Sat, 9 Nov 2013 23:28:40 +0000 (18:28 -0500)]
Fixes some minor issues found by scan build

5 years agostupid uninitialized variable in the mlp training caught by cppcheck
Jean-Marc Valin [Sat, 9 Nov 2013 02:47:44 +0000 (21:47 -0500)]
stupid uninitialized variable in the mlp training caught by cppcheck

5 years agoHides OPUS_FRAMESIZE_VARIABLE from the API until it actually works
Jean-Marc Valin [Sat, 9 Nov 2013 00:54:03 +0000 (19:54 -0500)]
Hides OPUS_FRAMESIZE_VARIABLE from the API until it actually works

5 years agoMakes surround bandwidth decision based on the number of channels (duh!)
Jean-Marc Valin [Sat, 9 Nov 2013 00:53:27 +0000 (19:53 -0500)]
Makes surround bandwidth decision based on the number of channels (duh!)

5 years agoTaking into account the frame size in more encoder decisions
Jean-Marc Valin [Sat, 9 Nov 2013 00:24:10 +0000 (19:24 -0500)]
Taking into account the frame size in more encoder decisions

Stereo mode, stereo width, min bandwidth, VBR damping

5 years agoThis should be less confusing for static analyzers
Jean-Marc Valin [Tue, 5 Nov 2013 02:16:00 +0000 (21:16 -0500)]
This should be less confusing for static analyzers

Code behaviour is unchanged

5 years agoExposes --disable-float-api in autoconf
Jean-Marc Valin [Mon, 4 Nov 2013 17:26:50 +0000 (12:26 -0500)]
Exposes --disable-float-api in autoconf

5 years agoRemoves a float var that shouldn't have been there
Jean-Marc Valin [Tue, 29 Oct 2013 01:50:10 +0000 (21:50 -0400)]
Removes a float var that shouldn't have been there

Defining FIXED_POINT and DISABLE_FLOAT_API now leaves no float instruction

5 years agoFixes DISABLE_FLOAT_API build
Jean-Marc Valin [Tue, 29 Oct 2013 01:48:50 +0000 (21:48 -0400)]
Fixes DISABLE_FLOAT_API build

5 years agoMoves opus_packet_parse_impl() from opus_decoder.c to opus.c
Jean-Marc Valin [Mon, 28 Oct 2013 20:41:26 +0000 (16:41 -0400)]
Moves opus_packet_parse_impl() from opus_decoder.c to opus.c

Because it's indirectly used in the encoder (through the repackerizer).

5 years agoImplements OPUS_RESET_STATE for multi-stream encoder
Jean-Marc Valin [Mon, 28 Oct 2013 20:11:53 +0000 (16:11 -0400)]
Implements OPUS_RESET_STATE for multi-stream encoder

5 years agoAvoid a bogus uninitialized warning and simplify some code.
Gregory Maxwell [Mon, 28 Oct 2013 19:55:41 +0000 (12:55 -0700)]
Avoid a bogus uninitialized warning and simplify some code.