Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9d02067f5de4b0402f58d6c83039e206439a8a8c
      
https://github.com/WebKit/WebKit/commit/9d02067f5de4b0402f58d6c83039e206439a8a8c
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm
    M Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.h
    M Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm

  Log Message:
  -----------
  WebCoreDecompressionSession should be using asynchronous decoding
https://bugs.webkit.org/show_bug.cgi?id=292362
rdar://148016051

Reviewed by Youenn Fablet.

Make WebCoreDecompressionSession use a VTDecompressionSession in asynchronous 
mode.
Also, allows it to handle one to many CMSampleBuffer -> decompressed frame.
while this isn't a usual scenario, it is possible for the SourceBufferParserWebM
to pack multiple CMSampleBuffer into one, and currently it was only ever 
returning
the first frame.

No change in observable behaviour, covered by existing tests.

* Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm:
(WebCore::VideoMediaSampleRenderer::decodeNextSampleIfNeeded):
* Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.h:
* Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm:
(WebCore::WebCoreDecompressionSession::decodeSample):
(WebCore::WebCoreDecompressionSession::decodeSampleInternal):
(WebCore::WebCoreDecompressionSession::handleDecompressionOutput):
(WebCore::WebCoreDecompressionSession::initializeVideoDecoder):

Canonical link: https://commits.webkit.org/294421@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

Reply via email to