Bug 242491 - Convert video colorspace into the <canvas> colourspace during RGB conversion
Summary: Convert video colorspace into the <canvas> colourspace during RGB conversion
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-07 18:22 PDT by Matt Woodrow
Modified: 2022-07-07 18:38 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2022-07-07 18:22:28 PDT
CoreGraphics doesn't always apply the colourspace conversion when drawing Rec601 RGB content into an sRGB destination.

We can apply this conversion instead during the YCbCr->RGB conversion to ensure it always gets applied.

<rdar://95420649>
Comment 1 Matt Woodrow 2022-07-07 18:36:37 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2208