Byron Campen
f4d6283c34
Bug 1568296: Implement "stopping" state for RTCRtpTransceiver. r=jib,mjf,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D175261
2023-08-08 18:56:38 +00:00
Paul Adenot
8718196ddd
Bug 1823953 - Move libtheroa to libgkcodecs. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D182576
2023-08-08 12:12:54 +00:00
Paul Adenot
374d4dcd7e
Bug 1833654 - Remove libtremor from the tree. r=karlt,media-playback-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D181519
2023-08-08 12:12:45 +00:00
Paul Adenot
70a99eb632
Bug 1833654 - Switch android to f32. r=alwu,geckoview-reviewers,owlish
...
This is removing defines that control the preferred sample type and fixes all
uses.
Differential Revision: https://phabricator.services.mozilla.com/D181520
2023-08-08 12:12:44 +00:00
Paul Adenot
ae77ff9996
Bug 1828912 - Vendor libopus-related files in ffvpx. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181517
2023-08-08 12:12:43 +00:00
Paul Adenot
7cd491b638
Bug 1826382 - Update README_MOZILLA to mention that it can now handle PCM. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D175157
2023-08-08 12:12:43 +00:00
Paul Adenot
86837f45cd
Bug 1826382 - Vendor necessary files to decode all pcm types needed using ffmpeg. r=alwu,media-playback-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D174655
2023-08-08 12:12:41 +00:00
Paul Adenot
dc1e05bb52
Bug 1823953 - Update ffvpx's README_MOZILLA to mention that it can use libvorbis now. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D175154
2023-08-08 12:12:41 +00:00
Paul Adenot
0211d2ff14
Bug 1823953 - Loop over avcodec_receive_frame when decoding using FFmpegAudioDecoder. r=alwu,media-playback-reviewers
...
It seems to work without, but the officiel ffmpeg command line utility and the
example for their internal library all do this.
This also splits the big DoDecode function into three sub-function for clarity,
as it was a bit hard with the #if statements.
Differential Revision: https://phabricator.services.mozilla.com/D173460
2023-08-08 12:12:40 +00:00
Paul Adenot
070b084f92
Bug 1823953 - Import libvorbis decoder integration into ffvpx. r=alwu,media-playback-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D173457
2023-08-08 12:12:40 +00:00
Paul Adenot
fa478cfce0
Bug 1823953 - Create libgkcodecs, move libvorbis and libogg to it. r=firefox-build-system-reviewers,geckoview-reviewers,glandium,owlish
...
We need to use libvorbis both from libavcodec and libxul during a transition
period while re-architecturing things, so this moves libvorbis and libogg (a
dependency) to a separate shared lib, linked when needed.
Differential Revision: https://phabricator.services.mozilla.com/D173458
2023-08-08 12:12:39 +00:00
Paul Adenot
c5f8f7659c
Bug 1823953 - Update ffmpeg to revision 37cde570bc2. r=alwu,media-playback-reviewers
...
A regular update to current tip prior to adding a new decoder.
Differential Revision: https://phabricator.services.mozilla.com/D173456
2023-08-08 12:12:39 +00:00
Paul Adenot
256c23224c
Bug 1847009 - Reapply patch on top of cubeb. r=cubeb-reviewers,chunmin
...
Depends on D185292
Differential Revision: https://phabricator.services.mozilla.com/D185293
2023-08-08 09:22:35 +00:00
Paul Adenot
c09ffeeb26
Bug 1847009 - Update libcubeb to revision ac8474a5929. r=cubeb-reviewers,chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D185292
2023-08-08 09:22:35 +00:00
Makoto Kato
ccf77507b4
Bug 1845651 - Part 2. Convert OpenMAX DL assembler to clang compatible. r=padenot
...
Newer Android NDK has no GNU assembler, so I convert OpenMAX DL in Gecko to
clang compatible assembler.
Gecko's OpenMAX DL is imported from Cromium tree, but it is removed from
Chromium (https://crbug.com/917355 ). So there is no upstream code now.
Also, if using MOZ_LIBAV_FF on arm32 build, MOZ_LIBAV_FF is slower than
OpenMAX DL.
Convolution reverb - https://padenot.github.io/webaudio-benchmark/index.html
- OpenMAX DL ... 16x
- MOZ_LIBAV_FF ... 13x
Depends on D184717
Differential Revision: https://phabricator.services.mozilla.com/D184719
2023-08-05 07:16:21 +00:00
Makoto Kato
98a5909e60
Bug 1845651 - Part 1. Remove unused OpenMAX DL assembler files. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D184717
2023-08-05 07:16:20 +00:00
Cristian Tuns
5d6b51256b
Backed out 57 changesets (bug 1839389, bug 1840869, bug 1840399, bug 1840402, bug 1823953, bug 1828912, bug 1826382, bug 1837160, bug 1839391, bug 1833654) for causing build bustages in ogg_<something> CLOSED TREE
...
Backed out changeset 61356e1447e3 (bug 1823953)
Backed out changeset 85785505b6d6 (bug 1823953)
Backed out changeset 46a61cbfe8a8 (bug 1833654)
Backed out changeset 83e3de80337b (bug 1833654)
Backed out changeset 1a10c12874ac (bug 1840399)
Backed out changeset 6b087145b67f (bug 1833654)
Backed out changeset b9ac857ad43f (bug 1840399)
Backed out changeset 4b841e8dd033 (bug 1823953)
Backed out changeset 650e35803834 (bug 1823953)
Backed out changeset c11b58ac0709 (bug 1823953)
Backed out changeset c0249c90bc31 (bug 1823953)
Backed out changeset 8929288d5aec (bug 1823953)
Backed out changeset 828792b886bd (bug 1823953)
Backed out changeset 873f1d4a8875 (bug 1840869)
Backed out changeset a25abd05302c (bug 1823953)
Backed out changeset d4b1eb442c36 (bug 1840399)
Backed out changeset c25509d72a96 (bug 1840399)
Backed out changeset 0f72a0626a28 (bug 1840402)
Backed out changeset 82e7574364ce (bug 1840399)
Backed out changeset 93073105f063 (bug 1840399)
Backed out changeset 56ec8e3405e9 (bug 1840399)
Backed out changeset ff15dad37ab8 (bug 1840399)
Backed out changeset 0655ebd61eda (bug 1840399)
Backed out changeset 7bca1ae06c7d (bug 1828912)
Backed out changeset 8a5a849cfe5f (bug 1828912)
Backed out changeset 3d8422a2038a (bug 1828912)
Backed out changeset f08ee5de9370 (bug 1823953)
Backed out changeset a4eb210620ff (bug 1823953)
Backed out changeset aa8914cd55be (bug 1839391)
Backed out changeset 3ea1f43e4024 (bug 1823953)
Backed out changeset 3efe02ffa1c8 (bug 1826382)
Backed out changeset 81c4553ec23d (bug 1839391)
Backed out changeset 130894e4a781 (bug 1839391)
Backed out changeset 9a0247b0fc85 (bug 1839391)
Backed out changeset 11a923064382 (bug 1839391)
Backed out changeset 98ffb66160c3 (bug 1837160)
Backed out changeset a80dda9a220a (bug 1837160)
Backed out changeset 251b4ef97a2b (bug 1837160)
Backed out changeset 7372632eb32f (bug 1837160)
Backed out changeset c5d54bc3ee26 (bug 1839389)
Backed out changeset b232ec1bbc2d (bug 1833654)
Backed out changeset fc7ba125c2fe (bug 1833654)
Backed out changeset 8a47f6882e61 (bug 1823953)
Backed out changeset e29810541b53 (bug 1828912)
Backed out changeset bcf10730c8c9 (bug 1828912)
Backed out changeset 8df8290b6c33 (bug 1826382)
Backed out changeset 2811d12803cf (bug 1826382)
Backed out changeset 3fc718561ec9 (bug 1826382)
Backed out changeset 7827183776e1 (bug 1823953)
Backed out changeset a3eb5f228d9a (bug 1826382)
Backed out changeset 3113ad2e0987 (bug 1823953)
Backed out changeset 4b1dc01525af (bug 1823953)
Backed out changeset f7f4a7585ceb (bug 1823953)
Backed out changeset 93042f1becec (bug 1823953)
Backed out changeset b9ca30a0a066 (bug 1823953)
Backed out changeset 1000c4a6a92a (bug 1823953)
Backed out changeset 05dc13775fd6 (bug 1823953)
2023-08-01 09:37:39 -04:00
Paul Adenot
574c6658fc
Bug 1823953 - Move libtheroa to libgkcodecs. r=alwu DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D182576
2023-08-01 12:41:16 +00:00
Paul Adenot
03e1982151
Bug 1833654 - Remove libtremor from the tree. r=karlt,media-playback-reviewers,sylvestre DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D181519
2023-08-01 12:41:07 +00:00
Paul Adenot
ef157fa46f
Bug 1833654 - Switch android to f32. r=alwu,geckoview-reviewers,owlish DONTBUILD
...
This is removing defines that control the preferred sample type and fixes all
uses.
Differential Revision: https://phabricator.services.mozilla.com/D181520
2023-08-01 12:41:07 +00:00
Paul Adenot
a4f56b65c9
Bug 1828912 - Vendor libopus-related files in ffvpx. r=alwu DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D181517
2023-08-01 12:41:06 +00:00
Paul Adenot
d7d8bf4831
Bug 1826382 - Update README_MOZILLA to mention that it can now handle PCM. r=alwu DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D175157
2023-08-01 12:41:05 +00:00
Paul Adenot
4c7bb6c7fd
Bug 1823953 - Teach FFmpegAudioDecoder to now decode PCM. r=alwu,media-playback-reviewers DONTBUILD
...
This initialize the sample rate and channel layout attribute in the ffmpeg codec
codec context, necessary for PCM.
It's needed for some codecs but not all of them, and the decoder that wraps
libvorbis is one of them. This is necessary when a codec capabilities flag
include: `AV_CODEC_CAP_CHANNEL_CONF`. All channels are decoded as they are
present in the file, and the sample rate is also necessary when this flag is
present.
https://searchfox.org/mozilla-central/rev/8433b62e54fd30663e82f090c4d31554531a2e66/dom/media/platforms/ffmpeg/ffmpeg57/include/libavcodec/avcodec.h#911-914
Differential Revision: https://phabricator.services.mozilla.com/D174654
2023-08-01 12:41:05 +00:00
Paul Adenot
37daaf0278
Bug 1826382 - Vendor necessary files to decode all pcm types needed using ffmpeg. r=alwu,media-playback-reviewers DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D174655
2023-08-01 12:41:05 +00:00
Paul Adenot
0f2d2fe416
Bug 1823953 - Update ffvpx's README_MOZILLA to mention that it can use libvorbis now. r=alwu DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D175154
2023-08-01 12:41:04 +00:00
Paul Adenot
7b6f0b2fe5
Bug 1823953 - Loop over avcodec_receive_frame when decoding using FFmpegAudioDecoder. r=alwu,media-playback-reviewers DONTBUILD
...
It seems to work without, but the officiel ffmpeg command line utility and the
example for their internal library all do this.
This also splits the big DoDecode function into three sub-function for clarity,
as it was a bit hard with the #if statements.
Differential Revision: https://phabricator.services.mozilla.com/D173460
2023-08-01 12:41:04 +00:00
Paul Adenot
e667d69127
Bug 1823953 - Import libvorbis decoder integration into ffvpx. r=alwu,media-playback-reviewers DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D173457
2023-08-01 12:41:04 +00:00
Paul Adenot
3cc8cb3732
Bug 1823953 - Create libgkcodecs, move libvorbis and libogg to it. r=firefox-build-system-reviewers,geckoview-reviewers,glandium,owlish DONTBUILD
...
We need to use libvorbis both from libavcodec and libxul during a transition
period while re-architecturing things, so this moves libvorbis and libogg (a
dependency) to a separate shared lib, linked when needed.
Differential Revision: https://phabricator.services.mozilla.com/D173458
2023-08-01 12:41:03 +00:00
Paul Adenot
f11857f18e
Bug 1823953 - Update ffmpeg to revision 37cde570bc2. r=alwu,media-playback-reviewers DONTBUILD
...
A regular update to current tip prior to adding a new decoder.
Differential Revision: https://phabricator.services.mozilla.com/D173456
2023-08-01 12:41:03 +00:00
Paul Adenot
c1119ffcc8
Bug 1846158 - Reapply patch on top of libcubeb. r=cubeb-reviewers,kinetik
...
Depends on D184920
Differential Revision: https://phabricator.services.mozilla.com/D184921
2023-08-01 07:07:08 +00:00
Paul Adenot
92ee586b0d
Bug 1846158 - Update libcubeb to revision b9af56cee7. r=cubeb-reviewers,kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D184920
2023-08-01 07:07:08 +00:00
Paul Adenot
5a12f41818
Bug 1845499 - Reapply in-tree patch on cubeb_aaudio.cpp. r=cubeb-reviewers,kinetik
...
Depends on D184568
Differential Revision: https://phabricator.services.mozilla.com/D184569
2023-07-27 08:25:03 +00:00
Paul Adenot
6fc835a70b
Bug 1845499 - Adjust patch for cubeb_aaudio.cpp. r=cubeb-reviewers,kinetik
...
Depends on D184567
Differential Revision: https://phabricator.services.mozilla.com/D184568
2023-07-27 08:25:03 +00:00
Paul Adenot
8f1042933b
Bug 1845499 - Update libcubeb to revision 41344b3a. r=cubeb-reviewers,kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D184567
2023-07-27 08:25:03 +00:00
Updatebot
8340c57e0c
Bug 1845026 - Update libjxl to 69d06e17771830beae7fb62b76de5978b52546fc r=saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D184331
2023-07-24 12:07:15 +00:00
Byron Campen
065fff324c
Bug 1631263: Remove some reverse iteration that was causing the rid order to be backwards in libwebrtc. r=pehrsons
...
This was breaking code in RTCRtpScriptTransformer that relied on the first rid
having 0 as its simulcast index. It was probably also resulting in a priority
inversion on simulcast streams.
(see https://www.rfc-editor.org/rfc/rfc8853.html#section-7.1 )
Also remove some unused cruft.
Differential Revision: https://phabricator.services.mozilla.com/D181588
2023-07-20 14:24:27 +00:00
Byron Campen
e1148e1aab
Bug 1631263: Implement RTCRtpScriptTransform. r=pehrsons,jib,asuth,emilio,saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D179735
2023-07-20 14:24:27 +00:00
Cristian Tuns
83adffeb5a
Backed out 9 changesets (bug 1631263, bug 1838080) for causing wpt failures in script-transform-generateKeyFrame.https.html CLOSED TREE
...
Backed out changeset a857a01fb321 (bug 1631263)
Backed out changeset dc46d2be4c25 (bug 1631263)
Backed out changeset 581c7a4d8f5f (bug 1631263)
Backed out changeset 7a2c4be3701d (bug 1631263)
Backed out changeset e091677e39fa (bug 1838080)
Backed out changeset 1eb303981213 (bug 1838080)
Backed out changeset 6c10370ed682 (bug 1838080)
Backed out changeset a614605b47ee (bug 1838080)
Backed out changeset 86fcc8ba6779 (bug 1838080)
2023-07-19 17:03:55 -04:00
Byron Campen
1600282278
Bug 1631263: Remove some reverse iteration that was causing the rid order to be backwards in libwebrtc. r=pehrsons
...
This was breaking code in RTCRtpScriptTransformer that relied on the first rid
having 0 as its simulcast index. It was probably also resulting in a priority
inversion on simulcast streams.
(see https://www.rfc-editor.org/rfc/rfc8853.html#section-7.1 )
Also remove some unused cruft.
Differential Revision: https://phabricator.services.mozilla.com/D181588
2023-07-19 15:41:07 +00:00
Byron Campen
70431ed989
Bug 1631263: Implement RTCRtpScriptTransform. r=pehrsons,jib,asuth,emilio,saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D179735
2023-07-19 15:41:06 +00:00
Michael Froman
ab39b57192
Bug 1843217 - remove deprecated use of webrtc::WebRtcKeyValueConfig in favor of webrtc::FieldTrialsView. r=dbaker
...
WebRtcKeyValueConfig was just a typdef for FieldTrialsView, so they are
functionally equivalent.
Differential Revision: https://phabricator.services.mozilla.com/D183458
2023-07-13 19:07:08 +00:00
Otto Länd
23376dbb7a
Bug 1842660: apply code formatting via Lando
...
# ignore-this-changeset
2023-07-13 12:38:02 +00:00
Kagami Sascha Rosylight
20eedaa5b9
Bug 1842660 - Part 3: Split listener registration from MediaPipelineTransmit constructor r=webrtc-reviewers,mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D183201
2023-07-13 12:31:06 +00:00
serge-sans-paille
788c318976
Bug 1841817 - Vendor libvorbis using mach vendor
r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D182782
2023-07-12 15:10:16 +00:00
Mike Hommey
dbc2fd12d2
Bug 1842933 - Use NEON_FLAGS instead of VPX_ASFLAGS for libaom neon code. r=firefox-build-system-reviewers,andi
...
Back when libaom was added, VPX_ASFLAGS was more or less the only
variable that had the right set of flags for NEON support, which
justified its use. However, it's not set when building against system
libvpx.
Bug 1791482 improved things, though, and VPX_ASFLAGS, as far as NEON is
concerned, is now only re-exporting NEON_FLAGS, with the same caveat that
VPX_ASFLAGS is empty when building against system libvpx.
So we should use NEON_FLAGS instead of VPX_ASFLAGS.
Differential Revision: https://phabricator.services.mozilla.com/D183310
2023-07-12 08:52:39 +00:00
Norisz Fay
c2c416d94f
Backed out 9 changesets (bug 1838080, bug 1631263) for causing VideoConduitTest related failures CLOSED TREE
...
Backed out changeset 717eac481650 (bug 1631263)
Backed out changeset 2dd5c7b8fe5b (bug 1631263)
Backed out changeset d51f80b53059 (bug 1631263)
Backed out changeset 4cfe27d450e4 (bug 1631263)
Backed out changeset 0fb0b9a4e151 (bug 1838080)
Backed out changeset 3f41779ac63f (bug 1838080)
Backed out changeset f3a099a2173c (bug 1838080)
Backed out changeset c0f042536365 (bug 1838080)
Backed out changeset 6f5162d90ff3 (bug 1838080)
2023-07-09 18:00:05 +03:00
Byron Campen
40b2dcf8d6
Bug 1631263: Implement RTCRtpScriptTransform. r=pehrsons,jib,asuth,emilio,saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D179735
2023-07-09 12:35:32 +00:00
Updatebot
1f101a78be
Bug 1841624 - Update dav1d to 616bfd1506a8a75c6a358e578cbec9ca11931502 r=chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D182716
2023-07-07 16:33:42 +00:00
serge-sans-paille
b7c9e42880
Bug 1842193 - Vendor libspeex_resampler using mach vendor
r=padenot
...
Renames patches to force ordering.
simd-detect-runtime.patch was not applying cleanly, so slightly update
its context. No impact on the final source.
Differential Revision: https://phabricator.services.mozilla.com/D182993
2023-07-07 13:34:56 +00:00
Mike Hommey
2fddbb74c5
Bug 1840537 - Enable value checking in moz.build for CONFIG variables derived from target.*. r=firefox-build-system-reviewers,andi,sergesanspaille
...
This makes the types from mozbuild.configure.constants repr()-able, and
repr()-ed in config.status, which, when processing moz.build, translates
into value checking for comparison tests involving the variables.
To make them pickable, though, we replace the use of EnumString.subclass
with actual subclassing, which is a little less convenient, but avoids
having to figure out how to make the classes EnumString.subclass creates
pickable.
This caught some mismatches in media/libpng and third_party/libsrtp.
This also means we don't need to normalize the config before dumping it
in config.status, because the only types that this was actually useful
for are these (historically, we'd also turn byte strings into unicode
strings but that hasn't been a thing for 4 years ; the special treatment
of dicts and iterables was there to apply the normalization recursively,
not to normalize dicts and iterables themselves). We still normalization
before passing values to gyp, though.
Differential Revision: https://phabricator.services.mozilla.com/D182141
2023-07-06 21:33:41 +00:00