⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 281030 in webkit


Ignore:
Timestamp:
Aug 13, 2021, 12:30:44 PM (5 years ago)
Author:
youenn@apple.com
Message:

Use profile auto level for WebRTC H264 encoder on Apple Silicon
https://bugs.webkit.org/show_bug.cgi?id=229071
<rdar://80345048>

Reviewed by Eric Carlson.

Source/ThirdParty/libwebrtc:

AS H264 encoder will fail if its profile is too low compared to the size of the video.
Use autolevel to prevent this.

  • Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:

LayoutTests:

  • platform/mac/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r281025 r281030  
     12021-08-13  Youenn Fablet  <youenn@apple.com>
     2
     3        Use profile auto level for WebRTC H264 encoder on Apple Silicon
     4        https://bugs.webkit.org/show_bug.cgi?id=229071
     5        <rdar://80345048>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * platform/mac/TestExpectations:
     10
    1112021-08-13  Alex Christensen  <achristensen@webkit.org>
    212
  • trunk/LayoutTests/platform/mac/TestExpectations

    r281010 r281030  
    21222122[ arm64 ] webrtc/video-with-data-channel.html [ Pass Timeout ]
    21232123[ arm64 ] webrtc/video-unmute.html [ Pass Timeout ]
    2124 [ arm64 ] webrtc/h264-high.html [ Skip ]
    21252124[ arm64 ] webrtc/vp9-profile2.html [ Skip ]
    21262125[ arm64 ] webrtc/captureCanvas-webrtc-software-h264-high.html [ Pass Failure ]
  • trunk/Source/ThirdParty/libwebrtc/ChangeLog

    r279471 r281030  
     12021-08-13  Youenn Fablet  <youenn@apple.com>
     2
     3        Use profile auto level for WebRTC H264 encoder on Apple Silicon
     4        https://bugs.webkit.org/show_bug.cgi?id=229071
     5        <rdar://80345048>
     6
     7        Reviewed by Eric Carlson.
     8
     9        AS H264 encoder will fail if its profile is too low compared to the size of the video.
     10        Use autolevel to prevent this.
     11        * Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:
     12
    1132021-07-01  Youenn Fablet  <youenn@apple.com>
    214
  • trunk/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm

    r278906 r281030  
    261261    case webrtc::H264::kProfileConstrainedHigh:
    262262    case webrtc::H264::kProfileHigh:
     263#if !defined(WEBRTC_ARCH_ARM64)
    263264      switch (profile_level_id.level) {
    264265        case webrtc::H264::kLevel3:
     
    290291          return kVTProfileLevel_H264_High_AutoLevel;
    291292      }
     293#else
     294      return kVTProfileLevel_H264_High_AutoLevel;
     295#endif
    292296  }
    293297}
Note: See TracChangeset for help on using the changeset viewer.