Commit Graph

26 Commits

Author SHA1 Message Date
Chris Pearce
4678b0a7b3 Bug 1016148 - Ensure we mark IMFSamples after a flush as discontinuities, so that A/V sync works after seek in MP4Reader. r=padenot 2014-07-10 09:25:14 +12:00
Chris Pearce
d3b4671c04 Bug 1016148 - Rename WMFOutputSource and friends to MFTManager, since it now handles input as well as output. r=padenot
--HG--
rename : content/media/fmp4/wmf/WMFAudioOutputSource.cpp => content/media/fmp4/wmf/WMFAudioMFTManager.cpp
rename : content/media/fmp4/wmf/WMFAudioOutputSource.h => content/media/fmp4/wmf/WMFAudioMFTManager.h
rename : content/media/fmp4/wmf/WMFVideoOutputSource.cpp => content/media/fmp4/wmf/WMFVideoMFTManager.cpp
rename : content/media/fmp4/wmf/WMFVideoOutputSource.h => content/media/fmp4/wmf/WMFVideoMFTManager.h
2014-07-10 09:25:10 +12:00
Ehsan Akhgari
83726d4e9c Bug 1031349 - Fix the forward declaration of MP4Sample in WMFMediaDataDecoder.h; r=cpearce 2014-06-27 17:50:41 -07:00
Ralph Giles
79b23c4048 Bug 1019291 - Construct Annex B samples in the decoder. r=cpeace
Move Annex B sample formatting from the demuxer to a
static utility function. Return NAL unit syntax
samples by default, since more platforms prefer to
unpack the AVCC data themselves.

Pass the raw AVCC payload to ffmpeg through its extradata
field. It can handle either sample format, expecting one or
the other depending on whether extradata is present.

Pass input samples through a new WMFOutputSource::Input
method. Save a reference to the VideoDecoderConfig in the
WFMVideoOutputSource and use it to convert samples to
Annex B before forwarding them to the MFTDecoder.
2014-06-19 15:59:00 -07:00
Chris Pearce
b6045ec58d Bug 1022467 - Proxy destruction of WMFVideoOutputSource's DXVA2Manager to main thread. r=padenot 2014-06-11 10:53:21 +12:00
Anthony Jones
0caa8d383f Bug 908503: Change to stagefright demuxer; r=cpearce
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
Bug 908503: Remove Chrome demuxer; r=cpearce
Bug 908503: Add conversion to Annex B; r=cpearce
2014-05-22 14:42:39 +12:00
Wes Kocher
e45f0bc2b5 Backed out 4 changesets (bug 908503) for breaking the Hamachi eng dep build on an otherwise CLOSED TREE
Backed out changeset 476cd5c9c5a9 (bug 908503)
Backed out changeset add95b3c2e7f (bug 908503)
Backed out changeset 30957caad928 (bug 908503)
Backed out changeset f6f386352d12 (bug 908503)
2014-05-12 21:18:31 -07:00
Anthony Jones
899dfd3b34 Bug 908503: Change to stagefright demuxer; r=cpearce 2014-05-13 14:53:54 +12:00
Anthony Jones
ec6e39e9ce Backed out changeset 191741878690 (bug 908503) 2014-05-12 10:11:04 +12:00
Anthony Jones
4e378484d7 Bug 908503: Change to stagefright demuxer; r=cpearce 2014-05-12 09:46:18 +12:00
Kyle Huey
b6957123df Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
acd8c16b76 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Matt Woodrow
1decbcaebc Bug 904890 - Part 4: Enable hardware accelerated video decoding for OMTC+D3D9/11. r=cpearce 2014-04-07 15:17:41 +12:00
Ehsan Akhgari
f1e844fd62 Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
Ms2ger
f79d93ff0a Bug 952033 - Part c: Use IntSize and IntRect in VideoData; r=roc 2014-02-09 09:04:38 +01:00
Chris Pearce
dc376585a3 Bug 962385 - Make WMF PlatformDecoderModule conform to new async interface. r=padenot
--HG--
rename : content/media/fmp4/wmf/WMFAudioDecoder.cpp => content/media/fmp4/wmf/WMFAudioOutputSource.cpp
rename : content/media/fmp4/wmf/WMFAudioDecoder.h => content/media/fmp4/wmf/WMFAudioOutputSource.h
rename : content/media/fmp4/wmf/WMFVideoDecoder.cpp => content/media/fmp4/wmf/WMFVideoOutputSource.cpp
rename : content/media/fmp4/wmf/WMFVideoDecoder.h => content/media/fmp4/wmf/WMFVideoOutputSource.h
2014-02-05 14:29:31 +13:00
Ben Kelly
1b1cb3004d Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
Chris Pearce
07632ef3eb Bug 959440 - Apply MP4Reader cleanups to WMFDecoderModule. r=padenot
Update WMFDecoderModule and friends to reflect changes to PlatformDecoderModule
interface in previous patch.
2014-01-15 16:14:15 +13:00
Wes Kocher
9d425a5f2c Backed out 2 changesets (bug 959440) on an unrelated CLOSED TREE
Backed out changeset f4fd03805620 (bug 959440)
Backed out changeset bfee2bc18e55 (bug 959440)
2014-01-14 17:37:57 -08:00
Chris Pearce
55ffada3e3 Bug 959440 - Apply MP4Reader cleanups to WMFDecoderModule. r=padenot
Update WMFDecoderModule and friends to reflect changes to PlatformDecoderModule
interface in previous patch.
2014-01-15 13:31:12 +13:00
Birunthan Mohanathas
c293ca84b8 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Chris Pearce
14c1e2ca4c Bug 945085 - Improve comments in PlatformDecoderModule.h. r=kinetik
Adds comments to PlatformDecoderModule.h, and describes the call model
better. Renames CreateAudioDecoder and CreateVideoDecoder to
CreateAACDecoder and CreateH264Decoder. We may change them to accept a
codec parameter and have more general names in future when we need to
support more codecs here.
2013-12-04 13:47:12 +13:00
Jacek Caban
7a28d05200 Bug 944900 - Fix content/media/fmp4 compilation on mingw. r=cpearce
--HG--
extra : rebase_source : 3e1bd0401c7768b97dc22bddb7c76cc8ba832675
2013-12-02 12:12:35 +01:00
Masatoshi Kimura
23ff300256 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Chris Pearce
25d65fda1c Bug 886196 - Implement WMF platform decoder for FMP4 demuxer. r=padenot 2013-11-21 10:04:33 +13:00