Граф коммитов

348 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher ee004dddf0 Backed out changeset 18e7baac03ce (bug 1241062) for windows wpt bustage
--HG--
extra : commitid : 4TllxSzuUyX
2016-01-21 12:28:39 -08:00
Wes Kocher 56d625df80 Backed out 2 changesets (bug 1240201) for Windows wpt bustage
Backed out changeset b06a049cafb7 (bug 1240201)
Backed out changeset 69b695ad6d43 (bug 1240201)

--HG--
extra : commitid : KSF0gTfQB2
2016-01-21 12:28:24 -08:00
Jean-Yves Avenard b20992e3b8 Bug 1240201: [vorbis] P1. Properly determine sample duration and time in webm demuxer. r=kinetik 2016-01-22 00:40:56 +11:00
Jean-Yves Avenard 0549b6ea29 Bug 1241062: [opus] P1. Properly calculate decoded audio sample timestamps. r=kinetik
Similar fix as bug 1239223.
2016-01-22 00:40:55 +11:00
Jean-Yves Avenard fcfc749a5a Bug 1240630: [ffmpeg] P4. Rename FFmpegH264Decoder into FFmpegVideoDecoder. r=kentuckyfriedtakahe
The days we used to only be able to use the FFmpeg decoder for H264 are long gone. It can do H264, VP6, VP8 and VP9.

--HG--
rename : dom/media/platforms/ffmpeg/FFmpegH264Decoder.cpp => dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
rename : dom/media/platforms/ffmpeg/FFmpegH264Decoder.h => dom/media/platforms/ffmpeg/FFmpegVideoDecoder.h
2016-01-19 22:20:01 +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 98b3022d0a Bug 1240630: [ffvpx] P2. Hook up FFVPX PDM to PDMFactory. r=kentuckyfriedtakahe
Add new preference media.ffvpx.enabled to control FFVPX PDM being enabled.
2016-01-19 17:31:25 +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 474c70c25f Bug 1240630: [ffmpeg] P4. Rename FFmpegH264Decoder into FFmpegVideoDecoder. r=kentuckyfriedtakahe
The days we used to only be able to use the FFmpeg decoder for H264 are long gone. It can do H264, VP6, VP8 and VP9.

--HG--
rename : dom/media/platforms/ffmpeg/FFmpegH264Decoder.cpp => dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
rename : dom/media/platforms/ffmpeg/FFmpegH264Decoder.h => dom/media/platforms/ffmpeg/FFmpegVideoDecoder.h
2016-01-19 22:20:01 +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 83a8dcaada Bug 1240630: [ffvpx] P2. Hook up FFVPX PDM to PDMFactory. r=kentuckyfriedtakahe
Add new preference media.ffvpx.enabled to control FFVPX PDM being enabled.
2016-01-19 17:31:25 +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 5103ca7337 Backed out changeset ea16467602a8 (bug 1240630)
--HG--
extra : rebase_source : ae4c680edc82a2c0ad74c6fbe84b4d7cf6aa3732
2016-01-20 16:10:51 +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 a8d775672f Backed out changeset 2360ccbf3aaa (bug 1240630)
--HG--
extra : rebase_source : 0d7ba73881b668576598eb780e9ce531809b6017
2016-01-20 16:10:48 +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
Carsten "Tomcat" Book 5e1ff117ed Backed out changeset 2213b8ad2dce (bug 1240995)
--HG--
extra : rebase_source : 38c5b22478664d49f7d094508ad18f40c7a885a9
2016-01-20 16:10:45 +01:00
Jean-Yves Avenard 5094150c77 Bug 1240995: [ffmpeg] P2. Mark constructor explicit. r=me 2016-01-21 00:20:46 +11: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 27d1086f32 Bug 1240630: [ffmpeg] P4. Rename FFmpegH264Decoder into FFmpegVideoDecoder. r=kentuckyfriedtakahe
The days we used to only be able to use the FFmpeg decoder for H264 are long gone. It can do H264, VP6, VP8 and VP9.
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 2e03328e3d Bug 1240630: [ffvpx] P2. Hook up FFVPX PDM to PDMFactory. r=kentuckyfriedtakahe
Add new preference media.ffvpx.enabled to control FFVPX PDM being enabled.
2016-01-20 23:55:35 +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
Alfredo Yang 3b64896d86 Bug 1238878 - Reset decoder EOS by calling flush. r=sotaro 2016-01-15 01:35:00 -05:00
Jean-Yves Avenard 3f310a591f Bug 1239223: [vorbis] P1. Properly calculate decoded audio sample timestamps. r=kinetik 2016-01-16 10:54:44 +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
John Lin 523524c583 Bug 1235340 - Don't always disable/enable port for OMX_EventPortSettingsChanged. r=sotaro 2016-01-13 18:37:00 +01:00
Alfredo Yang 194c256e84 Bug 1229363 - support sw video codec. r=sotaro 2016-01-13 18:53:00 +01:00
Matt Woodrow 224f28124f Bug 1239093 - Add pref to allow overriding of hardcoded DXVA blacklist. r=jrmuizel 2016-01-14 12:42:26 +13:00
Jean-Yves Avenard c272a66337 Bug 1239202: [ffmpeg] P2. Update documentation. r=gerald 2016-01-13 20:29:21 +11:00
Jean-Yves Avenard 88bd20ebcd Bug 1239066: [ffmpeg] Add support for YUV444P pixel format in FFmpeg. r=gerald
We also prefer YUV444 format when the decoder supports it.
2016-01-13 19:58:49 +11:00
Jan Gerber 860f0c9fe5 Bug 1190939: Decode VP9 4:4:4 properly. r=jya 2016-01-13 19:58:48 +11:00
Jean-Yves Avenard c51d397d8c Bug 1237809: [h264] P1. Ensure correct video dimensions are passed to the decoder. r=cpearce
Dimensions are extracted from the SPS found in metadata if present.
2016-01-12 09:09:05 +11:00
Jean-Yves Avenard e2ca8ba782 Bug 1237962: [ffmpeg] Do not create extra threads when decoding small videos. r=kentuckyfriedtakahe
Instead we use our current decoding's taskqueue.
2016-01-11 17:55:52 +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 47323ee898 Bug 1232268: [ffmpeg] P3. Add FFmpeg n2.9 headers. r=kentuckyfriedtakahe
libavcodec and libavutil minimal headers.
2016-01-11 17:50:30 +11:00
Jean-Yves Avenard e07832a40e Bug 1232268: [ffmpeg] P2. Remove unused AVFormat headers and unused functions. r=kentuckyfriedtakahe
Additionaly, do not attempt to resolve unused symbols.
2016-01-11 17:50:29 +11:00
Jean-Yves Avenard d5ca543591 Bug 1232268: [ffmpeg] P1. Provide finer granularity on which symbols are to be loaded. r=kentuckyfriedtakahe 2016-01-11 17:50:28 +11:00
Jean-Yves Avenard afa673d0a0 Bug 1235959: [ffmpeg] Load mozav libs separately. r=gerald 2016-01-11 17:50:28 +11:00
Alfredo Yang 869d8facd4 Bug 1224889 - OpenMax IL video decoding for PDM. r=sotaro, r=nical
--HG--
extra : rebase_source : 758864e83ac009581bea87b90ba1bc235934ffb7
2016-01-08 06:24:00 -05: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
Jean-Yves Avenard 1d9aa03ccd Bug 1237210: [ffmpeg] P2. Reduces threads use in FFmpeg video decoder. r=gerald
We use the same logic as what is used in libvpx to ensure that we won't get a regression due to excessive memory/thread use when replacing libvpx with ffmpeg.
2016-01-06 23:03:49 +11:00
Jean-Yves Avenard 6e1eaf81a6 Bug 1237210: [ffmpeg] P1. Have specialized AVCodecContext initialization. r=gerald
A common initialization procedure is too restrictive, and we end up setting up audio configuration for video decoding and vice-versa
2016-01-06 23:03:49 +11:00
Jean-Yves Avenard ea13a5a2fb Bug 1236746: Let FFmpeg manages its own memory allocation. r=gerald
Additionally, the API to override memory allocation has been deprecated years ago and it completely removed in libavcodec 57.
2016-01-05 16:55:11 +11:00
Jean-Yves Avenard f5d33466a2 Bug 1236120: [ffmpeg] Use demuxed dimensions to determine picture size and offset. r=gerald
Don't assume it always has an offset of (0,0)
2016-01-01 20:54:31 +11:00