Commit Graph

43 Commits

Author SHA1 Message Date
Chris Peterson
a2d050eb5e Bug 973362 - Enable debug assertions for libopus. r=tterribe 2014-02-14 00:20:09 -08:00
Mike Shal
20b804ed04 Bug 875013 - Remove VPATH in media/libopus; r=gps, r=tterribe 2014-01-09 15:44:24 -05:00
Ralph Giles
0591310ec5 Bug 945419 - Update libopus to 1.1 final. r=cpearce
The code change only affects the opus custom modes which we do
not use, so this commit effectively just changes the version number.
2013-12-04 14:00:00 -08:00
Ralph Giles
42eafefa2c Bug 945419 - Fix fixed-point opus stereo encode regression. r=jmspeex. 2013-12-02 15:00:00 -08:00
Ralph Giles
6db2c6175b 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
d5fc7150b3 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
755f24f8b5 Bug 944538 - Update libopus to 1.1rc2. r=cpearce
Bumped to include the MULT16_32_P16 bugfix.
2013-11-28 14:20:00 -08:00
Mike Hommey
fdd3247a81 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
b038245b8d Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Cykesiopka
e0bcd6aebc Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Ralph Giles
70b844f99e Bug 928132 - Remove obsolete 'restrict' define. r=derf
From 80b8408c1466a245b5fdbb13df71d863a0dab292 Mon Sep 17 00:00:00 2001
This is no longer necessary now that we've updated to more recent
reference code and causes problems on some compilers.
2013-10-17 15:06:47 -07:00
Ralph Giles
fcbd652345 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
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Jacek Caban
67595ac9f4 Bug 884222 - Use __declspec(dllexport) in Opus on mingw. r=derf 2013-06-19 16:14:05 +02:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
b3016f1aab Bug 784841 - Part 18u: Convert /media; r=glandium 2013-02-25 12:47:22 -08:00
Ralph Giles
65d654d29c 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
23bef1c8e1 Bug 811544 - Build fixed-point opus on arm. r=ted
Enable MOZ_OPUS_FIXED inside the opus makefile if
MOZ_SAMPLE_TYPE_FLOAT32 is not defined. This is the
general proxy for floating point audio support in
other areas of the code.

We could have defined MOZ_OPUS_FIXED directly in
the configure script (and still could) but I liked
this better.
2012-11-13 17:32:28 -08:00
Jan Beich
6a97f5c963 Bug 789656 - Use lrintf() in libopus on BSDs. r=rillian 2012-09-13 18:47:12 -04:00
Ralph Giles
178bb65cbb Bug 790381 - Update libopus to 1.0.0 release. r=derf
Update files to match the opus-1.0.0 source release.
This corresponds to the spec implementation included
in RFC 6716.

Changes from the previous in-tree version (draft-12):

 - Add extern "C" protection on opus_multistream.h.
 - Align to sizeof(void*) instead of 4 bytes.
 - Copyright header updates for IETF publication.
 - Minor documentation and whitespace fixes.
2012-09-11 13:08:00 -07:00
Ralph Giles
39481f9737 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
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ralph Giles
e1858f41bb 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
Ralph Giles
60387e39d6 Bug 759806 - Revert MPL2 on BSD opus source files - r=gerv
Bug 716478 added MPL2 license headers to a couple of (headerless) files
in media/libopus. These files are third-party code and covered until the
associated BSD license of the upstream project.

Although the files in question are either source file listings, or
programmatically generated, and as such not copyrightable, labelling
them as MPL2 is technically incorrect.

--HG--
extra : rebase_source : 0d639832b481755e5385ae4465149dee5b2fc5ad
2012-05-31 14:31:24 +12:00
Ginn Chen
0b17209798 Bug 758487 Fix libopus compile on Solaris/SPARC r=rillian 2012-05-28 09:33:35 +08:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jacek Caban
0d47ca679c Bug 754797 - libopus fails to compile on mingw - r=rillian
Define HAVE_LRINTF when compiling with GCC on Windows to avoid
the MSVC assembly implementation in libopus/celt/float_cast.h.
2012-05-15 12:18:14 +02:00
Ralph Giles
6d8fc20fe0 Bug 751607 - Update opus codec to the draft-12 source. r=derf
Updates our copy of the libopus reference implementation to
match http://tools.ietf.org/html/draft-ietf-codec-opus-12

This uses the v0.9.10/draft-12 tag from the upstream git repo.

Summary of changes:

- License header updates
- Warning fixes
- Comment improvements
2012-05-03 10:04:19 -07:00
Ed Morley
d5eb6f3aad Merge mozilla-central to fx-team to pick up PGO fixes 2012-05-03 11:24:50 +01:00
Ralph Giles
714e73f010 Bug 674225 - Add libopus to the mozilla build system. - r=ted
This builds the opus reference library in media/libopus.
We support both fixed and floating point builds, switched
by MOZ_OPUS_FIXED. Currently this isn't defined by anything
but should probably offer a configure option, and default
to true on arm.

Thanks to Tim Terriberry for additional review.
2012-04-30 16:20:22 -07:00
Ralph Giles
ac76521150 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