Commit Graph

60 Commits

Author SHA1 Message Date
Mike Hommey
d03760e105 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Mike Hommey
bf048111fa Bug 1162845 - Move ASFLAGS to moz.build. r=mshal 2015-05-12 07:54:06 +09:00
David Major
c92c020b89 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Ehsan Akhgari
c597406c8c Bug 1146204 - Build libopus in unified mode; r=cpearce 2015-03-23 02:31:41 -04:00
Ralph Giles
ff7af06951 Bug 1139087 - Add moz.build bugzilla metadata for codecs. r=kinetik,gps 2015-03-03 11:36:00 -08:00
Randell Jesup
4d5ff5bccb Bug 1109248: webrtc.org update needs some floating point routines on Android rs=jesup 2015-01-29 18:33:36 -05:00
Juan Gomez
b7284ea92f 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
Mike Hommey
d493b7fade Bug 1025689 - Disable some libopus ARM features on < ARMv6. r=rillian 2014-08-21 07:44:31 +09:00
Mike Hommey
1cf15ce508 Bug 1024260 - Fixup dependencies in media/libopus/Makefile.in to avoid celt_pitch_xcorr_arm-gnu.o being always rebuilt. r=ted,r=me 2014-06-13 10:05:26 +09:00
Wes Kocher
7db6a9b53c Back out two changesets (bug 1024260) for android build failures on a CLOSED TREE
* * *
Backed out changeset 9d92de0ada7d (bug 1024260)
* * *
Backed out changeset 5264e512b53c (bug 1024260)
2014-06-12 17:41:25 -07:00
Mike Hommey
07a0927480 Fixup for bug 1024260 because mkdir_deps can only be used after including rules.mk. r=me 2014-06-13 09:19:16 +09:00
Mike Hommey
9ef43aa872 Bug 1024260 - Fixup dependencies in media/libopus/Makefile.in to avoid celt_pitch_xcorr_arm-gnu.o being always rebuilt. r=ted 2014-06-13 08:44:48 +09:00
Trevor Saunders
77d6d32713 Bug 1001001 - Stop exporting opus_ symbols from libxul. r=rillian,ted
Opus doesn't seem to provide a define for being built as a static
library, but it allows us to override what it would define OPUS_EXPORT
to be.  So we can just define OPUS_EXPORT to the empty string and then
those symbols will be hidden in libxul just like anything else.
2014-04-24 13:39:00 -07:00
Trevor Saunders
afa46741c9 backout 1bab9339e6d4 (bug 1001001) for breaking the build on windows 2014-04-25 11:38:06 -04:00
Trevor Saunders
8d65cfed89 bug 1001001 - stop exporting opus_ symbols from libxul r=rilian, ted
opus doesn't seem to provide a define for being built as a static
library, but it allows us to override what it would define OPUS_EXPORT
to be.  So we can just define OPUS_EXPORT to the empty string and then
those symbols will be hidden in libxul just like anything else.
2014-04-24 13:44:48 -04:00
Gian-Carlo Pascutto
a3b8bcbd4b Bug 946021 - Enable ARM assembly for Opus. r=ted,derf 2014-03-05 16:44:42 -08:00
Chris Peterson
29e3f1660d Bug 986794 - Suppress clang warnings in third-party code: libopus and libtheora. r=derf 2014-03-22 00:03:21 -07:00
Chris Peterson
a4d46a2138 Bug 973362 - Enable debug assertions for libopus. r=tterribe 2014-02-14 00:20:09 -08:00
Mike Shal
d499fc211f Bug 875013 - Remove VPATH in media/libopus; r=gps, r=tterribe 2014-01-09 15:44:24 -05:00
Ralph Giles
3c37d93ad1 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
c249600760 Bug 945419 - Fix fixed-point opus stereo encode regression. r=jmspeex. 2013-12-02 15:00:00 -08:00
Ralph Giles
1572573e76 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
34404252c9 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
b45d38eba2 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
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 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
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
a65383e1e9 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
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
d7b6f95761 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
a3710e5c11 Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Ralph Giles
1d07e22f8a 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
3ae1b38243 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
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
4922ccbc0a 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
5f8b5163e8 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
f67f3ba0b3 Bug 884222 - Use __declspec(dllexport) in Opus on mingw. r=derf 2013-06-19 16:14:05 +02:00
Ted Mielczarek
110919af49 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
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 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
a59d40f143 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
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
fbba84d69e Bug 784841 - Part 18u: Convert /media; r=glandium 2013-02-25 12:47:22 -08:00
Ralph Giles
49b3f0b8d9 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
d0026ef2a2 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
20135b5efc Bug 789656 - Use lrintf() in libopus on BSDs. r=rillian 2012-09-13 18:47:12 -04:00
Ralph Giles
a35bcd032f 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
1478f4c36d 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