Commit Graph

60 Commits

Author SHA1 Message Date
Chris Pearce
abac85f1d9 Bug 1372080 - Reorder frames decoded by Widevine CDM. r=jya
The next version of the Widevine CDM (970) has a new H.264 decoder and it does
not appear to be outputing frames it decodes in presentation order, so we need
to reorder the frames output by the CDM.


MozReview-Commit-ID: HMsQVN3NCIU

--HG--
extra : rebase_source : 68ef406556087434fa12b72ae5ed5c2e1bce2b64
2017-06-12 17:47:05 +12:00
Ralph Giles
76e68522c8 Bug 1314147 - Add AOMDecoder. r=jya
Port the VPXDecoder interface to libaom which uses
the same api with the names changed. I've removed
the alpha support for now.

MozReview-Commit-ID: IdxcVWhNgVl

--HG--
extra : rebase_source : 5f3a84fb9a827f01c80057eb520bde184c41f0b9
2017-04-19 13:19:32 -07:00
Munro Mengjue Chiang
0d0b538b3e Bug 1265755 - separate JavaCallbacksSupport class declaration to a different header file; r=jolin
MozReview-Commit-ID: 7Vj3G47n2bu

--HG--
extra : rebase_source : 9dac50f9a4c405b2461e7f677c58beef7f634f6e
2017-03-30 08:30:23 +08:00
John Lin
2f58c785e9 Bug 1344649 - part 3: rename DurationMap and turn it into a generic class. r=jya
MozReview-Commit-ID: AMMxMPkuYXk

--HG--
extra : rebase_source : 438100efafb883c8cd67895657877da9fb6f54ce
2017-03-07 19:49:08 +08:00
Kaku Kuo
e797828ad9 Bug 1346120 part 2 - Implement NullDecoderModule; r=jwwang
The video decoder of NullDecoderModule returns a VideoData with dimension of zero size and no image data.
By this way, we reduce memory usage while a video element is suspended.

MozReview-Commit-ID: IMODFOGdpaj

--HG--
extra : rebase_source : e12dc91158939052b23d4ab9707485bb3565dc41
extra : intermediate-source : f8390b1c52e9ee859c33b7a9d2e34781534eb3ff
extra : source : 8a002d74db6c445dff17aa24d2e92f9c27019b07
2017-03-09 16:07:22 +08:00
Kaku Kuo
be902c66f8 Bug 1346120 part 1 - Extract BlankMediaDataDecoder so it can be shared; r=jwwang
Change name to 'Dummy' to signify it's base for decoders that don't decode.
And we will implement a new NullDecoderModule in the next patch which will utilize the DummyMediaDataDecoder.
MozReview-Commit-ID: LPsczoztgx3

--HG--
extra : rebase_source : 413345139ba060065217cfd7718665091f8f6166
extra : intermediate-source : 12d022e15b7a3a91867293fd2e71510fa084ff02
extra : source : dec60f61cc8809ebe6dd65cb16a325f2272b3ce2
2017-03-09 15:33:53 +08:00
Iris Hsiao
7f4987cc26 Backed out 6 changesets (bug 1346120) for autophone Mdm tests failure in test_background_video_drawimage_with_suspended_video.html
Backed out changeset a30c73fc8d69 (bug 1346120)
Backed out changeset f16556658fd9 (bug 1346120)
Backed out changeset 98d212462786 (bug 1346120)
Backed out changeset ba579adbed21 (bug 1346120)
Backed out changeset c0758b9bf7b5 (bug 1346120)
Backed out changeset 94a483ef784e (bug 1346120)
2017-03-13 16:53:14 +08:00
Kaku Kuo
bcdc559425 Bug 1346120 part 2 - Implement NullDecoderModule; r=jwwang
The video decoder of NullDecoderModule returns a VideoData with dimension of zero size and no image data.
By this way, we reduce memory usage while a video element is suspended.

MozReview-Commit-ID: IMODFOGdpaj

--HG--
extra : rebase_source : 6da95997eeb2098396b577b9dc0473d30d78b4d4
extra : source : 8a002d74db6c445dff17aa24d2e92f9c27019b07
2017-03-09 16:07:22 +08:00
Kaku Kuo
7e28a76709 Bug 1346120 part 1 - Extract BlankMediaDataDecoder so it can be shared; r=jwwang
Change name to 'Dummy' to signify it's base for decoders that don't decode.
And we will implement a new NullDecoderModule in the next patch which will utilize the DummyMediaDataDecoder.
MozReview-Commit-ID: LPsczoztgx3

--HG--
extra : rebase_source : b8c3c565709f998eb40a72b6c8831d7b4f3bd142
extra : source : dec60f61cc8809ebe6dd65cb16a325f2272b3ce2
2017-03-09 15:33:53 +08:00
Jean-Yves Avenard
9b64d77e88 Bug 1334061: P4. Move MediaDataDecoderProxy into wrapper category. r=cpearce
We will later use it for non-EME/GMP related  tasks.

MozReview-Commit-ID: 4rIjviYdYkO

--HG--
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h => dom/media/platforms/wrappers/MediaDataDecoderProxy.h
extra : rebase_source : 76a58c03b29b127163ce7fc7a29bc827f63797a9
2017-02-16 10:14:19 +01:00
Jean-Yves Avenard
b1c337cb35 Bug 1340096: Remove MediaCodecDataDecoder. r=bwu,jolin
We prefer the RemoteDataDecoder instead.

MozReview-Commit-ID: SK0D3hycRh

--HG--
extra : rebase_source : 97899154bf5fcbcd2feb44ac82879a79eabb44f7
2017-02-16 12:26:53 +01:00
John Lin
286d9b45fd Bug 1336792 - part 1: extract DurationMap and make it thread safe. r=jya
MozReview-Commit-ID: EGSc5sMfxvL

--HG--
extra : rebase_source : 465a09144b1ffe129761a64b17eb80aa3b938347
2017-02-10 11:39:18 +08:00
Jean-Yves Avenard
6a0bd6027f Bug 1319987: P3. Remove Gonk PDM. r=cpearce
The platform is no longer supported, and the promisifying of the MediaDataDecoder makes it not worthwhile to continue maintenance.

MozReview-Commit-ID: FjDzRk5YQp3

--HG--
extra : rebase_source : a28f0e2cada698f5be93c9115b1af6c7789f9d4e
2016-12-30 01:26:12 +11:00
Jean-Yves Avenard
6e774a7bcd Bug 1319987: P2. Remove FuzzingWrapper. r=gerald
It is no longer used and in its current state incompatible with promise based decoders.

We'll re-add it later.

MozReview-Commit-ID: DHsyTsFvTZB

--HG--
extra : rebase_source : 4b1a7dba2a001ff32ffe4ef4df63b91f15a43e83
2016-12-21 10:52:01 +11:00
James Cheng
48efb9caad Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE

--HG--
extra : rebase_source : abfe53f30081f74fc39c900cab48d08c7574bfec
2016-09-08 18:06:20 +08:00
John Lin
d7cf8502c8 Bug 1257777 - Part 6: Implement remote data decoders and enable/disable them with pref. r=snorp
MozReview-Commit-ID: 54ZEckQHsBI

--HG--
extra : rebase_source : e655067a487aafeccb866877157616036044ba4b
2016-08-05 15:24:46 +08:00
John Lin
d8af0bb89e Bug 1257777 - Part 5: Seperate PDM and data decoders into different files. r=snorp
MozReview-Commit-ID: KP4hAZXLPAU

--HG--
extra : rebase_source : 64f4c8c086d10ce1268945c74c813177b2401d58
2016-08-05 15:24:06 +08:00
Brion Vibber
7f2fa5c20a Bug 1168674: [ogg] P3. Add theora MediaDataDecoder. r=me
MozReview-Commit-ID: 7ZJD21JMXBY

--HG--
extra : rebase_source : 5108040c8de69e52bdd96842315e5a5e70c65ff7
2016-07-21 11:36:47 +10: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
Jean-Yves Avenard
0b57c68c53 Bug 1287370: Remove VDA decoder. r=cpearce
The VDA decoder was no longer usable regardless.

MozReview-Commit-ID: 6Q94jrp0OIG

--HG--
extra : rebase_source : 368396b413995eb1c9382cb9cb134ec2fcf38d95
2016-07-18 17:02:51 +10:00
Eric Rahm
c077aa9010 Bug 1274913 - Move PDM log definition to header. r=njn 2016-05-24 14:55:53 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
David Anderson
b20d5f6769 Add telemetry for which WMF backends are used. (bug 1259695, r=mattwoodrow) 2016-03-29 22:49:02 -07:00
Louis Christie
1242af5735 Bug 1231793: Part 5 - Added Wave Data Demuxer and Decoder. r=jya 2016-02-17 00:28:49 +11:00
Jean-Yves Avenard
6cc095b16d Bug 1240995: [ffmpeg] P1. Refactor FFmpeg PDM. r=kentuckyfriedtakahe
This greatly simplify how the external libavcodec and libavutil are linked.
2016-01-23 01:35:52 +11:00
Jean-Yves Avenard
721fd7b736 Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Jean-Yves Avenard
aeefe81d51 Bug 1240630: [ffvpx] P1. Add a FFVPX PDM. r=kentuckyfriedtakahe
This allows support for linking to two different version of libavcodec: our own and the system one if found.
ffvpx symbols are loaded within the namespace mozilla::ffvpx.
2016-01-19 17:29:19 +11:00
Wes Kocher
398d96e8e5 Backed out 4 changesets (bug 1240630) for asan failures in mochitest(2) and mochitest(oth) CLOSED TREE
Backed out changeset dc949ca1e1ec (bug 1240630)
Backed out changeset 06abea99a292 (bug 1240630)
Backed out changeset 9d90d4b0b928 (bug 1240630)
Backed out changeset 6162c46b32ff (bug 1240630)

--HG--
rename : dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp => dom/media/platforms/ffmpeg/FFmpegH264Decoder.cpp
rename : dom/media/platforms/ffmpeg/FFmpegVideoDecoder.h => dom/media/platforms/ffmpeg/FFmpegH264Decoder.h
extra : commitid : 2Uwik7JWDjE
2016-01-20 13:47:41 -08:00
Wes Kocher
de8ca7dcd1 Backed out changeset 8b78eccf2c29 (bug 1240995) for asan failures in mochitest(2) and mochitest(oth) CLOSED TREE
--HG--
extra : commitid : CUijS7r7W2B
2016-01-20 13:47:13 -08:00
Jean-Yves Avenard
afe8bac715 Bug 1240995: [ffmpeg] Refactor FFmpeg PDM. r=kentuckyfriedtakahe
This greatly simplify how the external libavcodec and libavutil are linked.
2016-01-20 20:22:43 +11:00
Jean-Yves Avenard
b7a1533658 Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Jean-Yves Avenard
472f6c90b6 Bug 1240630: [ffvpx] P1. Add a FFVPX PDM. r=kentuckyfriedtakahe
This allows support for linking to two different version of libavcodec: our own and the system one if found.
ffvpx symbols are loaded within the namespace mozilla::ffvpx.
2016-01-19 17:29:19 +11:00
Carsten "Tomcat" Book
e8d36639be Backed out changeset 07e06fefa4c7 (bug 1240630) for webgl leaks
--HG--
extra : rebase_source : b66432476f69e8820d3437f662d3e1163743076b
2016-01-20 16:11:05 +01:00
Carsten "Tomcat" Book
c63e75b8bf Backed out changeset 1f5356e9679e (bug 1240630)
--HG--
extra : rebase_source : 92e8835d2c1f40058be44339163b390e01b617c9
2016-01-20 16:10:49 +01:00
Carsten "Tomcat" Book
45991d1b24 Backed out changeset 4ab338518d02 (bug 1240995)
--HG--
extra : rebase_source : d2f8dc3044190a827fb0b747f71a3cbf741767e9
2016-01-20 16:10:46 +01:00
Jean-Yves Avenard
dac8ee7941 Bug 1240995: [ffmpeg] Refactor FFmpeg PDM. r=kentuckyfriedtakahe
This greatly simplify how the external libavcodec and libavutil are linked.
2016-01-20 23:55:37 +11:00
Jean-Yves Avenard
040ca072ee Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-20 23:55:36 +11:00
Jean-Yves Avenard
fe89dd84a5 Bug 1240630: [ffvpx] P1. Add a FFVPX PDM. r=kentuckyfriedtakahe
This allows support for linking to two different version of libavcodec: our own and the system one if found.
ffvpx symbols are loaded within the namespace mozilla::ffvpx.
2016-01-20 23:55:35 +11:00
Jean-Yves Avenard
464ee710df Bug 1239202: [ffmpeg] Specify path of mozavcodec and mozavutil. r=glandium
Also error gracefully should libraries not be found.
2016-01-16 01:25:22 +11:00
Jean-Yves Avenard
6040488a59 Bug 1237540: [ffvpx] P2. update ffvpx build config. r=kentuckyfriedtakahe 2016-01-11 17:55:49 +11:00
Jean-Yves Avenard
7f7aeb115e Bug 1232268: [ffmpeg] P4. Add support for libavcodec 57. r=kentuckyfriedtakahe
At this stage only the original FFmpeg project is supported.
2016-01-11 17:52:44 +11:00
Jean-Yves Avenard
9c25c32858 Bug 1214462: P4. Add Windows support for the FFmpeg PDM. r=kentuckyfriedtakahe 2016-01-06 23:03:52 +11:00
Alfredo Yang
92abcfb61c Bug 1224887: new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro 2015-12-08 15:57:58 +05:30
Nigel Babu
cc17273b85 Backed out changeset 1e400c0266e5 (bug 1224887) for build bustage
ON A CLOSED TREE
2015-12-02 14:51:30 +05:30
Alfredo Yang
d0c13c6363 Bug 1224887 - new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro 2015-12-01 06:12:00 +01:00
Jean-Yves Avenard
5d54dafcb3 Bug 1206977: P8. Have PDMFactory directly manage the EMEDecoderModule. r=cpearce 2015-10-08 00:34:45 +11:00
Jean-Yves Avenard
9e830ea930 Bug 1206977: P4. Add AgnosticDecoderModule object. r=cpearce
This removes the need for PDMFactory to know anything about decoders.
2015-10-08 00:34:43 +11:00
Jean-Yves Avenard
dd5e99c694 Bug 1206977: P2. Wrap PDM creation in a new PDMFactory class. r=cpearce
There is no change of behaviour from the original PlatformDecoderModule.
2015-10-08 00:34:42 +11:00
Nigel Babu
1a01355c4f Backed out 16 changesets (bug 1206977, bug 1211652, bug 1211335) for linux bc7 bustage ON A CLOSED TREE
Backed out changeset 51b1b076a386 (bug 1206977)
Backed out changeset dec7c35469d1 (bug 1206977)
Backed out changeset bf9ddc78b394 (bug 1206977)
Backed out changeset 08f5cff5aa12 (bug 1206977)
Backed out changeset e4e91de99867 (bug 1206977)
Backed out changeset 696ecf2e2947 (bug 1206977)
Backed out changeset ab2d524a9b35 (bug 1206977)
Backed out changeset d66be0e4547f (bug 1206977)
Backed out changeset 64c58afbd6c1 (bug 1206977)
Backed out changeset eb10d09015e1 (bug 1206977)
Backed out changeset 042959216393 (bug 1206977)
Backed out changeset 7e0de7f62202 (bug 1206977)
Backed out changeset 3d095569f6ba (bug 1206977)
Backed out changeset 041418a07ae5 (bug 1206977)
Backed out changeset 654970da23e4 (bug 1211335)
Backed out changeset 8ba8e24a84d3 (bug 1211652)
2015-10-07 13:43:39 +05:30
Jean-Yves Avenard
2da2bd26f9 Bug 1206977: P8. Have PDMFactory directly manage the EMEDecoderModule. r=cpearce 2015-10-07 16:40:27 +11:00