Граф коммитов

76 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 1ab5272de6 Bug 1298569 - Part 2. Replace -fpu=neon with CONFIG['NEON_FLAGS']. r=glandium
Use CONFIG['NEON_FLAGS'] on moz.build instead.

MozReview-Commit-ID: F6R532Hi5mg

--HG--
extra : rebase_source : 7243f316de3138c702f09b336f6d430e6c9c15b5
2016-09-14 18:34:19 +09:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ralph Giles cf08cc2a13 Bug 1288091 - Update to libopus 1.1.3. r=jmspeex
New upstream release.

This is a minor release focusing mainly on optimizations and bug fixes.

- Neon optimizations inproving performance on ARMv7 and ARMv8 by up to 15%
- Fixes some issues with 16-bit platforms (e.g. TI C55x)
- Fixes to comfort noise generation (CNG)
- Documenting that PLC packets can also be 2 bytes
- Includes experimental ambisonics work (--enable-ambisonics)

MozReview-Commit-ID: IcdnCok500X
2016-07-20 13:18:35 -04:00
Ted Mielczarek 5c634ab869 bug 1248016 - make ASFILES rules work with .s/.asm, get rid of ASM_SUFFIX. r=mshal
MozReview-Commit-ID: 1MK0Kud51vR

--HG--
extra : rebase_source : de7a7f11bfbbac1e8eccc34de39dd2d88d803b03
extra : amend_source : d7eddb71b050e0576e783c6ce8c67f66cfd88e13
2016-03-01 13:47:19 -05:00
Chris Peterson 1d19e74439 Bug 1242120 - Remove switch fallthrough to avoid -Wimplicit-fallthrough warning in dom/canvas/. r=mtseng
dom/canvas/WebGLContextGL.cpp:1329:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-22 21:36:49 -08:00
Ralph Giles cb77a8b5fe Bug 1239078 - Update libopus to 1.1.2 release. r=kinetik
This release fixes two bugs:

- Resetting the encoder or decoder state with OPUS_RESET_STATE would
  disable some run-time selected architecture-specific optimizations.

- In hybrid mode discontinuous transmission (DTX) operation, the
  comfort noise above 8 kHz was incorrectly estimated and could
  oscillate in time.
2016-01-12 17:10:53 -08:00
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
Ralph Giles fec56dfc59 Bug 1229475 - Update libopus to 1.1.1 release. r=jmspeex
Result of running the update script against a checkout of
the opus v1.1.1 release tag.
2016-01-05 09:11:16 -08:00
Ralph Giles ea12cb1278 Bug 1229475 - Fix gen-sources for libopus 1.1.1. r=cpearce
The source makefiles now have variables containing numerals,
mostly for simd versioning.
2016-01-05 09:11:14 -08:00
Mike Hommey b5c0f9f920 Bug 1224452 - Quote passthru variables. r=gps
Ideally, we should properly make and shell quote everything we print out
in makefiles, but that's a can of worms I don't want to open just yet. So
I'll limit myself to just passthru variables.
2015-11-26 08:51:02 +09:00
Mike Hommey 3de00b45dd Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.

The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Nicholas Nethercote 5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Nicholas Nethercote 24cd9d5226 Bug 1203005 - Remove all traces of -Wdeclaration-after-statement. r=glandium.
Even though we compile C code as C99, we used to need
-Wdeclaration-after-statement because MSVC didn't allow declarations after
statements.

However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.

--HG--
extra : rebase_source : 00a89fed733008785429827408a0c6c466971080
2015-09-09 04:57:44 -07:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Mike Hommey 806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Mike Hommey 7c306bdc19 Bug 1162845 - Move ASFLAGS to moz.build. r=mshal 2015-05-12 07:54:06 +09:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Ehsan Akhgari b8c700cc25 Bug 1146204 - Build libopus in unified mode; r=cpearce 2015-03-23 02:31:41 -04:00
Ralph Giles e8d1645b6c Bug 1139087 - Add moz.build bugzilla metadata for codecs. r=kinetik,gps 2015-03-03 11:36:00 -08:00
Randell Jesup 9494dbe58e Bug 1109248: webrtc.org update needs some floating point routines on Android rs=jesup 2015-01-29 18:33:36 -05: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
Mike Hommey df8f6a49e4 Bug 1025689 - Disable some libopus ARM features on < ARMv6. r=rillian 2014-08-21 07:44:31 +09:00
Mike Hommey 783457e511 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 8df584ba74 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 7e8af42b01 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 fab66080bc 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 2b39071dd1 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 b0d7761e3a backout 1bab9339e6d4 (bug 1001001) for breaking the build on windows 2014-04-25 11:38:06 -04:00
Trevor Saunders 8628b290e9 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 0cf105e825 Bug 946021 - Enable ARM assembly for Opus. r=ted,derf 2014-03-05 16:44:42 -08:00
Chris Peterson b1f2b0fdbd Bug 986794 - Suppress clang warnings in third-party code: libopus and libtheora. r=derf 2014-03-22 00:03:21 -07:00
Chris Peterson 2a22a90c78 Bug 973362 - Enable debug assertions for libopus. r=tterribe 2014-02-14 00:20:09 -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 4f3ab60319 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 202355538c Bug 945419 - Fix fixed-point opus stereo encode regression. r=jmspeex. 2013-12-02 15:00:00 -08: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 5427c4c87b 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 8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey b32a4ed166 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 682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey 2812d11fce 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 e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey dda5b915fe Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey ffe0380912 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 d2f6b7333c Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Ralph Giles 4bbb74b589 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 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