Commit Graph

5156 Commits

Author SHA1 Message Date
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
Sebastian Hengst
9b6197930c merge mozilla-central to autoland. r=merge a=merge 2017-06-15 20:13:40 +02:00
Sebastian Hengst
1b26da1b2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 11:17:07 +02:00
Nils Ohlmeier [:drno]
4252852455 Bug 1373144: turn multiple msid's error into warning. r=bwc
MozReview-Commit-ID: 5jxHFAsbvRf

--HG--
extra : rebase_source : 5ac29c3dc12f4b8f24846a9d50cccaf2df66bb7c
2017-06-14 22:25:36 -07:00
Nils Ohlmeier [:drno]
f6cddda6c5 Bug 1373103: log TCP read callback log message only if more then 5 callback are pending. r=mjf
MozReview-Commit-ID: E0oAG89XGwg

--HG--
extra : rebase_source : 21d14ddd28d819a498fce03d1b484e5a82e22a0d
2017-06-14 18:35:59 -07:00
Dan Minor
8e114807a7 Bug 1341285 - Fix lint errors in WebRtcAudioTrack.java; r=drno
--HG--
extra : rebase_source : 84981127cde93ca9de53d56ee29a4d8b00aebfeb
2017-06-14 08:38:07 -04:00
Carsten "Tomcat" Book
8726f73b05 Backed out changeset ff8a5005cfa0 (bug 1371016) for making linux bc2 browser_windowStateContainer.js crashes in @ RunWatchdog more worse 2017-06-14 14:38:29 +02: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
Jan Beich
ccc649dbc7 Bug 1341285 - Add missing BSD bits lost during the rebase. r=jesup 2017-06-14 20:58:52 -04:00
Ralph Giles
b2fcea0bf2 Bug 1371016 - aom: Add /arch:AVX2 when compiling under msvc. r=ted
Propagate the libvpx AVX flag changes from bug 1279593.

This flag tells the compiler to generate AVX code
in these modules intead of using normal SSE instructions
which can trigger expensive state-switching.

NB: This should only be set for AVX-specific implementation
files; setting this flag for general code will invalidate
our runtime simd support checks.

MozReview-Commit-ID: 5BVeCTsNlup

--HG--
extra : rebase_source : 219b5912a220e960e45ec43a532f407fe18eb41b
2017-06-07 12:34:31 -07:00
Nils Ohlmeier [:drno]
66305cc2e0 Bug 1371161: port SDP file parser to LibFuzzer r=decoder
MozReview-Commit-ID: FJhOdy2ZVqf

--HG--
rename : media/webrtc/signaling/fuzztest/sdp_file_parser.cpp => media/webrtc/signaling/fuzztest/sdp_parser_libfuzz.cpp
extra : rebase_source : f12c0e593212e077b694ef5732568e19c0a7fbed
2017-06-09 16:36:38 -07:00
Wes Kocher
ebf35623cd Merge mozilla-central to autoland a=merge
UPGRADE_NSS_RELEASE
2017-06-13 18:57:32 -07:00
Wes Kocher
95da7820b1 Backed out changeset e9227c17f3bc (bug 1372622) to unblock merging mozilla-central to autoland a=backout
MozReview-Commit-ID: 82CarYra7u1
2017-06-13 18:55:44 -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
3677fc81cc Bug 1372622 - webrtc: Remove AudioClassifier. r=drno
This is no longer called from anywhere, and because it calls
into private libopus APIs it needs regular changes. Remove
to reduce the maintenance effort.

It was removed upstream per
https://bugs.chromium.org/p/webrtc/issues/detail?id=5676

MozReview-Commit-ID: 3N5wL7iAwkH

--HG--
extra : rebase_source : e04c4272019bf09cae6ebedde77f8d75fe082d31
2017-06-12 18:13:18 -07:00
Ralph Giles
2ccddcb958 Bug 1371016 - aom: Add /arch:AVX2 when compiling under msvc. r=ted
Propagate the libvpx AVX flag changes from bug 1279593.

This flag tells the compiler to generate AVX code
in these modules intead of using normal SSE instructions
which can trigger expensive state-switching.

NB: This should only be set for AVX-specific implementation
files; setting this flag for general code will invalidate
our runtime simd support checks.

MozReview-Commit-ID: 5BVeCTsNlup

--HG--
extra : rebase_source : 219b5912a220e960e45ec43a532f407fe18eb41b
2017-06-07 12:34:31 -07:00
Carsten "Tomcat" Book
d67ef71097 merge mozilla-inbound to mozilla-central a=merge 2017-06-13 12:09:48 +02:00
Wes Kocher
6e40405064 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 5Agk5fuwDGU
2017-06-12 17:11:10 -07:00
Wes Kocher
f8412cddff Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 4j8ngmg8FAD
2017-06-12 17:02:56 -07:00
Carsten "Tomcat" Book
98c02d6711 Merge mozilla-central to mozilla-inbound 2017-06-12 15:38:17 +02:00
Kershaw Chang
104a4b2e9c Bug 1343743 - Part6: Pass a labeled event target to StunAddrsRequestChild's constructor., r=bwc
Pass an event target argument in constructor, so we can call gNeckoChild->SetEventTargetForActor before sending constructor message to parent.
2017-06-12 00:25:00 +02:00
Kershaw Chang
d17d3c6887 Bug 1343743 - Part4: Pass a labeled main thread event target in nsIUDPSocketChild::bind, r=jdm
Add an event target parameter in nsIUDPSocketChild::bind, so we can use this labeled event target to dispatch runnables in UDPSocketChild.
2017-06-12 00:24:00 +02:00
Kershaw Chang
a2f2bae579 Bug 1343743 - Part3-1: Use system group's event target for TCPSocketChild's constructor, r=bwc
Pass an event target argument in constructor, so we can call gNeckoChild->SetEventTargetForActor before sending constructor message to parent.
2017-06-12 00:23:00 +02:00
Dan Glastonbury
a74de3d86f Bug 1372057 - Limit pulse-rust to nightly builds. r=kinetik
MozReview-Commit-ID: Ev4GSuEN5Xa

--HG--
extra : rebase_source : 0e3910ffa437963810d5f42d5e2f3486e72801ef
2017-06-12 11:26:33 +10:00
Wes Kocher
101940382d Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Paul Ellenbogen
ad7b0fb2a3 Bug 1371362: Remove unused audio and video stream counters of PeerConnectionImpl r=bwc
MozReview-Commit-ID: AtZRVqCyF4A

--HG--
extra : rebase_source : 5c395ecd15a8403de8181675a61f2545a5a14299
2017-06-08 11:17:08 -07:00
Petr Sumbera
479e4d175f Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
Paul Ellenbogen
8837b303c7 Bug 1371841: Only send PeerConnectionImpl::RecordEndOfCallTelemetry telemetry when connection information is exchanged. r=bwc
MozReview-Commit-ID: Dw6HMtdngD5

--HG--
extra : rebase_source : af9c6165c34afbddd1dd429c151a835acd36d742
2017-06-09 14:21:33 -07:00
Nils Ohlmeier [:drno]
cf31c442c8 Bug 1370601 - Make it possible for offerer and answerer to switch roles in jsep_session_unittest.cpp; r=bwc
MozReview-Commit-ID: A34A5ER92oP

--HG--
extra : rebase_source : 05ebb3889b8eed8c4074f6d15f3c2d2e39d48507
2017-04-07 17:29:43 -07:00
Masatoshi Kimura
7f80207800 Bug 1371536 - Suppress more MSVC warnings in media/libspeex_resampler. r=padenot
MozReview-Commit-ID: DVUorkhSBTW

--HG--
extra : rebase_source : f0903adb6b8046b8a69695887de75b876ff1ce70
2017-06-09 14:54:47 +09:00
Dan Glastonbury
0170a00894 Bug 1371319 - null out pulse pointers on destruction. r=kinetik
To avoid a double freeing of pa_context and pa_threaded_mainloop on
error, null out pointers once the object is freed.

Added assertions that pointer are null after destroy()'ing.

MozReview-Commit-ID: 1Ycmkrc2kWe

--HG--
extra : rebase_source : 1074ba307a45f9714b07c66d112a1b4b190c4540
2017-06-09 10:33:17 +10:00
Ralph Giles
d3ba166c62 Bug 1370975 - aom: Use Visual Studio 14 configuration. r=gerald
Prefer the vs14 targets since we build for Windows
with cl instead of cygwin's gcc. This corresponds
to Visual Studio 2015.

In practice there is little difference, other the
upstream build system assuming a Visual Studio style
output directory, but this should help pick up any
compiler-specific work-arounds.

MozReview-Commit-ID: 4etKKIEJWws

--HG--
extra : rebase_source : 5d03abdda718ed7811dc5d22cc56586d84d207d9
2017-06-06 14:07:11 -07:00
Carsten "Tomcat" Book
b9d94b34d4 merge mozilla-inbound to mozilla-central a=merge 2017-06-08 14:43:56 +02:00
Glenn Randers-Pehrson
cec136b369 Bug 1368407 - Check for too-large PNG width. r=tn
--HG--
extra : source : 76404bf85ef79bacff8fd82b364698af17275d6b
2017-06-03 14:37:00 -04:00
Ryan VanderMeulen
f6491af56c Backed out changeset 76404bf85ef7 for landing with the wrong bug number in the commit message. 2017-06-07 22:43:58 -04:00
Glenn Randers-Pehrson
a20fe96562 Bug 1367496 - Check for too-large PNG width. r=tn
--HG--
extra : rebase_source : 0c4a6e639e803bceff110cab600aadb3779a79fe
2017-06-03 14:37:00 -04:00
Dan Glastonbury
839fad3c98 Bug 1360060 - P3: device_collection_destroy for cubeb-pulse-rs. r=kinetik
MozReview-Commit-ID: Hvn12h4O4FE

--HG--
extra : rebase_source : 9a689bcc516c1a3d363c2996bce67a083970aad9
2017-05-24 19:33:19 +10:00
Dan Glastonbury
d8f7d93bff Bug 1360060 - P2: Add patch to libcubeb/update.sh r=kinetik
MozReview-Commit-ID: CPSGDKtrJZI

--HG--
extra : rebase_source : 14dbf4d6af2104f6043f4269cc8522ce946e8ffe
2017-05-24 20:48:00 +10:00
Dan Glastonbury
11c2d37f9d Bug 1360060 - P1: Enable selection of cubeb-pulse-rust over cubeb-pulse. r=kinetik
MozReview-Commit-ID: GN5POBqy56W

--HG--
extra : rebase_source : 0af5972b29c2209beef82ef109e0b5f10613848e
2017-04-27 10:51:52 +10:00
Ralph Giles
fcb2bf2018 Bug 1369950 - Update aom. r=gerald
Update our in-tree copy of the aom reference implementation
of the av1 video codec to upstream git commit id
aadbb0251996c8ebb8310567bea330ab7ae9abe4.

This picks up recent changes and addresses a build issue on win64.

MozReview-Commit-ID: 34LXXzFtEFN

--HG--
extra : rebase_source : 0face926928de6bd1c6a1726df912bd20e363e60
2017-05-10 14:16:55 -07:00
Masatoshi Kimura
7713108b41 Bug 1370062 - turn off more warnings in ffvpx. r=rillian
MozReview-Commit-ID: JqG9XXxBQfv

--HG--
extra : rebase_source : 089cde35ba41b5520e02bc03151c4cfe760c7184
2017-06-04 17:42:50 +09:00
Paul Adenot
08dd28ea34 Bug 1369967 - Remove one use of a stack-allocated buffer and fix another buffer's size. r=jesup
Two things here:
- The default stack size of the thread pool is not very big, it's better to
stick the buffer we need on the object.
- There was a unit mismatch between bytes and samples. This changes the name to
make the unit more obvious, and fixes its usage by dividing by the sample size.

MozReview-Commit-ID: 19bbS6iGvTw

--HG--
extra : rebase_source : bb5c2c074b8c1c3d69e002c8d82f4f72cc57582d
2017-06-05 11:42:43 +02:00
Jean-Yves Avenard
fe9bd75acb Bug 1367128: P2. Add methods to trim index. r=gerald
The MoofParser's used by the MP4Demuxer, can grow very large as it keeps adding new tables and is never reset.

Once we have demuxed all data present in the MP4 media segment, we no longer require the samples table for that media segment and we can drop it from the index.

Unfortunately. some websites (in particular some using live video) use media segments containing a single sample in order to (incorrectly) reduce latency. While this is a very bad approach from a performance perspective it does happen in the wild.

MozReview-Commit-ID: I66jxcScmKM

--HG--
extra : rebase_source : d0029b74df94b92dc0a115c77f6e560b30e5ed5c
2017-06-02 21:15:10 +02:00
Jean-Yves Avenard
1e3d2193d7 Bug 1367128: P1. Remove unused member. r=alwu
MozReview-Commit-ID: 1SQaAdePmyf

--HG--
extra : rebase_source : 41418340e20f42bf6ff669a02d43ab0b4a3ee2fa
2017-06-02 18:07:36 +02:00
Gerald Squelart
7e4d1255aa Bug 1369326 - Make mp4_demuxer::ResourceStream use a MediaResourceIndex - r=cpearce
Access the MediaResource through a MediaResourceIndex, which brings caching
reads (and therefore can avoid some of the repeated locking and IOs from
consecutive read operations).

MozReview-Commit-ID: Crk6ZgLWdw8

--HG--
extra : rebase_source : 9cc8c3577747829e8bd5931e9f48c782d6423fe6
2017-05-31 18:17:37 +12:00
Masatoshi Kimura
a39099bca1 Bug 1166955 - Stop including nsAutoPtr.h from BasePin.cpp. r=jesup
MozReview-Commit-ID: CCvJyVmH1JI

--HG--
extra : rebase_source : 72cf22b38f7c4d3ef5c315351f0eca942345b752
2017-06-03 17:59:29 +09:00
Wes Kocher
269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Nathan Froyd
a98cff2fb4 Bug 1369791 - turn off more warnings for ffvpx; r=rillian 2017-06-02 17:07:17 -04:00