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

97 Коммитов

Автор SHA1 Сообщение Дата
Dan Minor 83a7068d62 Bug 1487049 - Set ENABLE_HARDENING for libopus; r=jmspeex
Reviewers: jmvalin

Tags: #secure-revision

Bug #: 1487049

Differential Revision: https://phabricator.services.mozilla.com/D4932

--HG--
extra : rebase_source : 3d7e33970e51389a1c8fac4f512fc894022463fd
2018-09-04 08:15:09 -04:00
Dan Minor 97e20c839b Bug 1487049 - Update libopus non-unified build files; r=jmspeex
Tags: #secure-revision

Bug #: 1487049

Differential Revision: https://phabricator.services.mozilla.com/D4723

--HG--
extra : rebase_source : c5f7f27fcfd0eddde40bcb4ad0630e0ecd03f045
2018-08-30 10:31:19 -04:00
Dan Minor 0647afe16d Bug 1487049 - Update libopus to v1.3-rc-19-g5cbd7d5f; r=jmspeex
Tags: #secure-revision

Bug #: 1487049

Differential Revision: https://phabricator.services.mozilla.com/D4722

--HG--
extra : rebase_source : be8730e9af46dae04923be4497132795f58fb2dd
2018-08-30 10:29:43 -04:00
Sylvestre Ledru a9961096c0 Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv

--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru 4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Ralph Giles 6860e65987 Bug 1376395 - opus: Update to the 1.2.1 release. r=rillian
New upstream release. Fixes an issue where the encoder would
incorrectly bandlimit signals to 12 kHz.

MozReview-Commit-ID: 91LsUhXDlxT

--HG--
extra : rebase_source : a7c476f073536521e614479e9e809a95b8873b07
2017-06-27 07:28:00 +02:00
Ralph Giles 9304715912 Bug 1374870 - opus: Update to the 1.2 release. r=kinetik
New upstream release with only minor cleanup after 1.2-rc1.

- Speech quality improvements especially in the 12-24 kbit/s range
- Improved VBR encoding for hybrid mode
- More aggressive use of wider speech bandwidth, including fullband speech
    starting at 14 kbit/s
- Music quality improvements in the 32-48 kb/s range
- More optimizations for x86 (SSEx) and ARM Neon
- Support for directly encoding packets up to 120 ms
- DTX support for CELT mode
- SILK CBR improvements
- Support for all of the fixes in draft-ietf-codec-opus-update-04 (the mono
    downmix and the folding fixes need --enable-update-draft)
- Many bug fixes, including integer overflows discovered through fuzzing
    (no security implications)

MozReview-Commit-ID: CDVdiu3R4qT

--HG--
extra : rebase_source : df73c8f7b86043237af16947d0fde12d81c122f4
2017-06-20 17:12:53 -07:00
Ralph Giles 00e22264e9 Bug 1374870 - opus: Update import script. r=kinetik
The rename patch was merged upstream.

MozReview-Commit-ID: 42gAnSL2tER

--HG--
extra : rebase_source : 716ee238454f1c017bccc14f056b9f67cecf5c99
2017-06-20 17:11:41 -07:00
Ralph Giles 0fbeea4132 Bug 1372767 - opus: enable SSE simd optimization. r=kinetik,ted
Opus now has SSE, SSE2 and SSE 4.1 optimizations. Enable these
in our build by adding the extra source files and defines.

MozReview-Commit-ID: BKMATikknBU

--HG--
extra : rebase_source : 4eea2529150fe5f4f374127968843e6aa29fecaf
2017-06-13 16:41:35 -07:00
Ralph Giles 5e590fea4b Bug 1372393 - opus: Fix unified build. r=kinetik
Apply patch from upstream fixing duplicate symbol issue
with the unified build.

MozReview-Commit-ID: 54yOXWanTkm

--HG--
extra : rebase_source : e03f024409bb7e225b456dc747f692ef9e755103
2017-06-13 10:51:30 -07:00
Ralph Giles f4988a7a24 Bug 1372393 - opus: Update to 1.2-rc1. r=kinetik
Update our in-tree implementation of the opus audio codec
to the 1.2 release candidiate. This gives us some wider
testing before making the first stable release of the
new series.

This release improves the quality and compactness of encoded
audio, and optimizes performance on ARM NEON platforms.

MozReview-Commit-ID: 30bM6iVBamd

--HG--
extra : rebase_source : 7a679a4ea419dbfb242aeebf220518e2f9397977
2017-06-12 14:29:32 -07:00
Ralph Giles 02f1758bb2 Bug 1372393 - opus: Fix nonunified build patch. r=kinetik
Update patch listing files which need to be built separately.

MozReview-Commit-ID: DTTQFGI8LyJ

--HG--
extra : rebase_source : 0eeaba1de3792f1d80d6dfddb4efe2f3ae59f0ae
2017-06-13 11:42:17 -07:00
Ralph Giles c3950c39fb Bug 1372393 - opus: Fix update script. r=kinetik
Handle numbers for SIMD extension versions and variant
spacing in the source file listings.

MozReview-Commit-ID: pbYwDyk2cL

--HG--
extra : rebase_source : e0ab07fc7e80de4a16ec2f93b8e97d25d2a0af53
2017-06-13 14:15:17 -07:00
Ralph Giles 1e804b6991 Bug 1372768 - Remove unused opus floating point code. r=kinetik
We were including opus_sources_float even in fixed_point builds
so webrtc could call the audio classifier. Now that that's been
removed in bug 1372622, we can drop the extra sources.

This applies only to Android arm builds.

MozReview-Commit-ID: FiOxRrCGBYm

--HG--
extra : rebase_source : 248f8ba6773dcb03369dc2f47b50fbe31dec8567
2017-06-13 17:30:21 -07:00
Ralph Giles ee5444cd1d Bug 1372751 - opus: remove gcc 4.8 work-around. r=kinetik
Our minimum-supported version of gcc is not 4.9, so we can
remove the work-around patch for the Internal Compiler Error
we encountered with the opus library and 4.8.

MozReview-Commit-ID: IS5zhU2z7fT

--HG--
extra : rebase_source : c9e183a3503ebd672a7b3e82c016147f61662cdc
2017-06-13 16:11:05 -07:00
Ralph Giles 1951777591 Bug 1367208 - Update to libopus 1.1.5. r=kinetik
This fixes a quality issue with the surround-sound encoder
handling loud signals.

MozReview-Commit-ID: EkzEqs9io6N

--HG--
extra : rebase_source : 15e31af6865f0726beae0a988cb986bd182bac8e
2017-05-23 13:38:45 -07:00
Wes Kocher 03061ecb63 Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher
MozReview-Commit-ID: 3ItJdCtiOul

--HG--
extra : rebase_source : 2db0d75589a0bd8f28bdd35f015949a1194bc47d
2017-03-22 17:23:12 -07:00
Ralph Giles 0ffd3075b9 Bug 1332953 - Update libopus to 1.1.4. r=kinetik
This fixes a wrap-around issue in SILK LSF stabilization code,
addressing CVE-2017-0381.

MozReview-Commit-ID: 7yCUoSKNOcl

--HG--
extra : rebase_source : da94105d911d7e15b09a549b4b67083a1c2acd93
2017-02-14 11:03:07 -08:00
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