Commit Graph

44 Commits

Author SHA1 Message Date
Ralph Giles
b18d697104 Bug 941296 - h.264 platform decoder for OS X. r=cpearce
Implement an h.264 decoder using Apple's VideoToolbox framework.
Based on gstreamer's vtdec because there's very little documentation
for this API beyond the framework's header file.

Reuse the MOZ_APPLEMEDIA define from the mp3 decoder.

AAC decoding is stubbed to use the BlankDecoderModule's 440A tone.

Provide a stub header for the VideoToolbox framework and load
it dynamically at run time so we can build and run on versions
prior to MacOS X 10.8 where it's not available.

Dynamically load the CoreMedia framework as well, but build
against its headers since it's available on MacOS X 10.7 or
later, which is our minimum build version.
2014-07-24 13:47:00 -07:00
Anthony Jones
02c96aa201 Bug 1044714 - Add MP4 parser 'trex' atom support; r=edwin 2014-07-28 16:32:51 +12:00
Anthony Jones
d3ef0039ef Bug 1044713 - Modify MP4 metadata parser to make it less sensitive to atom ordering; r=edwin 2014-07-28 16:32:50 +12:00
Anthony Jones
cd04f88f69 Bug 1039128 - Fix drain of video queue 2014-07-25 14:57:25 +12:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Chris Pearce
63333d7edb Bug 1041368 - Make MP4 demuxer correctly store the size of plain_sizes data. r=kentuckyfriedtakahe 2014-07-21 14:02:20 +12:00
Chris Pearce
2e7b854815 Bug 1041346 - Remove MediaBufferGroup from libstagefright, since it's no longer used. r=kentuckyfriedtakahe 2014-07-21 14:00:42 +12:00
Chris Pearce
5fd4a67174 Bug 1041346 - Don't limit number of samples stagefright mp4 demuxer can output. r=kentuckyfriedtakahe 2014-07-21 14:00:32 +12:00
Anthony Jones
1e4a5f3848 Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-18 15:36:04 +12:00
Wes Kocher
d8e03d0460 Backed out changeset daa82439f77f (bug 1022434) for build bustage 2014-07-17 20:03:18 -07:00
Anthony Jones
33a4e0d2c0 Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-18 14:37:43 +12:00
Carsten "Tomcat" Book
6de970a95e Backed out changeset 929cc6239d79 (bug 1022434) for bustage 2014-07-17 06:52:32 +02:00
Anthony Jones
ee9607cb53 Backed out cset 588a03cd4e27 bug 1022434 2014-07-17 16:47:21 +12:00
Carsten "Tomcat" Book
fa6bb4ad9e Backed out changeset 588a03cd4e27 (bug 1022434) for bustage on a CLOSED TREE 2014-07-17 06:45:20 +02:00
Anthony Jones
229a6bf2e3 Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-17 16:27:13 +12:00
Ralph Giles
5b5a2045aa Bug 1037689 - Document MP4Sample timestamp units. r=ajones
These look to be returning values in microseconds, already
adjusted by the stream's internal timescale.
2014-07-14 14:19:00 -07:00
Anthony Jones
77a674148c Bug 1035059 - Add input padding for libav; r=edwin 2014-07-11 18:43:59 +12:00
Anthony Jones
49fa9258a7 Bug 1034444 - Fix libstagefright warnings; r=cpearce 2014-06-02 17:38:04 +02:00
Anthony Jones
f156664cf8 Bug 1034444 - Make MP4Reader::GetBuffered() accurate; r=edwin,cpearce 2014-06-02 17:38:04 +02:00
Chris Peterson
264dead1e7 Bug 1031978 - Suppress -Wmismatched-tags clang warnings in third-party code: libstagefright. r=cajbir 2014-06-29 20:12:38 -07:00
Anthony Jones
795a855f84 Bug 1027875 - Remove Annex B assertion; r=cpearce 2014-07-04 20:31:19 +12:00
Anthony Jones
a9857ba3c9 Bug 1027875 - Fix CTS offset processing in fMP4; r=cpearce 2014-07-04 20:31:19 +12:00
Chris Pearce
711b5f3c6f Bug 1029824 - Fix AVCC to AnnexB conversion code for non-4 length NAL sizes and multiple NAL per samples. r=kentuckyfriedtakahe 2014-06-26 15:43:14 +12:00
Ralph Giles
d30ff7d8d1 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
Birunthan Mohanathas
80f6064e45 Bug 1026535 - Disable C4099 warning in 3rd party code. r=ehsan 2014-06-19 14:42:00 -04:00
Anthony Jones
37a9aa9902 Bug 1020679 - Guard against MP4 /0 for timescale. r=cpearce 2014-06-17 13:52:03 +12:00
Anthony Jones
60c42c6d30 Bug 1020679 - Fix MP4 demuxer duration. r=cpearce 2014-06-06 16:19:29 +12:00
Anthony Jones
9c2ebc48cb Bug 1016150 - Fix Windows date assert in libstagefright demuxer; r=cpearce 2014-06-09 18:07:46 +12:00
Jacek Caban
bc6e571764 Bug 1018905 - Fix media/libstagefright compilation on mingw. r=ajones
--HG--
extra : rebase_source : 9f89d48a4985bda9611ff39b90955d026e173808
2014-06-03 13:26:07 +02:00
Chris Peterson
97bdd1ca2a Bug 1017110 - Suppress warnings in third-party code: libstagefright. r=cajbir
--HG--
extra : rebase_source : 7bb135a1ac1cdeda748fcfb6a2a6283807259e80
2014-05-26 22:31:34 -07:00
Anthony Jones
c57c5e40c1 Bug 1014814 - Fix Android log r=glandium 2014-05-26 09:20:56 +12:00
Jan Beich
cfd3e70677 Bug 1014613 followup - Add one more fix for OpenBSD. 2014-05-26 16:05:53 +12:00
Anthony Jones
190b72aea9 Bug 1014626 - Fix Windows 64 build break 2014-05-26 15:52:01 +12:00
Jan Beich
1e350332ac Bug 1014613 - Unbreak build on BSDs after bug 908503. 2014-05-23 14:07:29 +12:00
Anthony Jones
a5ed041766 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
4104982fc3 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
3898229d6e Bug 908503: Fix build issues and Hf build; r=cpearce 2014-05-13 14:53:54 +12:00
Anthony Jones
2902d0e722 Bug 908503: Build config changes for libstagefright demuxer; r=glandium 2014-05-13 14:53:54 +12:00
Anthony Jones
402761fa6b Bug 908503: Change to stagefright demuxer; r=cpearce 2014-05-13 14:53:54 +12:00
Anthony Jones
f9d210473c Backed out changeset 191741878690 (bug 908503) 2014-05-12 10:11:04 +12:00
Anthony Jones
ee3f5878b1 Backed out changeset 7f57690f5141 (bug 908503) 2014-05-12 10:11:03 +12:00
Anthony Jones
a6747308e3 Bug 908503: Build config changes for libstagefright demuxer; r=glandium 2014-05-12 09:46:31 +12:00
Anthony Jones
64a7ee9ff9 Bug 908503: Change to stagefright demuxer; r=cpearce 2014-05-12 09:46:18 +12:00
Anthony Jones
7aa64494df Bug 908503: Import libstagefright code from AOSP; r=cpearce 2014-05-12 09:46:09 +12:00