Closed
Bug 1617051
Opened 5 years ago
Closed 4 years ago
Directly upload from YUV buffers into a SurfaceTexture
Categories
(Core :: Audio/Video: Playback, enhancement, P5)
Tracking
()
RESOLVED
DUPLICATE
of bug 1562818
People
(Reporter: jya, Unassigned)
References
Details
When we use a software decoder, we get a YUV memory buffer from the decoder. This is then copied into a YUV Image which will be later uploaded into a OGL texture.
We could instead directly upload the data from the decoder into an Android SurfaceTexture which can then be directly composited (or whatever object type available to achieve the same)
This is similar to what we are currently doing on Windows, where we directly upload the YUV buffer into a D3D11YCbCrImage
https://searchfox.org/mozilla-central/rev/5a10be606f2d76ef22f1f44565749490de991d35/dom/media/MediaData.cpp#338
Priority: -- → P3
Updated•5 years ago
|
Priority: P3 → P5
Comment 1•5 years ago
|
||
This cannot be done unless Google exposes native window API in SDK/NDK. Make it P5 and hope someday that will happen.
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•