Reduce the number of Java objects created for out-of-process decoders.
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: jhlin, Assigned: jhlin)
References
Details
(Whiteboard: [gvtv:p1])
Attachments
(5 files)
Updated•8 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Fixing this could be very helpful to reduce the frames dropped on Fire TV Cube. See bug 1529486 comment 15.
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D24587
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D24588
Assignee | ||
Comment 6•6 years ago
|
||
To prevent new buffer object from being created per frame, either
Sample.CREATOR has to keep track of all buffers from every remote codec,
or the client must memorize seen buffers and avoid asking for them again
and again. The former saves client code from modifications but complicates
the implementation of Sample, a data structure class, while the latter
requires changes to client code but avoid overcomplicating Sample.CREATOR
implementation.
The 2nd approach is taken:
- move SampleBuffer out of Sample, and update clients accordingly
- add a new IPC method for clients to get the buffers only when needed
Depends on D24589
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D24590
Updated•6 years ago
|
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dbb7c0704a08
https://hg.mozilla.org/mozilla-central/rev/9a095e082820
https://hg.mozilla.org/mozilla-central/rev/e9985b6b2769
https://hg.mozilla.org/mozilla-central/rev/f3367091fba8
https://hg.mozilla.org/mozilla-central/rev/78909d4b2ed3
Comment 10•6 years ago
|
||
67=fix-optional. Neither Fenix MVP nor Firefox for Fire TV will use GeckoView 67, so we don't need to uplift this fix to 67 Beta unless you want it in Fennec 67.
Updated•6 years ago
|
Description
•