[webkit-changes] [WebKit/WebKit] d53d3e: [MediaFoundation][Win Skia] Convert pixel format o...

Fujii Hironori noreply at github.com
Mon Dec 16 11:46:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d53d3e61ec7cb30480ba40c53bf9b44ef93916b0
      https://github.com/WebKit/WebKit/commit/d53d3e61ec7cb30480ba40c53bf9b44ef93916b0
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp

  Log Message:
  -----------
  [MediaFoundation][Win Skia] Convert pixel format of video frames
https://bugs.webkit.org/show_bug.cgi?id=284723

Reviewed by Don Olmstead.

Convert D3DFMT_A8R8G8B8 to kRGBA_8888_SkColorType, D3DFMT_X8R8G8B8 to
kRGB_888x_SkColorType. Note that D3DFMT_* depend on the endianness.
A8R8G8B8 is ARGB in big endian, BGRA in little endian.

* Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::Direct3DPresenter::paintCurrentFrame):

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



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


More information about the webkit-changes mailing list