NV12 IOSurface upload is not aligning the CbCr plane correctly
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file)
We suspect that this is the reason why we were seeing artifacts on some hardware configurations when we tried using NV12 IOSurfaces for software-decoded video last time. See bug 1657107 for those artifacts.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Apparently this doesn't fix the issue. :(
Assignee | ||
Comment 3•4 years ago
|
||
But at least it gets us detachment for software-decoded NV12 video on M1 Macs! I'm not sure which part of the patch is responsible for this.
Without this patch, software-decoded NV12 does not achieve detachment on M1 Macs, see bug 1732677 comment 13.
Chromium likely encountered the same problem, see https://bugs.chromium.org/p/chromium/issues/detail?id=1134712 .
Assignee | ||
Comment 4•4 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #2)
Apparently this doesn't fix the issue. :(
Jeff found the real reason: we were using kIOSurfaceBytesPerElement
instead of kIOSurfacePlaneBytesPerElement
, i.e. missing the word Plane
. He's fixing it in bug 1736670.
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Description
•