Commit Graph

7428 Commits

Author SHA1 Message Date
Simon Giesecke
810fd1f507 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in media. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D65494

--HG--
extra : moz-landing-system : lando
2020-03-06 09:21:47 +00:00
Mike Shal
79b0948e24 Bug 1620035 - Convert media/libdav1d/generate_source.py to py3; r=firefox-build-system-reviewers,rstewart
Depends on D65380

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

--HG--
extra : moz-landing-system : lando
2020-03-05 17:04:25 +00:00
Jean-Yves Avenard
6d9da8a736 Bug 1616736 - P2. Update ffmpeg copy to 4.2. r=jolin
Also fix AARCH64 build to be neon optimised where available, this leads to a 72% improvement in decoding speed.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 22:18:34 +00:00
Nico Grunbaum
993c130149 Bug 1619859 - Correct default direction of extmaps in WebRTC-SDP CAPI;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D65283

--HG--
extra : moz-landing-system : lando
2020-03-04 12:01:23 +00:00
Tooru Fujisawa
9939f785e0 Bug 1612515 - Part 4: Move RunCBindgen.py to /build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D64541

--HG--
rename : layout/style/RunCbindgen.py => build/RunCbindgen.py
extra : moz-landing-system : lando
2020-02-28 14:07:15 +00:00
Dan Minor
797c55c4d9 Bug 1525393 - Disable flexibleMode in Vp9EncoderImpl; r=bryce
Updating to libvpx 1.8.2 removes one of the structures used for configuring
flexibleMode in the webrtc.org vp9 encoder code. Upstream commit
be71a1ee08c9ee56ba0f92955ea946556ae6593e removes the broken code and at the
same time disables flexibleMode. It remained disabled until commit
76be29555d50f5ec9b5bba1f14588e940e81fd4d landed, three months later. During
that time, a large number of VP9 screensharing fixes were made. It is not
practical to cherrypick all of those changes, so this commit disables
flexibleMode pending the next upstream webrtc.org merge.

This is a partial cherry pick of be71a1ee08c9ee56ba0f92955ea946556ae6593e.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 18:32:34 +00:00
Dan Minor
db02a83292 Bug 1525393 - Run generate_sources_mozbuild.sh; r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D63924

--HG--
extra : moz-landing-system : lando
2020-02-27 18:32:00 +00:00
Dan Minor
f1d63c19a5 Bug 1525393 - Update libvpx to 1.8.2; r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D63922

--HG--
rename : media/libvpx/libvpx/third_party/libwebm/LICENSE.TXT => media/libvpx/libvpx/third_party/libyuv/LICENSE
rename : media/libvpx/libvpx/vp8/common/copy_c.c => media/libvpx/libvpx/vp8/encoder/copy_c.c
rename : media/libvpx/libvpx/vp8/encoder/x86/encodeopt.asm => media/libvpx/libvpx/vp8/encoder/x86/block_error_sse2.asm
rename : media/libvpx/libvpx/vp8/common/x86/copy_sse2.asm => media/libvpx/libvpx/vp8/encoder/x86/copy_sse2.asm
rename : media/libvpx/libvpx/vp8/common/x86/copy_sse3.asm => media/libvpx/libvpx/vp8/encoder/x86/copy_sse3.asm
extra : moz-landing-system : lando
2020-02-27 18:57:02 +00:00
Dan Minor
5a236f8a82 Bug 1525393 - Changes to update scripts for libvpx 1.8.2; r=bryce
This makes the following changes:
* Change update.py to use Python 3.
* Have update.py remove some unused portions of the upstream library.
* Update local patches to apply against libvpx 1.8.2.
* Remove local patches that are no longer necessary.
* Update vs build configurations in generate_sources_mozbuild.sh.
* Remove the #define for stdint from VPXDecoder.h.
* Disable AVX512 support
* Make sure float_control_word.asm is included in win64 builds

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

--HG--
extra : moz-landing-system : lando
2020-02-27 18:04:20 +00:00
Dan Minor
ac11c8363f Bug 1616667 - Fix remaining clippy complaints; r=mjf
Depends on D64381

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

--HG--
extra : moz-landing-system : lando
2020-02-26 17:28:29 +00:00
Dan Minor
d6bac2eaba Bug 1616667 - Add handle_mdns_socket function; r=mjf
Depends on D64380

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

--HG--
extra : moz-landing-system : lando
2020-02-26 17:22:08 +00:00
Dan Minor
6d49ac2885 Bug 1616667 - Add handle_queries function; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D64380

--HG--
extra : moz-landing-system : lando
2020-02-26 17:24:17 +00:00
Michael Froman
2785473eb6 Bug 1618214 - fix slash character handling in nr_reg_is_valid. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D64378

--HG--
extra : moz-landing-system : lando
2020-02-26 15:31:00 +00:00
Andrew McCreight
4babb2b5ab Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Ciure Andrei
00dd87f6f4 Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Andrew McCreight
b197e1f783 Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
Andrew Osmond
82ca219a41 Bug 1618288 - Remove header that should not have been added.
Differential Revision: https://phabricator.services.mozilla.com/D64433

--HG--
extra : moz-landing-system : lando
2020-02-26 18:55:20 +00:00
Andrew Osmond
4b093e6235 Bug 1618288 - Update libwebp to version 1.1.0. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D64431

--HG--
extra : moz-landing-system : lando
2020-02-26 18:42:06 +00:00
David Major
e5cd04c721 Bug 1616943 - Run GTests on Windows ASan builds r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D64210

--HG--
extra : moz-landing-system : lando
2020-02-25 22:43:49 +00:00
Andrea Marchesini
82a54122f0 Bug 1617925 - Get rid of 2 unused variables in PeerConnectionImpl, r=drno
Differential Revision: https://phabricator.services.mozilla.com/D64107

--HG--
extra : moz-landing-system : lando
2020-02-25 18:40:11 +00:00
Eric Rahm
b9ba9be64d Bug 1322095 - Part 1b: Update callbacks to support moved args and convert nsAutoPtr usage. r=jya
In order to support the update to move args when invoking callbacks we:
 - Convert anything that was using WrapRunnable with `nsAutoPtr` to `UniquePtr`
 - Convert anything that was using a non-const ref as a param to either a
   const ref or a by-val copy

Addtionally we convert the remaining `nsAutoPtr` usage to `UniquePtr`.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 22:43:53 +00:00
Eric Rahm
9f7262d417 Bug 1322095 - Part 1a: Move WrapRunnable's args when running. r=gerald
In order to support `UniquePtr` as an arg type for `WrapRunnable` as well as
avoid unnecessary copies in the future we need to switch to moving args when
invoking a runnable.

This updates `WrapRunnables` so that they move their args when running and
adds/updates some tests. To accomplish this `std::apply` is swapped in for our
bespoke implementation and `std::tuple` is used to hold the args. We then
`std::move` the args when `Run` is called. We also needed to support an r-value
`Class` param for the runnable method on a bound object versions could work
with `UniquePtr` as the holder class.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 22:43:42 +00:00
Simon Giesecke
9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Dorel Luca
d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke
59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
Mike Shal
d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal
ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian
e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal
e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Matthew Gregan
24e4bee487 Bug 1612512 - Update to audio_thread_priority 0.22. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D62664

--HG--
extra : moz-landing-system : lando
2020-02-13 10:28:09 +00:00
Simon Giesecke
b50347f917 Bug 1611415 - Prefer using std::move over forget. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
Dan Minor
7f1850d512 Bug 1578073 - Suppress MissingPermission lint in Camera2Session; r=snorp
Depends on D61861

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

--HG--
extra : moz-landing-system : lando
2020-02-12 17:19:50 +00:00
Dan Minor
861b4fb94f Bug 1578073 - Remove native calls in Histogram.java; r=ng
Getting the JNI calls here to work requires a good amount of webrtc.org
machinery. It might be worth setting that up the next time we do an upstream
merge, but for now, it is a lot simpler to just remove the affected code,
given that we are not interested in collecting this data anyway.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 17:07:22 +00:00
Dan Minor
a8cd129226 Bug 1578073 - Update generated video capture moz.build file; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61856

--HG--
extra : moz-landing-system : lando
2020-02-11 17:06:09 +00:00
Dan Minor
34429eea6a Bug 1578073 - Update gn generated json files; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61855

--HG--
extra : moz-landing-system : lando
2020-02-11 17:06:00 +00:00
Dan Minor
f7ae08ef60 Bug 1578073 - Remove android video capture from BUILD.gn; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61854

--HG--
extra : moz-landing-system : lando
2020-02-11 17:04:54 +00:00
Dan Minor
2388bf1ad9 Bug 1578073 - Fix warning: [cast] redundant cast to int; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61852

--HG--
extra : moz-landing-system : lando
2020-02-11 17:04:04 +00:00
Dan Minor
8d69b72363 Bug 1578073 - Move android video capture code to dom/media/systemservices; r=jib
Although originally part of webrtc.org, this code has subsequently been
removed by upstream. Moving it to under dom/media should make it clearer that
this is code that we are maintaining and simplify future upstream merges.

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

--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc => dom/media/systemservices/android_video_capture/device_info_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h => dom/media/systemservices/android_video_capture/device_info_android.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc => dom/media/systemservices/android_video_capture/video_capture_android.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h => dom/media/systemservices/android_video_capture/video_capture_android.h
extra : moz-landing-system : lando
2020-02-11 17:03:13 +00:00
Dan Minor
90a9c5e77e Bug 1578073 - Add newer webrtc.org android camera code; r=ng
This is an import of the Android camera code as of upstream revision
26762d0425ffd15af9ddc3ae669373668827ea00 (Dec 20, 2019). This takes just the
files required to build the camera related classes.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 17:02:41 +00:00
Matthew Gregan
07f5f0bc92 Bug 1614547 - Ensure AudioIPC client threads call PROFILER_UNREGISTER_THREAD. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62402

--HG--
extra : moz-landing-system : lando
2020-02-12 22:20:11 +00:00
Matthew Gregan
63b801f787 Bug 1614533 - Generate AudioIPC FFI bindings with cbindgen. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62388

--HG--
extra : moz-landing-system : lando
2020-02-12 22:15:39 +00:00
shindli
91aa0518dd Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE 2020-02-12 20:13:29 +02:00
Simon Giesecke
f604a47fa5 Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Boris Zbarsky
c1c6ce37b3 Bug 1613827. Be more careful with SharedBuffer::Create callsites. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D61959

--HG--
extra : moz-landing-system : lando
2020-02-11 16:58:33 +00:00
Brindusan Cristian
5d70119bb0 Backed out 12 changesets (bug 1578073) for linting failure on Camera2Session.java. CLOSED TREE
Backed out changeset 20e979be216b (bug 1578073)
Backed out changeset e361b04a8502 (bug 1578073)
Backed out changeset 8aae0721f09c (bug 1578073)
Backed out changeset 381836e3bad0 (bug 1578073)
Backed out changeset 0c214e8034bb (bug 1578073)
Backed out changeset b91603fdd9de (bug 1578073)
Backed out changeset 8533a03e36ca (bug 1578073)
Backed out changeset 2126f6d9bffc (bug 1578073)
Backed out changeset 39a853c82a71 (bug 1578073)
Backed out changeset 2a8e1c02cede (bug 1578073)
Backed out changeset 55e2a4c5cab9 (bug 1578073)
Backed out changeset 27b45ca46f24 (bug 1578073)

--HG--
rename : dom/media/systemservices/android_video_capture/device_info_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc
rename : dom/media/systemservices/android_video_capture/device_info_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : dom/media/systemservices/android_video_capture/video_capture_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc
rename : dom/media/systemservices/android_video_capture/video_capture_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h
2020-02-11 17:22:50 +02:00
Dan Minor
f28bbffcea Bug 1612060 - Update libdav1d to 0.5.2; r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D61223

--HG--
extra : moz-landing-system : lando
2020-01-31 13:28:26 +00:00
Dan Minor
f84c5a8d02 Bug 1578073 - Remove native calls in Histogram.java; r=ng
Getting the JNI calls here to work requires a good amount of webrtc.org
machinery. It might be worth setting that up the next time we do an upstream
merge, but for now, it is a lot simpler to just remove the affected code,
given that we are not interested in collecting this data anyway.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 17:12:22 +00:00
Dan Minor
a131dc6542 Bug 1578073 - Update generated video capture moz.build file; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61856

--HG--
extra : moz-landing-system : lando
2020-02-10 17:11:01 +00:00
Dan Minor
4c29d99dc4 Bug 1578073 - Update gn generated json files; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61855

--HG--
extra : moz-landing-system : lando
2020-02-10 17:10:33 +00:00