Closed Bug 1552734 Opened 1 year ago Closed 1 year ago

Av1 video playback does not use DXGIYCbCrTextureData for yuv video data

Categories

(Core :: Graphics: Layers, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

Details

Attachments

(1 file)

Av1 video playback does not use DXGIYCbCrTextureData for yuv video data. On nightly, av1 video was used for youtube video playback on Windows.

In this case, DXGIYCbCrTextureData was not used for yuv video data, instead BufferTextureData was used. RemoteVideoDecoderChild::DeserializeImage() creates RecyclingPlanarYCbCrImage.

Then ImageClient::CreateTextureClientForImage() created BufferTextureData. BufferTextureData could not bound to texture directly. It is not good.

I noticed it during looking into Bug 1552622. Inefficiency of RemoteVideoDecoderChild/RemoteVideoDecoderParent is going to be addressed by Bug 1539043

Assignee: nobody → sotaro.ikeda.g
Type: defect → enhancement
Attachment #9065960 - Attachment description: Bug 1552734 - Av1 video playback does not use DXGIYCbCrTextureData for yuv video data → Bug 1552734 - Allocate DXGIYCbCrTextureData for yuv video data in ImageClient::CreateTextureClientForImage() if possible
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6bfa9c884ec
Allocate DXGIYCbCrTextureData for yuv video data in ImageClient::CreateTextureClientForImage() if possible r=nical
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.