Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a5455fe296f31f259f161739ba416fc0b6859733
https://github.com/WebKit/WebKit/commit/a5455fe296f31f259f161739ba416fc0b6859733
Author: Youenn Fablet <[email protected]>
Date: 2025-05-27 (Tue, 27 May 2025)
Changed paths:
A LayoutTests/http/wpt/mediastream/getUserMedia-odd-size-expected.txt
A LayoutTests/http/wpt/mediastream/getUserMedia-odd-size.html
M
LayoutTests/imported/w3c/web-platform-tests/webcodecs/transfering.https.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webcodecs/transfering.https.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any.worker-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any.worker-expected.txt
M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp
M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrameAlgorithms.cpp
M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrameAlgorithms.h
Log Message:
-----------
[WebCodec] Support odd-size I420/NV12 video frames
rdar://152041418
https://bugs.webkit.org/show_bug.cgi?id=293583
Reviewed by Jean-Yves Avenard.
We update the implementation according
https://github.com/w3c/webcodecs/pull/666/files and Chromium implementation.
We round up both width and height so that UV allocated size is big enough.
We rebase glib test expectation as a short term fix.
* LayoutTests/http/wpt/mediastream/getUserMedia-odd-size-expected.txt: Added.
* LayoutTests/http/wpt/mediastream/getUserMedia-odd-size.html: Added.
*
LayoutTests/imported/w3c/web-platform-tests/webcodecs/transfering.https.any-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webcodecs/transfering.https.any.worker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any.worker-expected.txt:
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-odd-size.any.worker-expected.txt:
Added.
* Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp:
(WebCore::validateI420Sizes):
(WebCore::WebCodecsVideoFrame::create):
* Source/WebCore/Modules/webcodecs/WebCodecsVideoFrameAlgorithms.cpp:
(WebCore::divideAndRoundUpToNearestInteger):
(WebCore::computeLayoutAndAllocationSize):
(WebCore::parseVideoFrameCopyToOptions):
(WebCore::verifyRectSizeAlignment): Deleted.
* Source/WebCore/Modules/webcodecs/WebCodecsVideoFrameAlgorithms.h:
Canonical link: https://commits.webkit.org/295492@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes