Open Bug 1977746 Opened 3 months ago Updated 10 hours ago

[HDR/Windows] Play HDR video using an RGB10A2 swapchain with appropriate colorspace

Categories

(Core :: Graphics: Color Management, task, P1)

task

Tracking

()

ASSIGNED

People

(Reporter: ahale, Assigned: ahale)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

For all common viewing scenarios we want to convert HDR video in Rec2100PQ P010 format to Rec2100PQ in RGB10A2 pixel format, and apply appropriate color conversions (Bug 1977744) while doing so, this can be displayed as a DXGISwapChain with the appropriate SetColorspace() call to indicate it is Rec2100PQ.

Blocks: hdr-video-windows
No longer blocks: 1972744
Summary: [HDR/Windows] Send P010 HDR video as RGB10A2 for windowed cases → [HDR/Windows] Send P010 HDR video as RGB10A2
Depends on: 1977744
Summary: [HDR/Windows] Send P010 HDR video as RGB10A2 → [HDR/Windows] Play HDR video using an RGB10A2 swapchain with appropriate colorspace

There may be situations where we need to play video as RGBA16F (DXGI_FORMAT_R16G16B16A16_FLOAT) if it has transparency (AV1 I believe supports that?) - this also technically means it could be displayed as a surface rather than a swapchain if that is useful, surfaces can't be DXGI_FORMAT_R10G10B10A2_UNORM format but they can be DXGI_FORMAT_R16G16B16A16_FLOAT).

For now I am prototyping video using RGBA16F as it has the least considerations to deal with (e.g. we don't have to call IDXGISwapChain3::SetColorSpace1, DWM knows that RGBA16F is always scRGB).

Attachment #9519888 - Attachment description: WIP: Bug 1977746 - prototyping HDR video on Windows using RGBA16F → WIP: Bug 1977746 - prototyping HDR video on Windows using RGB10A2
Assignee: nobody → ahale
Attachment #9519888 - Attachment description: WIP: Bug 1977746 - prototyping HDR video on Windows using RGB10A2 → Bug 1977746 - implement HDR video on Windows using RGB10A2 swapchain
Status: NEW → ASSIGNED
Attachment #9519888 - Attachment description: Bug 1977746 - implement HDR video on Windows using RGB10A2 swapchain → Bug 1977746 - prototyping HDR video on Windows using RGB10A2
Attachment #9519888 - Attachment description: Bug 1977746 - prototyping HDR video on Windows using RGB10A2 → Bug 1977746 - display HDR video on Windows using RGB10A2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: