Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85b827db168868510e3cdae2bdf9b099fd2f2061
      
https://github.com/WebKit/WebKit/commit/85b827db168868510e3cdae2bdf9b099fd2f2061
  Author: Youenn Fablet <[email protected]>
  Date:   2026-02-16 (Mon, 16 Feb 2026)

  Changed paths:
    A 
LayoutTests/http/wpt/webcodecs/2d-drawImage-videoFrame-I420-BT601-expected.txt
    A LayoutTests/http/wpt/webcodecs/2d-drawImage-videoFrame-I420-BT601.html
    M Source/ThirdParty/libwebrtc/Configurations/libwebrtc.exp
    M 
Source/ThirdParty/libwebrtc/Source/webrtc/webkit_sdk/WebKit/WebKitUtilities.h
    M 
Source/ThirdParty/libwebrtc/Source/webrtc/webkit_sdk/WebKit/WebKitUtilities.mm
    M Source/WebCore/platform/graphics/cv/VideoFrameCV.mm

  Log Message:
  -----------
  VideoFrame constructor is not handling video range properly for NV12
rdar://170299037
https://bugs.webkit.org/show_bug.cgi?id=307766

Reviewed by Eric Carlson.

Creating BT601 video frame from JS was not handling fullrange/videorange.
We fix this in VideoFrame::createNV12 and VideoFrame::createI420.

Covered by added test.
This test is adding an extra tolerance for some values, due to differences on 
how BT601 is converted to RGB with VT.

Canonical link: https://commits.webkit.org/307649@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to