Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb497b2e07be89676f93a3e8ce0960b578c3a6af
      
https://github.com/WebKit/WebKit/commit/cb497b2e07be89676f93a3e8ce0960b578c3a6af
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/ShareableGainMap.cpp

  Log Message:
  -----------
  [HDR] Ensure that parsing the gain-map target pixelFormat is handled correctly
https://bugs.webkit.org/show_bug.cgi?id=318395
rdar://181180757

Reviewed by Simon Fraser.

Check whether targetAttributes dictionary has an entry for 
kCVPixelBufferPixelFormatTypeKey
or not. Make sure CFNumberGetValue() succeeds parsing the return CFNumber. If 
anything went
wrong, we should fall back to the default pixel format.

* Source/WebCore/platform/graphics/cocoa/ShareableGainMap.cpp:
(WebCore::ShareableGainMap::applyGainMapToBaseImage const):

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



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

Reply via email to