Commit Graph

318 Commits

Author SHA1 Message Date
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
Phil Ringnalda
33c7af5cab Back out 6 changesets (bug 1214462) for Win PGO build bustage, reftest failures and mochitest failures
CLOSED TREE

Backed out changeset 803dba2adb27 (bug 1214462)
Backed out changeset e1b318c9c1db (bug 1214462)
Backed out changeset 3a421412b161 (bug 1214462)
Backed out changeset 2b388a17f4be (bug 1214462)
Backed out changeset 6a290f27f9bc (bug 1214462)
Backed out changeset 3dbf22bf17a4 (bug 1214462)
2015-12-30 20:37:08 -08:00
Jean-Yves Avenard
304753adc6 Bug 1214462: P4. Add Windows support for the FFmpeg PDM. r=kentuckyfriedtakahe 2015-12-31 13:17:23 +11:00
Jean-Yves Avenard
2d8ba4fc1e Bug 1234553: Always request 16 bits audio for libavcodec 53. r=kentuckyfriedtakahe
LibAV 0.8 produces rubbish floating point data. We had restricted LibAV 0.8 to produce 16 bits audio instead, unfortunately some ubuntu version appears to have bumped the minor version.
2015-12-24 13:53:37 +11:00
James Willcox
81f323775e Bug 1230784 - Don't copy SurfaceTexture contents when presenting video on Android r=esawin,jya 2015-12-22 08:44:46 -06:00
Alfredo Yang
3360b91b6f Bug 1231257 - Flush individual port instead of flush OMX_ALL ports. r=sotaro 2015-12-16 21:56:00 +01:00
Alfredo Yang
d3a2880ccb Bug 1231939 - change Shutdown() as a block API. r=cpearce 2015-12-17 04:03:00 +01:00
Gerald Squelart
5354b4cb60 Bug 1228673 - Clean-up 'Then' before ~MediaTimer. r=jya
Destroying an unlapsed timer will trigger an assertion in its 'Then' request.
So in case the Fuzzing Wrapper is flushed or errors when there are pending
delayed frames, the 'Then' request attached to the MediaTimer is now
disconnected before being let go.
This also needs to be done when shutting down.
2015-12-19 02:06:00 +01:00
Jean-Yves Avenard
52c16ccf40 Bug 1233340: [ffmpeg] Support YUV420J pixel format. r=kentuckyfriedtakahe
YUV420J is 12bpp YUV420P.
2015-12-21 13:20:23 +11:00
Alfredo Yang
514b142f92 Bug 1231353 - Release buffers at IDLE state. r=sotaro 2015-12-16 16:38:00 +01:00
Chris Pearce
966cf53003 Bug 1232527 - Call into WMF PDM to determine if WMF can decode instead of using GMPVideoDecoderTrialCreator. r=jwwang
Resurrect WMFDecoderModule::HasAAC() and HasH264(), and use those in
MediaKeySystemAccess.cpp to figure out whether we gmp-clearkey can decode,
rather than assuming Vista and later is always able to decode, as that's not
a valid assumption; Vista may not have the required Platfor Update installed,
or we may be on Windows N or KN without the Media Feature Pack.

--HG--
extra : commitid : 2QrVAGQ5OJa
extra : rebase_source : 8ad6e5c5f87cf2b2489f049543c021723927901a
2015-12-15 14:50:59 +13:00
Bob Owen
cb3fdf73ba Bug 1217185: To allow for sandboxing, use null HWNDs when creating the D3D device for video decoding. r=mattwoodrow 2015-12-11 01:23:00 +00:00
Alfredo Yang
92abcfb61c Bug 1224887: new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro 2015-12-08 15:57:58 +05:30
Gerald Squelart
a21b53a078 Bug 1229965 - Use MakeUniqueFallible in blank decoder - r=jya 2015-12-03 20:10:00 +01:00
Sotaro Ikeda
29ad0bee26 Bug 1219210 - Add ITextureClientAllocationHelper and VENUS color handling r=nical,jolin 2015-12-04 02:13:49 -08:00
Nathan Froyd
ffeb7c7fe3 Bug 1229963 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/media/; r=cpearce 2015-12-02 18:07:59 -05:00
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
Nicolas Silva
48c889335e Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Gerald Squelart
83be56e479 Bug 1181718 - Fallible allocation of blank audio data - r=jya
This is mostly to guard against allocating crazy amounts of memory due to
invalid data -- in this case a sample with an excessive number of frames.
2015-11-26 18:01:00 +01:00
Sotaro Ikeda
84b12d8d2c Bug 1227415 - Fix copy buffer size r=jolin 2015-11-24 21:05:35 -08:00
Chris Pearce
cea22429d5 Bug 1226450 - Report audio/video codecs used in HTMLMediaElement and WebAudio via telemetry. r=jya 2015-11-25 12:52:48 +13:00
Wes Kocher
72261b4523 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)

--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Nicolas Silva
318de9bd3b Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Jean-Yves Avenard
ef21ca8081 Bug 1226707: [ffmpeg] P1. Delete codec context upon initialization failure. r=gerald 2015-11-23 16:30:47 +11:00
Carsten "Tomcat" Book
1a584aca79 Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Nicolas Silva
94c7acf9ef Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Sotaro Ikeda
acbc5c644e Bug 1222923 - Enable MOZ_FMP4 on gonk L r=jolin 2015-11-20 01:18:06 -08:00
Jean-Yves Avenard
0911f86c44 Bug 1223333: [ffmpeg] Do not rely on library name to determine the libavcodec's version. r=kentuckyfriedtakahe
Also uses portable way to dynamically open libraries.
2015-11-19 10:32:21 +11:00
Eugen Sawin
4cdb0b9c42 Bug 1221991 - [4.2] Add AndroidDecoderModule logging. r=snorp 2015-11-17 20:50:29 +01:00
Eugen Sawin
4e994b9ef2 Bug 1221991 - [3.1] Manage module state via accessor functions. r=snorp 2015-11-17 20:50:29 +01:00