Commit Graph

16 Commits

Author SHA1 Message Date
Ralph Giles
7095f1cc1d Bug 1239078 - Bump libopus update script for 1.1.2. r=kinetik
New upstream release.

This fixes a unified build issue with MAX_PULSES and
incorporates our TonalityAnalysisState initializer patch.

Issues remain in the unified build with QA and
opus_custom_*coder_get_size declarations, so we still
need to build those separately.
2016-01-12 17:10:53 -08:00
Ralph Giles
87046baee5 Bug 1229475 - Fix unified build. r=cpearce
This was hacked in without fixing the update script to propagate it.

Put it back manually for now, and add two new conflicting files.
2016-01-05 09:11:21 -08:00
Ralph Giles
3510632385 Bug 1229475 - libopus: Patch out asm flags for run_analysis. r=jmspeex
Patch from upstream.

This still requires that the webrtc client code call the new
tonality_analysis_init() function before first use of the
TonalityAnalysisState struct.
2016-01-05 09:11:18 -08:00
Juan Gomez
59052ffb3b Bug 1056337 - Work around toolchain issues with arm gcc 4.8 and opus. r=rillian
The androidabi-4.8 toolchain we'd liek to use for B2G ICS builds cannot
compile this section of the opus source. Force-disable optimizations
for the offending code in order to avoid the ICE.
2014-11-26 15:23:00 -08:00
Gian-Carlo Pascutto
0cf105e825 Bug 946021 - Enable ARM assembly for Opus. r=ted,derf 2014-03-05 16:44:42 -08:00
Mike Shal
76c948f8fd Bug 875013 - Remove VPATH in media/libopus; r=gps, r=tterribe 2014-01-09 15:44:24 -05:00
Ralph Giles
53ee519e08 Bug 945419 - Use upstream opus git version format. r=derf
We only want tags which match the release naming convention,
and --dirty is very important for catching local changes.
2013-12-02 14:59:00 -08:00
Ralph Giles
3d9bdab380 Bug 944506 - Update libopus/update.sh for DEFINES in moz.build. r=derf DONTBUILD
Bug 874266 moved the preprocessor defines to moz.build but didn't
make the corresponding change to the update script.
2013-11-28 14:11:00 -08:00
Ralph Giles
26abc3b5f2 Bug 916807 - Update opus to 1.1 prerelease. r=derf
Update our opus implementation to a prerelease of 1.1. This
brings many performance and encoder improvements and we believe
it is stable enough to switch. This import does not enable any
of the new assembly optimizations.

The imported code is https://git.xiph.org/opus.git master
commit f2446c25c6519bae190152f7a579310b83dc43fd.
2013-09-16 14:48:00 -07:00
Jacek Caban
68b8dca77d Bug 884222 - Use __declspec(dllexport) in Opus on mingw. r=derf 2013-06-19 16:14:05 +02:00
Ralph Giles
b38e6e22a7 Bug 817179 - Fix an issue with Opus padding larger than 16. r=tterribe
Packets with with more than 2^24 padding length bytes could
overflow the packet length calculation. This change avoids
the wrap around behaviour.
2012-11-30 15:02:23 -08:00
Ralph Giles
9e1fc83261 Bug 790381 - Filter out makefile comments in opus update.sh. r=derf
We read *_sources.mk from the opus source tree to get a list
of needed files. As of the 1.0.0 release, those files have
comment lines, which the previous sed one-liner failed to
strip out.

The earlier version attempted this with 's/^#.8//', but
the whole file has been read into memory so we can
remove the line continuation escapes. However, the
newlines are still present, so we can replace this
with 's/#[^\n]*\(\n\)/\1\g' Which replaces everything
from a comment character to a newline with a newline.

We have to capture and subsitute the final newline instead
of using a literal \n because portable sed doesn't expand
that character on the right-hand side. GNU sed will,
however.
2012-09-12 16:59:04 -04:00
Ralph Giles
058b1c7520 Bug 776661 - Initialize all of the bytes in the incoming data structure in silk_get_TOC; r=rillian
Fixes a warning under clang in dead code. Ehsan's original patch
converted to upstream-carrying style and applied by rillian.
2012-07-23 17:42:37 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ed Morley
0f35229bca Merge mozilla-central to fx-team to pick up PGO fixes 2012-05-03 11:24:50 +01:00
Ralph Giles
4b5cc3352d Bug 674225 - Add the opus draft-11 source to the tree. - r=derf
This is the IETF Opus audio codec reference implementation.
The source was copied into the tree using the included
update.sh script, from a checkout of the v0.9.9 git tag,
which corresponds to the source code published in
https://tools.ietf.org/id/draft-ietf-codec-opus-11.txt
2012-04-30 16:20:22 -07:00