Commit Graph

180 Commits

Author SHA1 Message Date
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
Nigel Babu
7e537c9909 Backed out changeset abaadd5361ad (bug 1198664) for B2G build bustage ON A CLOSED TREE 2015-10-07 12:33:08 +05:30
Nigel Babu
8a586a51d4 Backed out changeset 3a4fb0ededfd (bug 1198664) for B2G build bustage ON A CLOSED TREE 2015-10-07 12:32:01 +05:30
John Lin
993994a080 Bug 1198664 - Part 2 - Use looper to process decoder tasks. r=bwu 2015-10-06 02:20:00 +02:00
John Lin
3e0637f43f Bug 1198664 - Part 1 - Refactor: move common behaviors to base class. r=bwu,jya 2015-10-06 02:18:00 +02:00
Jean-Yves Avenard
ac5814731c Bug 1206977: P13. Assert that data fed to EMEDecoderModule is encrypted. r=cpearce
The PDMFactory ensures that the EMEDecoderModule is only used for encrypted data, we can simplify EMEDecoderModule and make strong assumptions
2015-10-07 16:40:30 +11:00
Jean-Yves Avenard
27b77f96da Bug 1206977: P9. Ensure PDMs are only ever created through the PDMFactory. r=cpearce 2015-10-07 16:40:28 +11:00
Jean-Yves Avenard
2da2bd26f9 Bug 1206977: P8. Have PDMFactory directly manage the EMEDecoderModule. r=cpearce 2015-10-07 16:40:27 +11:00
Jean-Yves Avenard
7ad7357100 Bug 1206977: P6. Make PlatformDecoderModule::SupportsMimeType pure virtual. r=cpearce 2015-10-07 16:40:26 +11:00
Jean-Yves Avenard
046f9f13a9 Bug 1206977: P5. Update PlatformDecoderModule documentation. r=cpearce
Mostly removes no longer relevant doc.
2015-10-07 16:40:25 +11:00
Jean-Yves Avenard
55d1cb62fc Bug 1206977: P4. Add AgnosticDecoderModule object. r=cpearce
This removes the need for PDMFactory to know anything about decoders.
2015-10-07 16:40:25 +11:00
Jean-Yves Avenard
78fc388e1e Bug 1206977: P3. Allow PDM fallback. r=cpearce
We now search in all the PDM present the one that can handle the media.
2015-10-07 16:40:24 +11:00
Jean-Yves Avenard
0256993164 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-07 16:40:24 +11:00
Jean-Yves Avenard
9586070ed3 Bug 1206977: P1. Remove unused PDM function members. r=cpearce 2015-10-07 16:40:23 +11:00
Jean-Yves Avenard
89639edfde Bug 1211335: Have FFMpegDecoderModule properly return if a codec is supported. r=cpearce 2015-10-07 16:40:22 +11:00
Chris Pearce
494f013e18 Bug 1211339 - Ensure WMFDecoderModule::SupportsMimeType checks it can create decoders. r=jya 2015-10-06 16:52:52 +13:00
Carsten "Tomcat" Book
239ba800f1 Backed out 2 changesets (bug 1211339) for m3 test failures on a CLOSED TREE
Backed out changeset 91bff7bc67d7 (bug 1211339)
Backed out changeset d34f694b13cf (bug 1211339)
2015-10-05 14:34:44 +02:00
Chris Pearce
addcdce5f7 Bug 1211339 Part 1 - Ensure WMFDecoderModule::SupportsMimeType checks it can create decoders. r=jya 2015-10-05 22:39:00 +13:00
Alfredo Yang
d66d46126b Bug 1204622 - release codec listener at reader task queue. r=jya
--HG--
extra : rebase_source : adb41147997f51941746af1f8dfe151f784c1771
2015-10-01 00:43:00 +02:00
Jean-Yves Avenard
bf482d2ca8 Bug 1207442: Disable ffvpx with libav0.8 and earlier. r=edwin 2015-10-01 19:40:20 +10:00
Jean-Yves Avenard
e00a89455b Bug 1209806: Remove dependency on libavformat. r=edwin 2015-10-01 19:05:47 +10:00
Eugen Sawin
949294537b Bug 1190379 - Disable surface copying on emulators. r=snorp 2015-09-29 00:56:51 +02:00
Eugen Sawin
847a4ccf96 Bug 1190379 - Use AndroidDecoderModule for VP8/9. r=jya 2015-09-29 00:56:51 +02:00
Jean-Yves Avenard
57037c7820 Bug 1208917: Fix VP9 decoding with recent version of libav. r=kentuckyfriedtakahe
Recent libav do not require a codec parser to decode VP9.
2015-09-28 10:30:03 +10:00
Jean-Yves Avenard
3f3757ce78 Bug 1207429: P2. Enable FFmpeg by default if available. r=kentuckyfriedtakahe
By default we only use libav 9 or FFmpeg 1.2 if found on the system.

If media.fragmented-mp4.ffmpeg.enabled is set, will allow use of libav 0.7 and ffmpeg 0.8 or later.
2015-09-27 15:19:28 +10:00
Sotaro Ikeda
34a6dca7cc Bug 1205351 - Replace nsBaseHashtable::Enumerate() calls in dom/media/ with iterators r=cpearce 2015-09-24 18:48:25 -07:00
Jeff Gilbert
187dfafc29 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-24 12:21:05 -07:00
Chris Pearce
787b689f00 Bug 1207376 - Check whether H264Converter created its decoder successfully. r=jya 2015-09-23 17:46:04 +12:00
Jean-Yves Avenard
5d1d418de1 Bug 1206979: P3. Request S16 audio for libav 0.8 and earlier. r=edwin 2015-09-23 12:59:28 +10:00
Jean-Yves Avenard
4dd514a9b5 Bug 1206979: P2. Get around libav 0.8.5 bug. r=edwin
And probably others. When multhreading decoding is enabled ; the frames dimensions were incorrectly set.
2015-09-23 12:59:27 +10:00
Jean-Yves Avenard
71d911ed61 Bug 1206979: P1. Add method to determine which version of libavcodec is available. r=edwin 2015-09-23 12:59:27 +10:00
Jean-Yves Avenard
9a88d127d2 Bug 1206568: P2. Clean up header declarations. r=cpearce
Make it consistent across the use of virtual/override
2015-09-23 12:59:26 +10:00
Jean-Yves Avenard
8283012c2a Bug 1206568: P1. Ensure FFmpeg decoder is only accessed through the decoder's task queue. r=cpearce
Add strong assertion that it is indeed the case.
2015-09-23 12:59:25 +10:00
Phil Ringnalda
449e9119b4 Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
8d443901df Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-22 16:49:25 -07:00
Wes Kocher
38fc20426e Backed out changeset 49a711e67d8b (bug 1190379) for various android crashes CLOSED TREE 2015-09-21 09:09:29 -07:00
Eugen Sawin
3907bbb549 Bug 1190379: Use AndroidDecoderModule for VP8/9. r=jya 2015-09-21 16:39:12 +02:00
Jean-Yves Avenard
05453d1f17 Bug 1193670: P3. Remove no longer needed SharedDecoderManager class. r=cpearce 2015-09-16 18:14:17 +10:00
Jean-Yves Avenard
5d87284234 Bug 1204776: P4. Have VPX/Opus/Vorbis decoder use PlatformDecoderModule log. r=cpearce 2015-09-16 12:26:04 +10:00
Jean-Yves Avenard
86e37be133 Bug 1204776: P3. Have FFmpeg PDM use PlatformDecoderModule log. r=cpearce 2015-09-16 12:26:04 +10:00
Jean-Yves Avenard
79a43bbd6b Bug 1204776: P2. Make Apple PDM use PlatformDecoderModule log. r=cpearce 2015-09-16 12:26:03 +10:00
Jean-Yves Avenard
5264765a6e Bug 1204776: P1. Have the PlatformDecoderModules use their own log. r=cpearce
Stop using MP4Demuxer.
2015-09-16 12:26:03 +10:00
Ralph Giles
0d0442a459 Bug 1204672 - Fix a log comment typo. r=gerald
--HG--
extra : rebase_source : 8c68bbe933909c7aafc0492d330d87dc0e3b5700
2015-09-14 14:22:55 -07:00
Matt Woodrow
d546102ebb Bug 1200775 - Followup to fix typo and indent issues
--HG--
extra : rebase_source : cb495e5ba5afc28455d0a6f3dba7fea38c1d4ba1
2015-09-10 15:15:41 -04:00
Matt Woodrow
c44bc286ab Bug 1202296 - Recreate the MFTDecoder when we want to disable DXVA. r=cpearce
--HG--
extra : rebase_source : 9731f42fccede3910efd674ca4cef79ac4b3f17b
2015-09-10 13:39:02 -04:00
Matt Woodrow
a4a6ea224d Bug 1202296 - Hide the MFTDecoder within MFTManager so that we can recreate it opaquely. r=cpearce
--HG--
extra : rebase_source : 8ce6adacd26ceaa243737db06fc652a8dd16bdc6
2015-09-10 13:38:17 -04:00
Matt Woodrow
ed728f3334 Bug 1200775 - Check intel specific h264 decoder when checking for DXVA support. r=cpearce
--HG--
extra : rebase_source : 1ba6576d38a0ccfe4c78b082b0d0bc97b293078f
2015-09-10 13:20:21 -04:00
Jean-Yves Avenard
6f800ab99a Bug 1197319: P3. Allow VP8/VP9 decoding via FFmpeg. r=kentuckyfriedtakahe 2015-09-10 22:05:39 +10:00
Jean-Yves Avenard
13a129c06b Bug 1197319: P2. Parse raw data to identify single frames before decoding. r=kentuckyfriedtakahe
A VP9 or VP9 packet may contains alternate frames. They need to be fed separately to the ffmpeg decoder.
2015-09-10 22:05:39 +10:00
Jean-Yves Avenard
bcf327201c Bug 1197319: P1. Fix image alignment allocation. r=kentuckyfriedtakahe 2015-09-10 22:05:38 +10:00