Paul Adenot
fbc46d612c
Bug 883010 - Optimize MediaStreamGraphImpl::UpdateStreamOrder in order to optimize away how much time we spend on it in every iteration of the MSG. r=roc
...
--HG--
extra : rebase_source : f1b09842f12b66ac0398b4780865cde461445a8a
2014-01-29 14:34:35 +01:00
Karl Tomlinson
15a109ce4e
b=966800 don't ignore blocking changes when another stream is finishing or underrunning r=roc
...
--HG--
extra : transplant_source : %7C%C3B%08%3E%D2%B2%93%BC%811%22%D1%27%95%AF%BD%D1eB
2014-02-03 13:55:41 +13:00
Benoit Jacob
4703621d85
Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel
2014-01-30 17:58:51 -05:00
Benoit Jacob
3ee7a2d643
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
...
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Karl Tomlinson
f90c19d165
Bug 961996 - restore mForceShutDown check before MediaStreamGraphShutDownRunnable dispatch r=roc
...
This check was dropped in 1ebe4da27dd5.
--HG--
extra : rebase_source : 495d81cff39f2ee074effe6bef06caf6b2ac3161
2014-01-30 18:50:17 +13:00
Robert O'Callahan
d4f02e9853
Bug 952893. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot
2014-01-16 00:13:07 +13:00
Ryan VanderMeulen
733397089c
Backed out changesets ac4e6f145b9a, 91c572ac5ee1, f501606dc1d3, and 15fc5d1cb10e (bug 952893) for test failures on a CLOSED TREE.
2014-01-29 14:34:08 -05:00
Robert O'Callahan
d747d15e12
Bug 952893. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot
2014-01-16 00:13:07 +13:00
Paul Adenot
76d630d993
Bug 952893 - Backout changesets 780cba0f9f59, 887fe3a09c3d and fb04a4252ea3 for bad commit message, DONTBUILD.
2014-01-29 17:36:56 +01:00
Robert O'Callahan
270ee7e65f
Bug 952389. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot
2014-01-16 00:13:07 +13:00
Karl Tomlinson
73f610301f
b=957359 change failing output + finished assertion to warning r=padenot
...
--HG--
extra : transplant_source : %9A%B8%EE7h7PV%A9%E3P%B9%29%C1%FFz%40%DBPH
2014-01-28 18:14:24 +13:00
Karl Tomlinson
8d04d9052f
b=957468 remove unused mNonRealtimeIsRunning r=ehsan
...
--HG--
extra : transplant_source : %F1%A1%5DT%21%AE%B0%AAh%1F%BB%06X%80F%9C%BBe%15U
2014-01-28 18:14:22 +13:00
Paul Adenot
362b4ac9ad
Bug 961787 - Buffer more data when using MediaElementAudioSourceNode / mozCaptureStream from a media decoder. r=roc
2014-01-27 19:10:48 +01:00
Paul Adenot
49abe4d300
Bug 955911 - r=roc
2014-01-13 17:38:30 +01:00
Karl Tomlinson
b30e46dcaa
b=957468 don't unset mNonRealtimeProcessing after offline graph completion r=roc
...
--HG--
extra : transplant_source : %D1%17%20%079%82%2B%91ES%B5%CC%83%E3t%8B%F9%A8%D6%E7
2014-01-08 17:04:36 +13:00
Karl Tomlinson
473f7b8c71
b=943461 don't move messages from mCurrentTaskMessageQueue after it has been emptied r=roc
...
--HG--
extra : transplant_source : a%27%91%24%A5%1Fe%82%B5%5B%82%AF%17%1A%BA%D8%9DRai
2014-01-08 16:58:14 +13:00
Robert O'Callahan
594868f59d
Bug 943461. Part 20: Don't revive an offline MediaStreamGraph that has finished. Instead, process any pending events using their RunInShutdown sequence. r=padenot
...
--HG--
extra : rebase_source : 7d2d6282418cf0a339684ad651f8c29876acf496
2014-01-07 09:09:29 +13:00
Robert O'Callahan
b33d4283d0
Bug 943461. Part 13: Keep producing silence in AudioNodeStreams' mLastChunks even after they've finished r=padenot
...
Without this the last before-finished audio block gets picked up by downstream
ObtainInputBlock calls.
--HG--
extra : rebase_source : d7f804cea59454bdb0aa5931d19bcc123e0d16cb
2013-12-10 13:49:03 +13:00
Robert O'Callahan
43581067c4
Bug 947796. Must convert milliseconds to MediaTime correctly. r=padenot
...
--HG--
extra : rebase_source : 8cbe26ea9f5189df38985a57fdd447e858885b18
2013-12-09 18:08:02 +13:00
Robert O'Callahan
2189b5f9e4
Bug 943461. Part 11: Don't tear down an OfflineAudioContext until its current time has actually reached its end, to ensure that all relevant stream state changes have been forwarded to the main thread. r=padenot
...
--HG--
extra : rebase_source : 32b9a4cf4c39edfabf5be17cec50a676f1ad4641
2013-12-09 18:08:02 +13:00
Robert O'Callahan
e4b0b7a283
Bug 943461. Part 10: Fix and simplify setting of mNextMainThreadFinished. r=padenot
...
--HG--
extra : rebase_source : 4530688441600d6538cd9a9662466762ca845ff9
2013-12-09 18:08:02 +13:00
Robert O'Callahan
cbd0519476
Bug 943461. Part 9: Handle absence of INCLUDE_TRAILING_BLOCKED_INTERVAL flag correctly. r=padenot
...
--HG--
extra : rebase_source : b7bf3e56e0332dcf1357f959891ff39a86f89cd1
2013-12-09 18:08:02 +13:00
Robert O'Callahan
d235857918
Bug 943461. Part 5: Don't allow a stream to finish before it has produced output up to mStateComputedTime. r=padenot
...
--HG--
extra : rebase_source : 9bf003c246b63b1dd64665024533fda74a8e1fa4
2013-12-06 09:23:57 +13:00
Robert O'Callahan
ee1833e055
Bug 943461. Part 3: Like part 1, blocking calculations should note that a stream is only fully ended whenall of its tracks have finished playing out. r=padenot
...
--HG--
extra : rebase_source : 892cd92396e317d1c46a2f67d0061dc3d513de98
2013-12-04 19:00:26 +13:00
Robert O'Callahan
8dd460fc87
Bug 943461. Part 2: Add assertion to catch cases where we NotifyOuput after NotifyFinished. r=padenot
...
--HG--
extra : rebase_source : 8653b45d9f1dde5ff40bd2621ee9cda527bb6be1
2013-12-04 18:59:14 +13:00
Robert O'Callahan
77beca3623
Bug 943461. Part 1: A stream is fully finished when all its tracks have finished playing out. r=padenot
...
--HG--
extra : rebase_source : 0efa4353ea22ffd52d550331623098d275382148
2013-12-04 14:08:12 +13:00
Karl Tomlinson
14bf099fae
b=956611 remove costly atomic reference counting from ProduceDataForStreamsBlockByBlock r=padenot
...
--HG--
extra : transplant_source : %D7bP%80%E1zKym%0A6%E2w%FB%22%3Cy%00%23V
2014-01-07 12:53:49 +13:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
98586cdbc1
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Paul Adenot
565650d978
Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : bbf7b305d13f252e7c743bb9abf12da078db865b
2013-12-09 20:54:49 +01:00
Paul Adenot
9caf81f97d
Bug 916384 and 944707 - Backed out fa872452b89d and 012b1baf2b19 for crashes on a CLOSED TREE.
2013-12-11 16:31:35 +01:00
Paul Adenot
306a521da6
Bug 944707 - Stop locking when getting the preferred sample rate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : f2b5be30c25d71cfdb259cb5035335fb4e8a415c
2013-12-09 20:54:49 +01:00
Robert O'Callahan
ce664453dd
Bug 938022. Part 5: Add aCurrentTime parameter to MediaStreamListener::NotifyOutput and fire notifications when the MediaStreamGraph is in a good state. r=padenot
...
--HG--
extra : rebase_source : 79edce8650fdb7af315df5006ec3b91dc9fd869f
2013-11-26 00:59:49 +13:00
Matthew Gregan
96b0a6e352
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Benjamin Peterson
479abf96d4
backout dc9ebdf27e98 (bug 942657) for bustage
2013-11-28 20:50:16 -06:00
Matthew Gregan
8ed6660e86
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Ehsan Akhgari
8ab03a33ee
Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec
2013-11-20 22:02:42 -05:00
Ehsan Akhgari
7092b111ba
Backed out 2 changesets (bug 939582) because of build bustage
...
Backed out changeset 2079c828645a (bug 939582)
Backed out changeset af472e590088 (bug 939582)
2013-11-20 21:41:40 -05:00
Ehsan Akhgari
258944b4d5
Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec
2013-11-20 21:11:54 -05:00
Chris Double
790065fca5
Bug 939655 - Remove LOG macro definition from MediaStreamGraphImpl.h - r=roc
...
Removing this reduces opportunity for macro name clashes and using
the wrong log object if this header file is included out of order
in a .cpp file.
--HG--
rename : browser/themes/linux/Toolbar-inverted.png => browser/themes/windows/Toolbar-inverted.png
extra : rebase_source : 053384512e0f3a70d07ebe9ca0a07dc0f39d9b5b
2013-11-19 00:48:04 +13:00
Randell Jesup
933821ecb9
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -04:00
Randell Jesup
1af5c4fe0b
backout 5f38b1bd3358 for bustage CLOSED TREE
2013-10-25 19:25:54 -04:00
Randell Jesup
a0692a49f2
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -04:00
Karl Tomlinson
9bf08ddb64
b=926619 check for non-AudioNodeStreams in MediaStream cycles r=padenot
...
--HG--
extra : transplant_source : %2B%F4%EEG%BD%17%2A/%B7%80%F6%22%04%9F%F4E%1FD%F0%A5
2013-10-25 14:05:41 +13:00
Karl Tomlinson
aced9795e5
b=923301 remove now-unused GetCurrentGraphUpdateIndex() and rename mGraphUpdatesSent to mNextGraphUpdateIndex r=roc
...
--HG--
extra : transplant_source : %B6%E8%FF%F8%CA%CCWo%D0%82s%FC%92C%F5L%D9%3D%81%88
2013-10-25 12:12:00 +13:00
Karl Tomlinson
139a3037ef
b=923301 add MediaStreamGraph::RunAfterPendingUpdates() r=roc
...
--HG--
extra : transplant_source : %89%21%AE%87%C7%9C%07%28%3D%60T%83%16n%DC%C9O%87iy
2013-10-25 12:07:29 +13:00
Karl Tomlinson
36808c0f5e
b=914016 always dispatch main thread updates after non-realtime graph finishes r=padenot
...
--HG--
extra : transplant_source : %0B%0C%93%05k%3F%3A%AEfT9%C9u%8D%C5pa%9F%11%0D
2013-10-24 07:21:33 +13:00
Paul Adenot
2cd152d0cc
Bug 907817 - Allow AudioStream users to pass-in latency requirements. r=kinetik
...
--HG--
extra : rebase_source : 3cf1971913b3cfd8000c58614b0d0be8b7805af0
2013-10-17 15:44:52 +02:00
Robert O'Callahan
e2bb6e1ede
Bug 922601. Use StreamTimeToGraphTime to get the correct conversion to graph time. r=padenot
...
--HG--
extra : rebase_source : 148da9b3fdc1cd6fb12489ad20d724218fcd75d1
2013-10-01 22:28:49 -04:00
Nicolas Silva
1df67b87cd
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00