Jean-Yves Avenard
4550aca7f9
Bug 1397307 - P9. Pass video frame rate to RemoteVideoDecoder and GPU process. r=mattwoodrow
...
MozReview-Commit-ID: BDSO332f3B6
2017-09-12 18:29:40 +02:00
Alastor Wu
fe219333b2
Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
...
MozReview-Commit-ID: 9aKyYftBnUo
2017-09-13 15:37:24 +08:00
Sebastian Hengst
6d3fde8ef3
Backed out changeset 6dade48b3326 (bug 1397141)
2017-09-13 09:25:39 +02:00
Alastor Wu
5cfec15d6f
Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
...
MozReview-Commit-ID: CuBZOtjh4g2
2017-09-13 15:05:59 +08: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
Sebastian Hengst
6c6b89b497
Backed out changeset b741cbca23bd (bug 1394591)
2017-09-04 00:07:02 +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
Jeff Gilbert
d8ff34a94a
Bug 1322746 - Expose DXGI HANDLEs for GPU_VIDEO. - r=mattwoodrow
...
MozReview-Commit-ID: Aea0xGesaQi
2017-09-02 21:52:10 -07:00
JW Wang
68670a77ff
Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku
...
1. using media::TimeUnit to save some typing.
2. replace TimeUnit() with TimeUnit::Zero().
3. replace TimeUnit::FromXXX(0) with TimeUnit::Zero().
4. replace TimeUnit::FromMicroseconds(std::numeric_limits<int64_t>::max()) with TimeUnit::FromInfinity().
5. replace some uses of int64_t with TimeUnit.
6. replace t > TimeUnit() with t.IsPositive().
MozReview-Commit-ID: 6hC94PXx86i
2017-04-17 16:35:04 +08:00
JW Wang
b447b29002
Bug 1356530 - Change the type of MediaData::mTime to TimeUnit since int64_t is ambiguous. r=kaku
...
MozReview-Commit-ID: 4bVeqIuWO2O
2017-04-14 17:13:36 +08:00
JW Wang
e98c80cb28
Bug 1356506 - change the type of MediaData::mTimecode to TimeUnit since int64_t is ambiguous. r=gerald
...
MozReview-Commit-ID: 7dO5OOUuORz
2017-04-14 14:52:14 +08:00
David Anderson
41e789004b
Don't create TextureClients if the video bridge has shut down. (bug 1345735 part 1, r=mattwoodrow)
2017-04-19 07:24:43 -07:00
JW Wang
91b9052b82
Bug 1355756. P1 - change the type of MediaData::mDuration to TimeUnit. r=gerald
...
MozReview-Commit-ID: 3d4bUYtSuMI
2017-04-12 17:27:34 +08:00
Matt Woodrow
5ed69dd623
Bug 1329369 - Initialize the decoded video frame to the pixel size of the buffer. r=jya
...
MozReview-Commit-ID: ChfGNFxjJpc
2017-02-17 15:01:25 +13: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
77bc13d2ba
Bug 1340129: P1. Allow empty raw frames. r=gerald
...
MozReview-Commit-ID: AU0QrahHtYe
2017-02-16 23:41:44 +01:00
Jean-Yves Avenard
16e9929b53
Bug 1325707: P3. Fix coding style. r=gerald
...
Fixed coding style of files encountered in P1 and P2.
MozReview-Commit-ID: LApVu9K2oto
2017-02-07 09:15:59 +01:00
Jean-Yves Avenard
3fdef2c11d
Bug 1325707: P2. Handle OOM conditions when creating MediaRawData object. r=gerald
...
MozReview-Commit-ID: HtkhrT36Kf4
2017-02-07 09:03:36 +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
Matt Woodrow
988847604e
Bug 1319251 - Add more current thread assertions in VideoDecoderParent so it's more obvious about which code runs where. r=jya
2016-11-22 21:48:21 +13:00
Matt Woodrow
3cebb60d82
Bug 1319251 - Ensure that our decoder pointer hasn't be revoked when we get the Init callback. r=jya
2016-11-22 21:47:34 +13:00
Matt Woodrow
65d8077ca0
Bug 1316506 - Make RemoteVideoDecoder::Flush synchronous. r=billm
2016-11-22 15:50:46 +13:00
Matt Woodrow
b7cb736fe2
Bug 1318083 - Make PVideoDecoder's ctor sync and fail if CreateVideoDecoder fails on the GPU process side. r=jya,dvander
2016-11-22 15:44:38 +13:00
Kan-Ru Chen
1b9dd22e2d
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu
c47b0b7b15
Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
...
MozReview-Commit-ID: 12AHOhrpaNO
2016-11-14 11:40:37 +02:00
Matt Woodrow
4cb05731fd
Bug 1316506 - Make Shutdown block on the manager thread so that we clear the callback pointer immediately. r=dvander
2016-11-13 16:09:35 +13:00
Matt Woodrow
ddf1973b7e
Bug 1316221 - Null check mDecoder in RecvShutdown. r=dvander
2016-11-11 15:03:04 +13:00
Matt Woodrow
5a1bb71970
Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical
2016-11-04 13:28:28 +13:00
James Cheng
adecb4d52a
Bug 1313315 - Do construct CreateDecoderParams only on Windows build in VideoDecoderParent::RecvInit r=mattwoodrow
...
MozReview-Commit-ID: 8BQHZU8e3nV
2016-10-27 17:43:36 +08:00
Matt Woodrow
82dd7ee7e4
Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya
2016-10-07 21:13:33 +13:00
Matt Woodrow
9521ba27d8
Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical
2016-10-07 21:13:32 +13: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
Matt Woodrow
4bac5674b7
Bug 1302918 - Add PVideoBridge to share textures with the compositor. r=dvander,nical
2016-09-23 09:44:26 +12:00
Matt Woodrow
00e81ee6a9
Bug 1288618 - Part 14: Add PVideoDecoder protocol for individual decoders. 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
75ee111836
Bug 1288618 - Part 14: Add PVideoDecoder protocol for individual decoders. r=cpearce,dvander
2016-09-21 15:36:41 +12:00
Carsten "Tomcat" Book
a5406b3825
Backed out changeset f2da4a56dc4f (bug 1288618)
2016-09-15 16:33:59 +02:00
Matt Woodrow
3d8d98fa7a
Bug 1288618 - Part 14: Add PVideoDecoder protocol for individual decoders. r=cpearce,dvander
2016-09-15 23:18:00 +12:00