Karl Tomlinson
a650122f64
b=865241 always leave 20 samples of headroom when extracting group delay, removing the discontinuity at delay = 20 r=ehsan
...
--HG--
extra : rebase_source : 30515ea2236b7503ff7e446d50930f91135bc7e0
2013-08-08 21:38:29 +12:00
Karl Tomlinson
d494799ed1
b=815643 Add Blink's frequency interpolation and group delay methods from FFTFrame to FFTBlock r=ehsan
...
--HG--
extra : rebase_source : 1e3393c85f1828cbcce49af1e3160fc3535d39b8
2013-08-08 21:38:24 +12:00
Karl Tomlinson
0e2cb4c001
b=865241 don't try to compute a phase for group delay from the DC and nyquist components of the DFT r=ehsan
...
Given imagP[0] is really realP[halfSize], it doesn't make sense to calculate a
phase from placing the DC and Nyquist components in different directions.
The DC component doesn't have a phase offset and lastPhase is already
initialized to zero.
This makes extractAverageGroupDelay() consistent with addConstantGroupDelay()
and to some extent interpolateFrequencyComponents().
The effect of the bug would have been small for reasonably sized FFTs.
--HG--
extra : rebase_source : b2931d625bd7e014f123b576f28aad7f719c585d
2013-08-08 21:37:36 +12:00
Karl Tomlinson
a7e95885f3
b=815643 remove unused HRTF code r=ehsan
...
--HG--
extra : rebase_source : f6063443b6e7574055b0ad92e95e32d7f0a850cd
2013-08-08 21:37:36 +12:00
Karl Tomlinson
d1fd66224a
b=815643 Import the HRTF panner implementation from Blink r=ehsan
...
This code was copied from Blink SVN revision 153183.
--HG--
extra : rebase_source : 968f69846f5c532eda3580c8ce2176e2e6b5fc63
2013-08-08 21:37:36 +12:00
Chris Pearce
cd87b3fdae
Bug 901944 - Ignore MF_E_TRANSFORM_TYPE_NOT_SET error when setting D3DManager on H264 Decoder. This error is returned on some (or all?) video cards on Vista, and appears to be safe to ignore. r=padenot
2013-08-13 14:42:39 +12:00
Ryan VanderMeulen
f1a7b637de
Backed out changeset 635ef1e34417 (bug 899878) for B2G mochitest-3 timeouts.
2013-08-12 16:45:14 -04:00
Ryan VanderMeulen
f7b0f7438b
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Ralph Giles
9519eeb8a7
Bug 903012 - Fix static bounds checks. r=kinetik
...
In reviewing the static asserts in the code I found two
inconsistencies.
riffHeader includes 4 skipped bytes which weren't accounted
for in the bounds check.
Comparisons of a uint against UINT_MAX are very unlikely to
fail regardless, but this at least makes the two MAX_BLOCK_SIZE
checks the same.
2013-08-08 10:30:00 -04:00
Ralph Giles
467c635f04
Bug 903012 - Convert WaveReader to use static_assert. r=kinetik
...
We prefer the built-in check to the PR_STATIC_ASSERT macro now
that it's supported widely enough to use.
This is mostly adding error strings to report on assertion failure.
2013-08-08 10:30:00 -04:00
Chris Pearce
3fce82c0e2
Bug 901944 - Disable DXVA on Vista, to avoid rendering artifacts. r=kentuckyfriedtakahe
2013-08-12 17:17:38 +12:00
Chris Double
7dd97fc747
Bug 896866 - Media Source Extension demo app doesn't play all segments - r=kinetik
...
--HG--
extra : rebase_source : 13d66fb5c2d6c0c01929e404b6fb1b5d29073b54
2013-08-12 16:37:10 +12:00
Jason Smith
cd6894f4a5
Bug 899878 - Mochitest for recording media with no timeslice for Media Recording API. r=roc
2013-08-06 22:31:48 -07:00
Randy Lin
e3f3a015c2
Bug 903758 - Media Recording - setting the recorder state to inActive on the stop method. r=roc
2013-08-10 20:29:35 +08:00
Randy Lin
f1681d1942
Bug 902194 - Use mutex to replace the reentrant in EncodedBufferCache. r=roc
2013-08-09 13:46:20 +08:00
Randy Lin
0064bc2e7a
Bug 897776 - Test case for MediaRecorder infinite recursion with requestData() calls in "dataavailable" event. r=jsmith
2013-08-11 11:35:16 +08:00
Randy Lin
9c7ebebbcd
Bug 897776 - MediaRecorder infinite recursion with requestData() calls in dataavailable event. r=roc
2013-08-07 18:31:51 +08:00
Ryan VanderMeulen
a199b3df6e
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Ryan VanderMeulen
13be9bc4d0
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
c56b4e5a84
Merge b2g-inbound to m-c.
2013-08-09 17:26:14 -04:00
Ryan VanderMeulen
cce8ae15b0
Backed out changesets 6126987777f3 and a232e4df28e5 (bug 882171) due to Android build bustage.
2013-08-08 14:38:33 -04:00
Mark Hammond
f9c8c5e605
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Thomas Zimmermann
b2f6b083af
Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
...
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.
2013-08-07 18:54:04 +02:00
Ryan VanderMeulen
7b01d7a416
Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes.
2013-08-09 17:56:15 -04:00
Chris Pearce
1f88a47969
Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps
2013-08-10 08:17:44 +12:00
Carsten "Tomcat" Book
87a23c556a
merge b2g-inbound to mozilla-central
2013-08-08 13:33:12 +02:00
Randy Lin
5c43912958
Bug 902151 - MediaRecorder does not need to tell the cycle collector about mReadThread. r=khuey
2013-08-07 13:55:53 +08:00
Randy Lin
5fe3d87b3f
Bug 900708 - Media Recording - Remove the Assertion in EncodedBufferCache.h. r=roc
2013-08-05 16:49:10 +08:00
Shelly Lin
5b02846740
Bug 896980 - Add error handlings if fail to init track encoder or container writer. r=roc
2013-08-06 18:53:07 +08:00
Robert O'Callahan
af27e8ff70
Bug 856361. Part 10: Address review comments.
2013-08-07 15:42:43 +12:00
Boris Zbarsky
adc8e860c3
Back out revision ab9642207875 (bug 897811) for browser-chrome test failures.
2013-08-08 01:13:45 -04:00
Mark Hammond
71bca9e80b
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
David Zbarsky
9a8d7f077c
Bug 901060: Fix build bustage on Windows, r=bz over irc
2013-08-07 17:40:21 -04:00
Robert O'Callahan
830448dff4
Bug 902197. Don't allow multiple MediaStreams to share the same DOMMediaStream wrapper. r=ehsan
...
--HG--
extra : rebase_source : 60de0aaff391bcabae6c281036e4ab82589e2707
2013-08-07 10:14:35 +12:00
Robert O'Callahan
fed29a23ab
Bug 856361. Part 9: Make SpeechStreamListener handle null AudioChunks. r=smaug
...
--HG--
extra : rebase_source : fdf0bde1220b950c168cae94367c8682184054f0
2013-08-01 16:02:49 +12:00
Robert O'Callahan
537a0a5351
Bug 856361. Part 8: Fix copying of track data from input streams to output streams in AudioNodeExternalInputStream. r=padenot
...
--HG--
extra : rebase_source : 344780d9c27ce3026ae5c12a08ea6a1ba3b4e924
2013-08-01 16:02:49 +12:00
Robert O'Callahan
a229234f06
Bug 899863. Ensure resources with a Content-Length (that's not the result of a range request) are treated as bounded. r=cpearce
...
--HG--
extra : rebase_source : b3741deef952bf31b651c418efa5f168f9881469
2013-08-01 16:02:40 +12:00
Ehsan Akhgari
d6eeb2dccd
Bug 855568 - Implement MediaElementAudioSourceNode
...
X-Git-Commit-ID: 52f1fcdd561e8214e6820a3f2478d9e8b9623430
--HG--
extra : rebase_source : c40cd0c7070dec9e0273093499228f13906f8fc5
2013-07-25 15:01:49 +12:00
Robert O'Callahan
306005fb0f
Bug 856361. Part 6: Make MediaStreamAudioSourceNode keep its DOMMediaStream alive, and make the DOMMediaStream keep the MediaStreamAudioSourceNode alive. r=ehsan
...
--HG--
extra : rebase_source : 0e3b5108d8ced8b1f1f427c9fd4f87e97c46921d
2013-07-25 14:07:34 +12:00
secretrobotron
2c86644947
Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
...
--HG--
extra : rebase_source : 265f31edda31a2f749eacc568919304622446748
2013-07-24 23:29:39 +12:00
Robert O'Callahan
9dcc71b28c
Bug 856361. Part 7: Fix copying of track data from input streams to output streams in TrackUnionStream. r=padenot
...
--HG--
extra : rebase_source : 7138200b4f1060de00b2410f58c645c353580a6f
2013-08-01 16:02:49 +12:00
Robert O'Callahan
ea28a74f6c
Bug 856361. Part 4: Create AudioNodeExternalInputStream. r=ehsan
...
--HG--
extra : rebase_source : 1061dea560eb1c242a4d11aae0d7d89da191d8fe
2013-07-24 22:15:11 +12:00
Robert O'Callahan
b6ff20d959
Bug 856361. Part 3: Refactor AudioNodeStream to create ComputeFinalOuputChannelCount, AccumulateInputChunk and AdvanceOutputSegment, and make AudioNodeStreams be treated as always consumed by the MediaStreamGraph. r=ehsan
...
--HG--
extra : rebase_source : ef176c629f16a00042d2a281bfffbe75c31d6002
2013-07-24 22:11:35 +12:00
Robert O'Callahan
383c6492bc
Bug 856361. Part 2: Block data from a non-same-origin media resource entering a MediaStream from a media element. r=cpearce
...
--HG--
extra : rebase_source : db895d3d2d91a92d0c8c381940a0e0ccc9d9a8d0
2013-07-24 21:55:23 +12:00
Robert O'Callahan
d458f68756
Bug 856361. Part 1: Fix comments for MediaInputPort flags to reflect reality. r=jesup
...
--HG--
extra : rebase_source : 8828d63f75b41500f9c7af5a4d6cf97740fe7215
2013-07-17 15:16:09 +12:00
Mark Hammond
f45a45d737
Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin
2013-08-07 11:10:58 +10:00
JW Wang
ce885c443c
Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan
2013-08-06 14:11:32 +08:00
JW Wang
6d8256114d
Bug 875277 - Part 1: Implement WaveShaperNode.oversample - webidl enums. r=ehsan
2013-08-06 14:15:07 +08:00
Ryan VanderMeulen
19f45ff72d
Backed out changesets aee6b1a6c400 and a633e4d67d31 (bug 875277) for bustage.
2013-08-05 20:47:07 -04:00
JW Wang
ec7bb8499e
Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan
2013-08-05 10:34:52 +08:00