John Lin
d01dd00203
Bug 1394239 - don't return video frames that MDSM won't show. r=jya
...
In some Android ROMs, MediaCodec doesn't allocate additional buffers to reduce
consumer starvation and will not work when MDSM grips most recently returned
frame before rearching seek target. Implement SetSeekThreshold() to get actual
seek target to check if video buffers can be released back to remote decoder
immediately.
MozReview-Commit-ID: 7IetuVxCXc0
2017-09-11 12:50:48 +08:00
Nathan Froyd
149c95c975
Bug 1396865 - eliminate -Wunused-private-field warning in RemoteDataDecoder; r=gerald
...
clang warns about RemoteDataDecoder::mImageContainer being unused, which
it is, so let's remove it.
2017-09-06 08:57:09 -04:00
John Lin
41862fed6f
Bug 1384495 - p2: resolve drain promise with empty decoded data only when draining complete. r=jya
...
MozReview-Commit-ID: 7livLq1K6Ro
2017-07-26 15:25:28 +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
John Lin
9376354538
Bug 1366706 - accepts video frames with negative timestamp but non-zero size. r=jya
...
MozReview-Commit-ID: 5QqzOesIynN
2017-06-06 16:11:33 +08:00
James Willcox
6558108923
Bug 1367287 - Release video surface when decoder is shut down r=jolin
...
MozReview-Commit-ID: GgWYSzBx7ZF
2017-06-02 10:14:12 -05:00
John Lin
c8a5107f74
Bug 1363276 - discard video output buffers according to presentation time rather than size. r=esawin
...
This works around an Android 4.2.2 bug that reports incorrect sizes for hardware buffers.
MozReview-Commit-ID: 4rAu8d1RwOJ
2017-05-05 16:19:47 +08:00
James Willcox
a410996279
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-15 09:37:50 -05:00
James Willcox
48079df101
Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin
2017-05-15 09:37:49 -05:00
Iris Hsiao
3cea13a680
Backed out 11 changesets (bug 1322650) for media test failures on android. a=backout
...
Backed out changeset 31bd912fba54 (bug 1322650)
Backed out changeset 4d486c7469eb (bug 1322650)
Backed out changeset 4cf8f4d5064c (bug 1322650)
Backed out changeset 3cb108f7492f (bug 1322650)
Backed out changeset bd53533c108e (bug 1322650)
Backed out changeset 3522917d8f10 (bug 1322650)
Backed out changeset 2c2c1e33eccc (bug 1322650)
Backed out changeset 2f19977cd6ab (bug 1322650)
Backed out changeset 4519296a323e (bug 1322650)
Backed out changeset e56e5e1c8786 (bug 1322650)
Backed out changeset 96fe52231b57 (bug 1322650)
2017-05-12 10:21:14 +08:00
James Willcox
ccb36b4158
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-11 15:42:44 -05:00
James Willcox
6396da82a4
Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin
...
MozReview-Commit-ID: EXQ5YDSMMGL
2017-05-11 15:42:43 -05:00
Sebastian Hengst
43ae7e2120
Backed out changeset 4135178bae2b (bug 1322650)
2017-05-05 18:53:55 +02:00
Sebastian Hengst
542e53c5ea
Backed out changeset 0c01bf8a1bd9 (bug 1322650)
2017-05-05 18:53:45 +02:00
James Willcox
cfc584ce3c
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-05 08:56:35 -05:00
James Willcox
bb269ed137
Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin
...
MozReview-Commit-ID: EXQ5YDSMMGL
2017-05-05 08:56:32 -05: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
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
a9993b6e45
Bug 1349883 - part 4: strengthen precondition of ReturnDecodedData(). r=jya
...
MozReview-Commit-ID: 2jLNlrHEE0b
2017-04-07 17:17:17 +08:00
John Lin
0bad43efbc
Bug 1349883 - part 3: resolve decode promise according to buffer status. r=jya
...
MozReview-Commit-ID: JwOOi56t30Y
2017-04-07 17:07:02 +08:00
Munro Mengjue Chiang
815ed91bf5
Bug 1265755 - Support encoder case for CodecProxy; r=jolin
...
MozReview-Commit-ID: 4cEZQs8spo7
2017-03-30 08:51:12 +08:00
Munro Mengjue Chiang
9926e46981
Bug 1265755 - separate JavaCallbacksSupport class declaration to a different header file; r=jolin
...
MozReview-Commit-ID: 7Vj3G47n2bu
2017-03-30 08:30:23 +08:00
John Lin
fe0d885cdb
Bug 1347480 - flush decoder after draining to make it accept more input. r=jya
...
MediaCodec doesn't take any input after EOS unless it is flushed.
MozReview-Commit-ID: LoHlN753e8J
2017-03-15 18:38:51 +08:00
John Lin
42277e4576
Bug 1344649 - part 4: store frame sizes in queue rather than relying on ConfigurationChanged(). r=jya
...
MozReview-Commit-ID: 49ICIBs4wzF
2017-03-07 20:03:41 +08:00
John Lin
bf34f39c38
Bug 1344649 - part 3: rename DurationMap and turn it into a generic class. r=jya
...
MozReview-Commit-ID: AMMxMPkuYXk
2017-03-07 19:49:08 +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
John Lin
b496f50eca
Bug 1344649 - part 1: use picture instead of display size to construct Image. r=jya
...
MozReview-Commit-ID: LkVq9iaj14k
2017-03-09 12:08:34 +08:00
John Lin
4629602a09
Bug 1340582 - handle shared memory allocation failure. r=jchen
...
MozReview-Commit-ID: ETk9nHHkyYA
2017-02-22 14:17:26 +08: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
35e8ecc9c9
Bug 1334061: P7. Re-enable EME support on Android. r=JamesCheng
...
MozReview-Commit-ID: Ja9QIo6c7IH
2017-02-16 13:18:00 +01:00
Jean-Yves Avenard
1112820f6a
Bug 1334061: P6. Change arguments type. r=JamesCheng
...
Will make next change easier.
MozReview-Commit-ID: 5KUtuUOnH3U
2017-02-16 13:13:08 +01:00
Jean-Yves Avenard
443f891377
Bug 1334061: P2. Fix Android coding style. r=gerald
...
MozReview-Commit-ID: C9IkiSoPxsA
2017-02-16 13:00:34 +01:00
Jean-Yves Avenard
e03ca96d44
Bug 1336358: P3. Fix incorrect arguments in DurationMap. r=jolin
...
MozReview-Commit-ID: BnE4WgE9QPi
2017-02-14 00:08:41 +01:00
Jean-Yves Avenard
55e501db32
Bug 1336358: P2. Drain Android's RemoteDataDecoder one frame at a time. r=jolin
...
MozReview-Commit-ID: A9R9dR71FTB
2017-02-07 23:11:32 +01:00
Jean-Yves Avenard
e2f6e13b0e
Bug 1336431: P6. Handle change of resolution in RemoteDataDecoder. r=JamesCheng
...
MozReview-Commit-ID: 8XOHESQiJ3t
2017-02-13 15:32:29 +01:00
Jean-Yves Avenard
9f32d8336a
Bug 1338932: Initialise variable. r=jolin
...
MozReview-Commit-ID: EGdFE5qfzEW
2017-02-12 23:48:48 +01:00
John Lin
c1926a19e2
Bug 1336792 - part 3: release outputs not sent for rendering. r=jya
...
MozReview-Commit-ID: 9dQc80av5Kr
2017-02-10 16:47:20 +08:00
John Lin
4b0ff47ca7
Bug 1336792 - part 2: use pts to index input duration. r=jya
...
MozReview-Commit-ID: hvf0QeRzbX
2017-02-10 13:58:10 +08:00
Wes Kocher
4ef37edcd5
Backed out 2 changesets (bug 1336358) for android failures in video-replay-after-audio-end.html a=backout
...
Backed out changeset c474e07f9ad8 (bug 1336358)
Backed out changeset 1ffc124c5fc1 (bug 1336358)
MozReview-Commit-ID: 3IS2QDRTQkN
2017-02-08 12:34:48 -08:00
Jean-Yves Avenard
10fc026090
Bug 1336358: P2. Drain Android's RemoteDataDecoder one frame at a time. r=jolin
...
MozReview-Commit-ID: A9R9dR71FTB
2017-02-07 23:11:32 +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
John Lin
4ce217d16d
Bug 1336009 - null Java object check before accessing. r=jchen
...
MozReview-Commit-ID: 8Wkr2nnXacs
2017-02-02 17:14:10 +08:00