Commit Graph

154 Commits

Author SHA1 Message Date
Matt Woodrow
0df1801282 Bug 1112331 - Disable DXVA when using WARP. r=cpearce,Bas 2015-01-21 16:36:01 +13:00
Blake Wu
43fbb190db Bug 1118141 - Update Audio buffers when receiving INFO_OUTPUT_BUFFERS_CHANGED. r=edwin. 2015-01-19 11:57:57 +08:00
Chris Pearce
8a239a32e3 Bug 1123498 - Make MP4Reader skip-to-next-keyframe less aggressively. r=mattwoodrow 2015-01-20 15:20:43 +13:00
Jean-Yves Avenard
4b9d716fbb Bug 1123054: Don't check VDA reference count. r=rillian
--HG--
extra : rebase_source : ecf3c019aa8e6b0a40b83c12d9303d3330412c33
2015-01-19 01:10:51 +11:00
Jean-Yves Avenard
f5127dcbe3 Bug 1123269: Better fix for bug 1121876 r=cpearce 2015-01-20 10:45:07 +11:00
Jean-Yves Avenard
f246acf45b Bug 1121876: Configure WMF decoder to output PCM 16. r=cpearce
Also, do not use input's bit depth for calculating output samples. They are
unrelated
2015-01-19 22:11:07 +11:00
Jean-Yves Avenard
9e6d0d09bc Bug 1121876: Treat negative WMF's output sample timestamp as zero. r=cpearce 2015-01-19 22:11:03 +11:00
Bobby Holley
e814d359c3 Bug 1121692 - Remove unnecessary arguments to ::Seek. r=mattwoodrow,sr=cpearce 2015-01-16 10:57:59 -08:00
Bobby Holley
cd438601e1 Bug 1121841 - Clear the failed read after checking it. r=jya 2015-01-15 09:58:38 -08:00
Chris Pearce
2d7d331a93 Bug 1112822 - Don't allow MP4Reader to decode if someone shut it down. r=mattwoodrow 2015-01-15 15:49:38 +13:00
Matt Woodrow
366c7a681f Bug 1121661 - Null check mDemuxer in MP4Reader::ResetDecoder since we might not have created one yet. r=bholley 2015-01-15 14:42:49 +13:00
Chris Pearce
59325224ff Bug 1112445 - Ignore the audio stream when determining whether we should skip-t-o-next-keyframe for async readers. r=mattwoodrow 2015-01-13 22:31:03 +13:00
Bobby Holley
b9245f531a Bug 1120629 - Cache data directly on MP4Stream rather than relying on the media cache. r=roc 2015-01-12 15:50:09 -08:00
Matt Woodrow
972dde5588 Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe 2015-01-12 10:57:14 +13:00
Bobby Holley
5a7f8b32cf Bug 1119456 - Work around the fact that media cache does not quite guarantee the property we want. r=roc 2015-01-11 13:24:26 -08:00
Bobby Holley
85966c53ed Bug 1119456 - Make MP4Demuxer's blocking reads non-blocking and hoist blocking into callers with a hacky retry strategy. r=k17e 2015-01-11 13:24:26 -08:00
Matt Woodrow
fe5df5dec4 Bug 1116284 - Don't run MP4Reader::Update after we've shut the reader down. r=cpearce 2015-01-12 09:43:11 +13:00
Jim Chen
db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
31a966ecd6 Bug 1117261 - Mark virtual overridden functions as MOZ_OVERRIDE in DOM media code; r=rillian 2015-01-08 23:11:30 -05:00
Chris Pearce
87fcfb65d4 Bug 1107889 - On Windows, detect when unable to play H.264/AAC (for example due to lacking service pack on Vista). r=kinetik,r=dmajor 2015-01-09 13:17:11 +13:00
Bobby Holley
c69456ab40 Bug 1064128 - Implement support for timestampOffset in segments mode. r=k17e,r=cajbir 2015-01-07 15:58:55 -08:00
Blake Wu
719c1cadc9 Bug 1114928 - Have an initial value for Ouput result. r=ajones 2015-01-07 13:47:20 +08:00
James Willcox
a19ed3831f Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert 2015-01-07 11:54:33 -06:00
Alfredo Yang
260db40fc9 Bug 1098166 - remove unnecessary assert in GonkDecoderModule::Shutdown. r=ajones 2015-01-06 02:03:00 +01:00
Jeff Gilbert
a76e617dd0 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Jean-Yves Avenard
b1596dcc70 Bug 1115594: Fix indentation in AppleVDADecoder. r=rillian
--HG--
extra : rebase_source : 6f12f00194507d9000f11d48df8350eed968c30d
2014-12-30 12:06:22 +11:00
Bobby Holley
fe6a11e4f9 Bug 1115749 - Hold the demuxer lock while accessing metadata. r=rillian
We're invoking a number of methods on mDemuxer here.
2014-12-29 16:10:16 -08:00
Bobby Holley
47687b23ea Bug 1115749 - Hold the demuxer monitor in MP4Reader::Seek. r=rillian
This method invokes Seek* on mDemuxer.
2014-12-29 16:10:16 -08:00
Bobby Holley
e6e1fb5905 Bug 1115749 - Rename mIndexMonitor to mDemuxerMonitor. r=rillian 2014-12-29 16:10:16 -08:00
Jean-Yves Avenard
a3c28798a1 Bug 1111319: Reorder video frames with respect to decoding sliding window. r=rillian 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
cb16fdaa24 Bug 1111328: Retrieve video dimensions from H264 SPS when possible. r=rillian 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
1b4e25aac8 Bug 1114802: MP4: Hold demuxer monitor while resetting. r=kentuckyfriedtakahe 2014-12-23 13:39:35 +11:00
Jean-Yves Avenard
514510a632 Bug 1113045: Make AppleVT/VDA/AT/Decoder's destructors virtual. r=rillian
These decoders are accessed through a base class.
Additionally, the style guide dictates that we're supposed to add "virtual" keyword even when it's unnecessary, for documentation purposes.
2014-12-23 14:39:22 +11:00
Jean-Yves Avenard
b2f2b09c22 Bug 1110534: Use ref counted pointers to hold references in mac decoder. r=rillian 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
9cdf6937a4 Bug 1110534: Use AVCC wrapper for EME. Adds AnnexB and AVC3 support. r=cpearce 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
73cd5036a3 Bug 1110534: Use AVCC wrapper for mac decoder. Adds AnnexB and AVC3 support. r=cpearce 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
43dc514afc Bug 1110534: Create AVCC converter wrapper class. r=cpearce
This class easily allows an AVCC-only decoder (H264EME and Apple VDA/VideoToolbox) to support
AnnexB and AVC3 content.
This is done by lazily creating the decoder only once we have detected SPS/PPS in the data
stream, and converting all input to AVCC format.
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
c7723f6179 Bug 1110534: Make PlatformDecoderModule ref counted. r=edwin 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
037499d91e Bug 1110534: Add AnnexB support to FFmpeg h264 decoder. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
7341bcdb6e Bug 1110534: Use more accurate names in MP4Sample and Annex B utility functions. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
8f57ec0db8 Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Bobby Holley
3a7dd07a3d Bug 1114383 - Unlock the demuxer monitor before calling out via MP4Stream. r=k17e 2014-12-21 22:04:36 -08:00
Bobby Holley
6d0ec2b9a3 Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e 2014-12-21 22:04:36 -08:00
Bobby Holley
01bbb5b92f Bug 1114383 - Acquire the index monitor in MP4Reader::PopSample. r=k17e 2014-12-21 22:04:36 -08:00
Matt Woodrow
675718e2ea Bug 1112446 - Add logging for media queue lengths. r=ajones 2014-12-18 12:41:19 +13:00
Matt Woodrow
38354269a6 Bug 1111966 - Fix reporting of parsed and decoded frames for MP4Reader. r=cpearce 2014-12-17 11:31:17 +13:00
Matt Woodrow
2c7e571767 Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley 2014-12-16 22:52:57 +13:00
Ryan VanderMeulen
db866399a5 Merge b2g-inbound to m-c. a=merge 2014-12-16 16:03:17 -05:00
Alfredo Yang
b140d759be Bug 1105209 - Add media resource request API. r=kentuckyfriedtakahe 2014-12-15 22:25:00 -05:00