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
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
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
ee2be623b4
Bug 1396428 - Fix end of lines. r=jya
...
MozReview-Commit-ID: 3reYozTMKk0
2017-09-03 21:28:52 +02:00
Kaku Kuo
f171ac4162
Bug 1393399 P2 - keep the GPU process crash time and send back to MFR; r=gerald
...
We keep the GPU crash time and send back to MFR through MediaResult.
We cannot save the information in VideoDecoderChild as a static member because we are going to read it in MFR's task queue and the data was written in VideoDecoderManager's thread. This is going to be racing.
MozReview-Commit-ID: FXqOgelWY6e
2017-08-31 17:21:28 +08:00
Kaku Kuo
fbce427bd0
Bug 1393392 P4 - report telemetry when we shutdown a remote HW decoder; r=gerald,mattwoodrow
...
MozReview-Commit-ID: HEgv9s3JsXB
2017-08-29 15:51:22 +08:00
Kaku Kuo
35bfcb071c
Bug 1393392 P3 - keep DXVA driver information in VideoDecoderChild; r=mattwoodrow
...
MozReview-Commit-ID: 3uFTC1U5g76
2017-08-29 15:19:05 +08:00
Kaku Kuo
c70af60070
Bug 1388309 - let VideoDecoderChild::InitIPDL() return false if we don't want to decode video on GPU process; r=mattwoodrow
...
MozReview-Commit-ID: DD7xVkXT6fk
2017-08-14 18:03:12 +08:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
JW Wang
d24c707be3
Bug 1359715 - let functions in MediaData.h take TimeUnit instead of int64_t. r=kaku
...
We want to replace the use of int64_t for microseconds by TimeUnit
whenever possible since int64_t is ambiguous which could be microseconds
or milliseconds.
MozReview-Commit-ID: LRz9d4yKBYJ
2017-04-24 17:33:05 +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
JW Wang
a71811e3c2
Bug 1355756. P3 - let CreateAndCopyData() and its friends take TimeUnit for duration. r=gerald
...
MozReview-Commit-ID: ES0on9VCuu3
2017-04-12 17:46:09 +08: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
John Lin
1a0d225d98
Bug 1344649 - part 2: let VideoData::CreateFromImage() accept only neccessary parameters. r=jya
...
VideoData doesn't care what's in aInfo but display size and aPicture are unused.
MozReview-Commit-ID: IBqq8Rm8dM4
2017-03-09 12:06:24 +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
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
420defaeef
Bug 1319251 - Check Init promise in VideoDecoderChild before trying to resolve it. r=jya
2016-11-22 21:47:00 +13:00
Matt Woodrow
0b02e1ff23
Bug 1316506 - Initialize mFlushTask. r=bustage CLOSED TREE
2016-11-22 17:43:45 +13:00
Matt Woodrow
11baab1c0e
Bug 1318999 - Revoke MediaDataDecoder callback after RemoteVideoDecoder has been shut down. r=jya
2016-11-22 15:51:18 +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
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
98619b0470
Bug 1316771 - Don't hold a KnowsCompositor ref on the video manager thread since we don't want it to outlive the main thread ref. r=dvander
2016-11-13 14:19:02 +13:00
Matt Woodrow
166902745b
Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya
2016-11-08 15:22:37 +13:00
Matt Woodrow
bff0924458
Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander
2016-11-08 15:21:35 +13:00
Phil Ringnalda
718a8f85bf
Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
...
CLOSED TREE
MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Phil Ringnalda
3047861544
Backed out changeset 9ee070ee6dad (bug 1315144) to get at the patch below it
...
CLOSED TREE
MozReview-Commit-ID: 3d5vSfNXqO4
2016-11-07 22:17:28 -08:00
Matt Woodrow
72c52c46c9
Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya
2016-11-08 15:22:37 +13:00
Matt Woodrow
edd3d953d7
Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander
2016-11-08 15:21:35 +13:00
Matt Woodrow
8d3f5135f4
Bug 1300675 - Rebuild VideoDecoderManager when we restart the GPU process. r=dvander
2016-11-03 09:55:07 +13: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
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
809359cfe4
Bug 1305361 - Notify media if the GPU process crashes during video playback. r=dvander
2016-10-03 21:20:35 +13:00