Karl Tomlinson
b336d85e93
b=1024901 revert TrackTicks range assertion to warning, unintentionally changed in b33b8af66151 r=roc
...
--HG--
extra : transplant_source : %D8%F8%C3%C2%C3%BF%29%F5%9C%3DiG%04%F9%86Gu%29%9A%8C
2014-06-18 17:23:57 +12:00
Karl Tomlinson
1fdee32d25
b=1023697 add functions to convert between track ticks and seconds, and remove global MediaTime/second conversion functions r=roc
...
--HG--
extra : transplant_source : %F3%D8%C168%B7%A3%13%B2p%3Ee%89TkGlD%A8%A7
2014-06-12 16:45:00 +12:00
Karl Tomlinson
d8be06bf30
b=1023697 add functions to convert between track rates and remove global StreamTime/tick conversion functions r=roc
...
--HG--
extra : transplant_source : %B6%BC%83%17%22%EE%5D%BEl%B6%17m%1C%D0N%D1C%97%60%E1
2014-06-12 16:44:59 +12:00
Karl Tomlinson
b0bb0ef6be
b=1023697 record the graph tick rate on StreamBuffer and its Tracks for StreamTime calculations r=roc
...
--HG--
extra : transplant_source : 8%B4%DB%A4%FE%2C%B7%235%7F%7D5%2C%FA%BA%0D%9E%CC%7E%11
2014-06-12 16:44:59 +12:00
Karl Tomlinson
21c0a9c38e
b=1023697 remove unused TicksToTimeRound() r=roc
...
--HG--
extra : transplant_source : %3E%84%B8%C7%25%EE%EEz%08%B9%ABx8%27%C3%BA%9C%F6%9D%ED
2014-06-12 16:44:55 +12:00
Karl Tomlinson
c4e30140cf
b=1016177 reduce MEDIA_TIME_MAX to not overflow when multiplying by sample rates r=roc
...
MediaTimes are multiplied by sample rates when converting to ticks.
This new maximum leaves 24 bits to count seconds, which corresponds to 194
days.
TimeVarying::GetAt() can return INT64_MAX, which may be > GRAPH_TIME_MAX.
The "Start time too early" assertion would now fail because conversion of
STREAM_TIME_MAX to ticks no longer overflows.
--HG--
extra : rebase_source : b49c95315d0c633f191ff68aab0b5b7aa04c6e38
2014-06-05 22:08:05 +12:00
Eric Rahm
0c4d54b70f
Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn
2014-04-13 11:08:10 -07:00
Ryan VanderMeulen
a5e7362bd5
Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc
2014-02-28 09:11:37 -05:00
Robert O'Callahan
0606ce8b72
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
Ehsan Akhgari
143454cc1a
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-05 16:25:17 -04:00
Ehsan Akhgari
92ad73ef93
Backed out changeset 2f15518f566e (bug 912702) because of B2G JB Emulator build bustage
...
--HG--
extra : rebase_source : 6c01ad3bc2f91b0e7e3edab84aedbfe064310a8b
2013-09-05 13:29:38 -04:00
Ehsan Akhgari
be1e68caf3
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-04 17:58:14 -04:00
Ehsan Akhgari
c89889cb25
Bug 898967 - Remove the unused StreamBuffer::mForgottenUpTo member; r=roc
...
--HG--
extra : rebase_source : ef259872ebe3e49dad71a1ca28788c0e8a6ed05f
2013-08-28 10:14:01 -04:00
Randell Jesup
8161849c3d
Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc
2013-03-07 03:53:45 -05:00
Ed Morley
b360848aef
Backed out changeset be1ee54becf4 (bug 839650) for build failures
2013-03-07 09:10:47 +00:00
Randell Jesup
07aff4ee8e
Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc
2013-03-07 03:53:45 -05:00
Robert O'Callahan
07374ef1bf
Bug 804387. Part 2: Fix misleading parameter name; these are NOT exactly microseconds. r=jesup
...
--HG--
extra : rebase_source : da23d4a4e5a9804b3c3ca19183ae048bf6012152
2013-02-04 23:04:25 +13:00
Ehsan Akhgari
631b308649
Backed out 14 changesets (bug 804387) because of Android M2 crashes
...
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Robert O'Callahan
900a1da80e
Bug 804387. Part 2: Fix misleading parameter name; these are NOT exactly microseconds. r=jesup
2013-02-04 23:04:25 +13:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Robert O'Callahan
925835b996
Bug 779715. Part 1: Add basic support for ProcessedMediaStreams. r=jesup
...
The main thing this patch does is to add ProcessedMediaStream objects and
MediaInputPorts connecting streams. ProcessedMediaStreams are an abstract
class that doesn't constrain what processing is actually performed, except
that for now we assume a stream's processing depends only on its inputs
window of data between mCurrentTime and mStateComputedTime.
This patch reorganizes the way the blocking status of each stream is computed.
The streams are partitioned into groups so that every stream which can affect
the blocking status of another stream is in the same group as that other stream.
We also add a pass to order the streams by dependency so we can process the streams
in order of dependency; this pass also identifies the streams that form part of a
cycle.
--HG--
extra : rebase_source : c45c931a264e73f295642a934500bbeaa6448774
2012-08-01 00:17:21 +12:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Robert O'Callahan
ba1e1720cd
Bug 664918. Part 2: Create MediaSegment, AudioSegment and VideoSegment classes to manage intervals of media data. r=jesup
...
Also introduces a SharedBuffer class, representing a blob of binary data with threadsafe refcounting.
2012-04-30 15:11:19 +12:00