[webkit-changes] [WebKit/WebKit] 1fb6c8: [Cocoa] WebCodecs HEVC decoder is not always reord...

youennf noreply at github.com
Tue May 7 09:18:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1fb6c8c6fa42fb5a3168beff6b3e059cebc2f0fd
      https://github.com/WebKit/WebKit/commit/1fb6c8c6fa42fb5a3168beff6b3e059cebc2f0fd
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    A LayoutTests/http/tests/webcodecs/hevc-reordering-array-completeness-expected.txt
    A LayoutTests/http/tests/webcodecs/hevc-reordering-array-completeness.html
    A LayoutTests/media/media-source/content/test-bframes-hevc-array-completeness.mp4
    M Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoDecoderH265.mm

  Log Message:
  -----------
  [Cocoa] WebCodecs HEVC decoder is not always reordering frames according presentation time
rdar://127655559
https://bugs.webkit.org/show_bug.cgi?id=270645

Reviewed by Eric Carlson.

We were not computing correctly the nal unit type in case array_completeness is set to 1.
We fix this by masking with 0x3F to also make sure to not be disturbed by the reserved bit after array_completness.
We copy test-bframes-hevc.mp4 to test-bframes-hevc-array-completeness.mp4 and update the array_completness bit to 1 there.

* LayoutTests/http/tests/webcodecs/hevc-reordering-array-completeness-expected.txt: Added.
* LayoutTests/http/tests/webcodecs/hevc-reordering-array-completeness.html: Added.
* LayoutTests/media/media-source/content/test-bframes-hevc-array-completeness.mp4: Added.
* Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoDecoderH265.mm:
(vpsDataFromHvcc):

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