Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e502d39571c328b2450b50ee63b619d8d4f2fb0e
      
https://github.com/WebKit/WebKit/commit/e502d39571c328b2450b50ee63b619d8d4f2fb0e
  Author: Youenn Fablet <[email protected]>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    A LayoutTests/http/tests/webcodecs/hevc-hdr-expected.txt
    A LayoutTests/http/tests/webcodecs/hevc-hdr.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/platform/graphics/cocoa/H264UtilitiesCocoa.mm
    M Source/WebCore/platform/graphics/cocoa/HEVCUtilitiesCocoa.h
    M Source/WebCore/platform/graphics/cocoa/HEVCUtilitiesCocoa.mm
    M Source/WebCore/platform/video-codecs/cocoa/GPUVideoDecoderVTBH265.mm

  Log Message:
  -----------
  createVideoInfoFromHVCC should reuse existing CMUtilities routines
rdar://188261436
https://bugs.webkit.org/show_bug.cgi?id=325115

Reviewed by Jean-Yves Avenard.

createVideoInfoFromFormatDescription utility is powerful enough to support 
reating a VideoFrom from either H264/HEVC content, be they annex B or not.
We use it instead of the custom createVideoInfoFromHEVCFormatDescription and 
within createVideoInfoFromAVCC.
This allows the HEVC decoder to correctly handle 10bits HEVC content

Covered by existing tests and LayoutTests/http/tests/webcodecs/hevc-hdr.html.

* LayoutTests/http/tests/webcodecs/hevc-hdr-expected.txt: Added.
* LayoutTests/http/tests/webcodecs/hevc-hdr.html: Added.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/cocoa/H264UtilitiesCocoa.mm:
(WebCore::createVideoInfoFromAVCC):
* Source/WebCore/platform/graphics/cocoa/HEVCUtilitiesCocoa.h:
* Source/WebCore/platform/graphics/cocoa/HEVCUtilitiesCocoa.mm:
(WebCore::createVideoInfoFromHEVCAnnexBStream):
(WebCore::createVideoInfoFromHVCC):
(WebCore::createVideoInfoFromHEVCFormatDescription): Deleted.
* Source/WebCore/platform/video-codecs/cocoa/GPUVideoDecoderVTBH265.mm:
(WebCore::GPUVideoDecoderVTBH265::setFormat):

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



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

Reply via email to