opus.git
3 years agoOgg Opus Draft: bump release date, version, and more cleanup. draft-ietf-codec-oggopus-04
Ralph Giles [Sat, 9 Aug 2014 06:07:36 +0000 (23:07 -0700)]
Ogg Opus Draft: bump release date, version, and more cleanup.

3 years agoOgg Opus Draft: Clean up R128 tag descriptions.
Ralph Giles [Fri, 8 Aug 2014 21:16:50 +0000 (14:16 -0700)]
Ogg Opus Draft: Clean up R128 tag descriptions.

Promote the new tag definitions to a separate subsection,
balance tags, improve wording, and document our motivation
for the R128 tags.

3 years agoOgg Opus Draft: Fix a typo.
Ralph Giles [Fri, 8 Aug 2014 20:46:41 +0000 (13:46 -0700)]
Ogg Opus Draft: Fix a typo.

Thanks to Calvin Walton for pointing this out.

3 years agoOgg Opus Draft: Add R128_ALBUM_GAIN.
Ralph Giles [Fri, 8 Aug 2014 20:41:25 +0000 (13:41 -0700)]
Ogg Opus Draft: Add R128_ALBUM_GAIN.

Patch from Greg Maxwell in response to implementor feedback.
https://www.ietf.org/mail-archive/web/codec/current/msg03053.html

3 years agoOgg Opus Draft: apply some clarifications from derf.
Ralph Giles [Fri, 8 Aug 2014 20:22:18 +0000 (13:22 -0700)]
Ogg Opus Draft: apply some clarifications from derf.

3 years agoMerge remote-tracking branch 'origin/master' into derf_rtp_edits
Jean-Marc Valin [Wed, 30 Jul 2014 17:41:28 +0000 (13:41 -0400)]
Merge remote-tracking branch 'origin/master' into derf_rtp_edits

Conflicts:
doc/draft-ietf-payload-rtp-opus.xml

3 years agoRTP draft edits (normative changes).
Timothy B. Terriberry [Sat, 26 Jul 2014 05:33:55 +0000 (22:33 -0700)]
RTP draft edits (normative changes).

Here are my proposals to resolve a few issues with the current
 draft.
See the corresponding message to the list for details.

3 years agoRTP draft edits (no normative changes).
Timothy B. Terriberry [Sat, 26 Jul 2014 04:45:46 +0000 (21:45 -0700)]
RTP draft edits (no normative changes).

This is the result of an editing pass for clarity and consistency.

3 years agoAdd ~ to the arguments of genversion.bat
Joshua Milas [Mon, 23 Jun 2014 02:24:48 +0000 (20:24 -0600)]
Add ~ to the arguments of genversion.bat

genversion.bat would fail if an argument was passed with quotations.
This is because the quotations were not being stripped before using
them as variables, causing the _temp files not being created.

Adding ~ to the arguments causes windows to strip the quotations,
enabling it to be used with path names containing spaces and the
MSVS pre-build event.

Signed-off-by: Ralph Giles <giles@mozilla.com>
3 years agoUsing 64-bit acculumation for C0 in silk_burg_modified()
Marcello Caramma (mcaramma) [Tue, 1 Jul 2014 14:41:14 +0000 (10:41 -0400)]
Using 64-bit acculumation for C0 in silk_burg_modified()

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoRTP draft: avoiding confusion with 2119 language
Jean-Marc Valin [Mon, 30 Jun 2014 21:13:16 +0000 (17:13 -0400)]
RTP draft: avoiding confusion with 2119 language

3 years agoUpdate Opus RTP payload
Jean-Marc Valin [Mon, 30 Jun 2014 18:13:46 +0000 (14:13 -0400)]
Update Opus RTP payload

Addresses comments from several months ago

3 years agomulti-stream fix when setting bitrate to AUTO, MAX, or small values
Jean-Marc Valin [Sat, 21 Jun 2014 05:16:46 +0000 (01:16 -0400)]
multi-stream fix when setting bitrate to AUTO, MAX, or small values

OPUS_AUTO should now work fine, while using OPUS_BITRATE_MAX would still
be a bad idea for controlling CBR rate for multistream. The encoder should
now throw an error early on if max_data_bytes is just too small to do anything.

3 years agoMerge branch 'exp_mips_opt'
Jean-Marc Valin [Fri, 20 Jun 2014 22:14:08 +0000 (18:14 -0400)]
Merge branch 'exp_mips_opt'

3 years agoFixes CNG overflows from the previous commit
Koen Vos [Fri, 20 Jun 2014 05:42:49 +0000 (01:42 -0400)]
Fixes CNG overflows from the previous commit

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoFixes CNG to address the DTX issue reported by Gonzalo Mariano
Koen Vos [Fri, 20 Jun 2014 00:07:55 +0000 (20:07 -0400)]
Fixes CNG to address the DTX issue reported by Gonzalo Mariano

- Bug fix: the CNG synthesis filter output consisted of only the prediction
  values, now added the input to that.
- CNG excitation level now takes into account the level from the PLC (since
  both PLC and CNG can be active at the same time).
- CNG is now called before PLC_glue() to smoothen the transition out of CNG.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoWhitespace fixes exp_mips_opt
Jean-Marc Valin [Thu, 19 Jun 2014 20:16:07 +0000 (16:16 -0400)]
Whitespace fixes

3 years agoUsing Makefile.mips to buidl the MIPS code
Jean-Marc Valin [Thu, 19 Jun 2014 08:11:20 +0000 (04:11 -0400)]
Using Makefile.mips to buidl the MIPS code

3 years agoMIPS optimizations
Rhishikesh Agashe [Thu, 19 Jun 2014 07:40:09 +0000 (03:40 -0400)]
MIPS optimizations

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoFixes a bug in silk_sum_sqr_shift() that was causing issues with Burg.
Jean-Marc Valin [Wed, 18 Jun 2014 21:06:32 +0000 (17:06 -0400)]
Fixes a bug in silk_sum_sqr_shift() that was causing issues with Burg.

When an overflow happened in silk_sum_sqr_shift(), the sample pair causing
the overflow would be counted twice. This would lead to the C0 in
silk_burg_modified() being too large and cause problems on loud, tonal
signals. Thanks to Marcello Caramma for tracking down the problem.

3 years agoAdds SIG2WORD16() to fixed_debug.h
Jean-Marc Valin [Wed, 18 Jun 2014 04:52:16 +0000 (00:52 -0400)]
Adds SIG2WORD16() to fixed_debug.h

3 years agoFix type conversion warning.
Ralph Giles [Wed, 14 May 2014 16:46:22 +0000 (09:46 -0700)]
Fix type conversion warning.

Use abs(sweep_bps) instead of fabs(). "sweep_bps" is an integer,
and on some compilers this line generates a warning.

Patch from Tina le Grand.
Reviewed by Jean-Marc Valin

3 years agoSuppress some coverity false positives.
Gregory Maxwell [Thu, 17 Apr 2014 01:29:26 +0000 (18:29 -0700)]
Suppress some coverity false positives.

3 years agoFix iOS builds with assembly.
Timothy B. Terriberry [Wed, 26 Mar 2014 19:58:04 +0000 (12:58 -0700)]
Fix iOS builds with assembly.

The patch in 76e831d917ff got us most of the way there, but
 out-of-tree builds required a second Makefile.am rule, which was
 missing @ARM2GNU_PARAMS@.
Also, the arm2gnu.pl was terminating argument processing on any
 argument beginning with --, rather than an argument that was just
 -- by itself (as is the normal convention in GNU programs).
That meant it never saw the --apple flag even when it was passed.

Thanks to Jonathan Lennox for the report and for testing.

3 years agoMake the arm2gnu.pl converter handle apple specific details
Martin Storsjo [Wed, 19 Mar 2014 19:36:39 +0000 (21:36 +0200)]
Make the arm2gnu.pl converter handle apple specific details

This allows building the arm assembly for iOS.

This checks for the __APPLE__ preprocessor built-in define to
determine whether this extra handling should be enabled.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoAdd separate labels for the start of public functions
Martin Storsjo [Wed, 19 Mar 2014 19:36:38 +0000 (21:36 +0200)]
Add separate labels for the start of public functions

This avoids having to use the public symbol name when jumping here,
on platforms where the public symbols have an underscore prefix.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoFixes encoder/decoder classification of ctl() requests.
Bruno Randolf [Mon, 24 Feb 2014 21:08:08 +0000 (16:08 -0500)]
Fixes encoder/decoder classification of ctl() requests.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoarm: Use the UAL syntax for instructions
Martin Storsjo [Sat, 8 Feb 2014 10:59:18 +0000 (12:59 +0200)]
arm: Use the UAL syntax for instructions

This is required in order to build using the built-in assembler
in clang.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoFixes an aliasing bug in the MDCT when the frame size isn't a multiple of 4.
Marcello Caramma (mcaramma) [Mon, 24 Feb 2014 20:06:46 +0000 (15:06 -0500)]
Fixes an aliasing bug in the MDCT when the frame size isn't a multiple of 4.

In that case, the yp0 and yp1 ended up aliasing for the last element,
despite being marked as restrict.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoAdds missing license for arm2gnu.pl
Jean-Marc Valin [Mon, 24 Feb 2014 19:55:00 +0000 (14:55 -0500)]
Adds missing license for arm2gnu.pl

3 years agoOggOpus draft updates. draft-ietf-codec-oggopus-03
Ralph Giles [Fri, 7 Feb 2014 23:41:55 +0000 (15:41 -0800)]
OggOpus draft updates.

Bump version and date for draft-ietf-codec-oggopus-03 submission.

Move more text into figure pre/postamble to fix rendering issues
in the xml2rfc html output. These need to be manually re-indented
in the txt output before submission. :(

Fix resampling frequency choice algorithm, which was missing a word.

Fix some spelling and make some minor enphasis changes.

3 years agoFixes internal check_control_input() error checking.
maks [Thu, 6 Feb 2014 22:32:47 +0000 (17:32 -0500)]
Fixes internal check_control_input() error checking.

The code was wrong, but did not have any impact on user-visible behaviour
because all it did was change an internal-only error code.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
3 years agoSkips comb filter overlap when the parameters didn't change.
Jean-Marc Valin [Fri, 31 Jan 2014 20:38:27 +0000 (15:38 -0500)]
Skips comb filter overlap when the parameters didn't change.

3 years agoMoves opus_packet_get_samples_per_frame() to opus.c
Jean-Marc Valin [Thu, 30 Jan 2014 16:29:35 +0000 (11:29 -0500)]
Moves opus_packet_get_samples_per_frame() to opus.c

3 years agoMinor div optimization -- reducing denominators
Jean-Marc Valin [Thu, 30 Jan 2014 16:27:37 +0000 (11:27 -0500)]
Minor div optimization -- reducing denominators

3 years agoOptimizing divisions with a signed numerator
Jean-Marc Valin [Thu, 30 Jan 2014 16:16:24 +0000 (11:16 -0500)]
Optimizing divisions with a signed numerator

3 years agoSpeeding up ec_tell_frac()
Jean-Marc Valin [Wed, 29 Jan 2014 15:16:53 +0000 (10:16 -0500)]
Speeding up ec_tell_frac()

3 years agoFix surround encoding
Mark Harris [Sun, 26 Jan 2014 00:32:18 +0000 (16:32 -0800)]
Fix surround encoding

Broken by 306d7f5a308e30ce10ba1a1dcdbeeb81de3b2872

3 years agoSpeeding up extract_collapse_mask() slightly
Jean-Marc Valin [Thu, 23 Jan 2014 05:02:12 +0000 (00:02 -0500)]
Speeding up extract_collapse_mask() slightly

3 years agoUsing SSAT in SIG2WORD16() on ARMv6
Jean-Marc Valin [Thu, 23 Jan 2014 00:22:05 +0000 (19:22 -0500)]
Using SSAT in SIG2WORD16() on ARMv6

3 years agoUnrolled version of the comb filter for ARM (eliminates MOVs)
Jean-Marc Valin [Tue, 21 Jan 2014 21:23:24 +0000 (16:23 -0500)]
Unrolled version of the comb filter for ARM (eliminates MOVs)

3 years agoMaking decode_pulses() compute the L2-norm on the fly
Jean-Marc Valin [Tue, 21 Jan 2014 20:17:01 +0000 (15:17 -0500)]
Making decode_pulses() compute the L2-norm on the fly

3 years agoSpeed up the comb filter on ARM by using MAC16_32_Q16()
Jean-Marc Valin [Tue, 21 Jan 2014 16:07:57 +0000 (11:07 -0500)]
Speed up the comb filter on ARM by using MAC16_32_Q16()

3 years agoSave more integer divisions on ARM when we know the operands are positive
Jean-Marc Valin [Tue, 21 Jan 2014 15:39:33 +0000 (10:39 -0500)]
Save more integer divisions on ARM when we know the operands are positive

3 years agoFixes use of uninitialized values in dynalloc_analysis()
Jean-Marc Valin [Mon, 20 Jan 2014 23:45:57 +0000 (18:45 -0500)]
Fixes use of uninitialized values in dynalloc_analysis()

3 years agooggopus: use https where possible.
Ralph Giles [Mon, 20 Jan 2014 22:38:05 +0000 (14:38 -0800)]
oggopus: use https where possible.

3 years agoUpdate 'running code' reference, now RFC 6982.
Ralph Giles [Mon, 20 Jan 2014 21:40:36 +0000 (13:40 -0800)]
Update 'running code' reference, now RFC 6982.

3 years agoUse xml.resource.org bibxml in the oggopus draft.
Ralph Giles [Mon, 20 Jan 2014 21:39:24 +0000 (13:39 -0800)]
Use xml.resource.org bibxml in the oggopus draft.

These aren't available over https, but actually work, unlike
the old reference urls.

3 years agoAbbreviate the first stereo matrix to fit 72 columns.
Ralph Giles [Mon, 20 Jan 2014 20:52:38 +0000 (12:52 -0800)]
Abbreviate the first stereo matrix to fit 72 columns.

Fixes a nit.

3 years agoAdd NOT RECOMMENDED to our rfc 2119 boilerplate.
Ralph Giles [Mon, 20 Jan 2014 20:47:32 +0000 (12:47 -0800)]
Add NOT RECOMMENDED to our rfc 2119 boilerplate.

Fixes a nit. According to idnits, 'NOT RECOMMENDED' is optional,
but we use it. Other words, like SHALL which we don't use are
required in the boilerplate.

3 years agoCapitalize Vorbis.
Ralph Giles [Mon, 20 Jan 2014 20:33:22 +0000 (12:33 -0800)]
Capitalize Vorbis.

3 years agoUse organizations authors in the ogg draft.
Ralph Giles [Mon, 20 Jan 2014 20:32:11 +0000 (12:32 -0800)]
Use organizations authors in the ogg draft.

This seems to be the correct way to represent institutional authors
in the references.

3 years agoUsing a table on ARM for unsigned division by small (<=256) integers.
Jean-Marc Valin [Mon, 20 Jan 2014 21:32:16 +0000 (16:32 -0500)]
Using a table on ARM for unsigned division by small (<=256) integers.

Saves 0.6% for 64 kb/s and 1.8% for 128 kb/s when decoding on arm7tdmi.

3 years agoMinor cleanup in dynalloc_analysis()
Jean-Marc Valin [Sun, 19 Jan 2014 06:42:04 +0000 (01:42 -0500)]
Minor cleanup in dynalloc_analysis()

3 years agoAdds a median filter to make dynalloc_analysis() more conservative
Jean-Marc Valin [Sun, 19 Jan 2014 06:31:00 +0000 (01:31 -0500)]
Adds a median filter to make dynalloc_analysis() more conservative

This should prevent extreme dynalloc behaviour in cases where some
bands are heavily attenuated.

3 years agoDon't say 'it' where being specific is better
Ron [Sun, 19 Jan 2014 05:33:44 +0000 (16:03 +1030)]
Don't say 'it' where being specific is better

3 years agoFix copypasta fail
Ron [Sun, 19 Jan 2014 05:22:31 +0000 (15:52 +1030)]
Fix copypasta fail

3 years agoFormally introduce the terms mode and configuration
Ron [Sun, 19 Jan 2014 04:50:05 +0000 (15:20 +1030)]
Formally introduce the terms mode and configuration

and use them more strictly in the rest of the text.

3 years agoTypo fix
Ron [Sun, 19 Jan 2014 03:18:21 +0000 (13:48 +1030)]
Typo fix

3 years agoUse 'pre-skip' consistently with the hyphen. draft-ietf-codec-oggopus-02
Ralph Giles [Sat, 18 Jan 2014 00:16:46 +0000 (16:16 -0800)]
Use 'pre-skip' consistently with the hyphen.

3 years agoMissed another 'preskip flag'.
Ralph Giles [Sat, 18 Jan 2014 00:16:15 +0000 (16:16 -0800)]
Missed another 'preskip flag'.

3 years agoPreskip isn't a flag.
Ralph Giles [Sat, 18 Jan 2014 00:13:49 +0000 (16:13 -0800)]
Preskip isn't a flag.

Comment from mark4o.

3 years agoAdd 'surname' to WAVE reference.
Ralph Giles [Sat, 18 Jan 2014 00:07:59 +0000 (16:07 -0800)]
Add 'surname' to WAVE reference.

3 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.

3 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

3 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

3 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.

3 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.

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

3 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.

3 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.

3 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.

3 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.

3 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.

3 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.

3 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.

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

3 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

3 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>
3 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.

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

3 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

3 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.

3 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

3 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.

3 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>
3 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

3 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.

3 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.

3 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>
3 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)

3 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

3 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.

3 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

3 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

3 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

3 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

3 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

3 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

3 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