Jean-Yves Avenard
978146db5b
Bug 1394591 - P5. Remove need for atomic members. r=mattwoodrow
...
Instead set members after initialising the child decoder, and only ever access the child decoder on the same thread.
MozReview-Commit-ID: 4mfhVWbNLEu
2017-09-01 22:51:20 +02:00
Jean-Yves Avenard
bafe373bb2
Bug 1394591 - P4. Pass decoder description to RemoteVideoDecoder. r=mattwoodrow
...
This makes it easier to determine the actual decoder in use within the GPU process.
MozReview-Commit-ID: 5TF6AsyXYWW
2017-09-01 18:22:55 +02:00
Jean-Yves Avenard
b111004277
Bug 1394591 - P1. Use nsCString for decoder description. r=gerald
...
This will allow to modify the string returned later.
MozReview-Commit-ID: Giw1JyukE4v
2017-09-01 14:25:28 +02:00
Sebastian Hengst
4da5ab4851
Backed out changeset 409dbe62d0ea (bug 1394591) for asserting GLBlitHelper requires vertex_array_object in dom/media/mediasource/test/test_FrameSelection.html on Android 4.3. r=backout
2017-09-04 00:08:33 +02:00
Sebastian Hengst
6c6b89b497
Backed out changeset b741cbca23bd (bug 1394591)
2017-09-04 00:07:02 +02:00
Sebastian Hengst
01dba605e4
Backed out changeset ba1a3d16916b (bug 1394591)
2017-09-04 00:06:56 +02:00
Jean-Yves Avenard
9c356ef384
Bug 1394591 - P5. Remove need for atomic members. r=mattwoodrow
...
Instead set members after initialising the child decoder, and only ever access the child decoder on the same thread.
MozReview-Commit-ID: 4mfhVWbNLEu
2017-09-01 22:51:20 +02:00
Jean-Yves Avenard
7fa6943836
Bug 1394591 - P4. Pass decoder description to RemoteVideoDecoder. r=mattwoodrow
...
This makes it easier to determine the actual decoder in use within the GPU process.
MozReview-Commit-ID: 5TF6AsyXYWW
2017-09-01 18:22:55 +02:00
Jean-Yves Avenard
225ffcb469
Bug 1394591 - P1. Use nsCString for decoder description. r=gerald
...
This will allow to modify the string returned later.
MozReview-Commit-ID: Giw1JyukE4v
2017-09-01 14:25:28 +02:00
Jean-Yves Avenard
3366dcbc57
Bug 1339748: P2. Let the MediaDataDecoder tells the format it wants. r=cpearce
...
MozReview-Commit-ID: 22GEUnwEacd
2017-02-17 22:19:55 +01:00
Sebastian Hengst
71be4ca6aa
Backed out changeset f508a675e8dc (bug 1339748)
2017-02-18 17:36:21 +01:00
Jean-Yves Avenard
ebfd56f8ba
Bug 1339748: P2. Let the MediaDataDecoder tells the format it wants. r=cpearce
...
MozReview-Commit-ID: 22GEUnwEacd
2017-02-17 22:19:55 +01:00
Jean-Yves Avenard
d6b004c4a8
Bug 1319987: P5. Promisify MediaDataDecoder. r=cpearce,gerald,mattwoodrow,snorp
...
This is a big change, and unfortunately impossible to break down with independently functional commits.
There are four main changes being applied here:
* Code cleanup, including making all MediaDataDecoder related code mozilla coding style compliant
* Make MediaDataDecoder use MozPromise
* Making Flush and Shutdown processes fully asynchronous
* Fixing few data races encountered across the code, in particular in the Android PDM
MozReview-Commit-ID: DpiZucGofJT
2017-01-26 13:56:46 +01:00
Gerald Squelart
c4054e5f67
Bug 1321051 - Override Supports(TrackInfo) in RemoteDecoderModule - r=jya
...
With e10s enabled, RemoteDecoderModule is used as a proxy, but it was not
overriding Supports(TrackInfo), meaning that some of the extra information
carried in TrackInfo (e.g.: resolution) was lost when falling back to
SupportsMimeType(nsACString). So further along, WMFDecoderModule was not able
to reject too-high resolutions.
Overriding Supports(TrackInfo) to just forward the TrackInfo data is enough to
re-enable resolution checks on Windows.
MozReview-Commit-ID: 3OsPmILItH7
2017-02-01 12:18:59 +11:00
Matt Woodrow
74be230b48
Bug 1300677 - Implement IsHardwareAccelerated for RemoteVideoDecoder. r=dvander
2016-10-03 21:21:07 +13:00
Matt Woodrow
84b086a72c
Bug 1300677 - Implement SetSeekThreshold for RemoteVideoDecoder. r=dvander
2016-10-03 21:20:54 +13:00
Jean-Yves Avenard
3276a8ecc3
Bug 1297311: P2. Remove redundant virtual keyword. r=mattwoodrow
...
MozReview-Commit-ID: D78jszKQrev
2016-09-26 12:33:49 +10:00
Jean-Yves Avenard
a5bd1b8737
Bug 1297311: P1. Always recreate a decoder when SPS changes. r=cpearce
...
This allow consistency between platforms. A decoder will now always be shutdown and another one created if the video configuration changes.
MozReview-Commit-ID: 1SPzhVuBrip
2016-09-26 12:28:07 +10:00
Matt Woodrow
07e3828de0
Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander
2016-09-21 21:25:41 +12:00
Carsten "Tomcat" Book
e2adb4a537
Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
...
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
daac9e7bd5
Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander
2016-09-21 15:36:41 +12:00
Carsten "Tomcat" Book
eb7eb0a749
Backed out changeset 00cc54c30222 (bug 1288618)
2016-09-15 16:33:57 +02:00
Matt Woodrow
2fa51ef9a6
Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander
2016-09-15 23:18:00 +12:00