Title: [266428] branches/safari-610-branch/Source/ThirdParty/libwebrtc
Revision
266428
Author
[email protected]
Date
2020-09-01 18:19:06 -0700 (Tue, 01 Sep 2020)

Log Message

Cherry-pick r266064. rdar://problem/68164535

    Enable VP9D_SET_LOOP_FILTER_OPT for libvpx vp9 decoder
    https://bugs.webkit.org/show_bug.cgi?id=215765
    <rdar://problem/67677285>

    Reviewed by Eric Carlson.

    Following https://webrtc-review.googlesource.com/c/src/+/177335 upstream, let's enable VP9D_SET_LOOP_FILTER_OPT for improved performances.

    * Source/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266064 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-610-branch/Source/ThirdParty/libwebrtc/ChangeLog (266427 => 266428)


--- branches/safari-610-branch/Source/ThirdParty/libwebrtc/ChangeLog	2020-09-02 01:19:04 UTC (rev 266427)
+++ branches/safari-610-branch/Source/ThirdParty/libwebrtc/ChangeLog	2020-09-02 01:19:06 UTC (rev 266428)
@@ -1,3 +1,32 @@
+2020-09-01  Alan Coon  <[email protected]>
+
+        Cherry-pick r266064. rdar://problem/68164535
+
+    Enable VP9D_SET_LOOP_FILTER_OPT for libvpx vp9 decoder
+    https://bugs.webkit.org/show_bug.cgi?id=215765
+    <rdar://problem/67677285>
+    
+    Reviewed by Eric Carlson.
+    
+    Following https://webrtc-review.googlesource.com/c/src/+/177335 upstream, let's enable VP9D_SET_LOOP_FILTER_OPT for improved performances.
+    
+    * Source/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-08-24  Youenn Fablet  <[email protected]>
+
+            Enable VP9D_SET_LOOP_FILTER_OPT for libvpx vp9 decoder
+            https://bugs.webkit.org/show_bug.cgi?id=215765
+            <rdar://problem/67677285>
+
+            Reviewed by Eric Carlson.
+
+            Following https://webrtc-review.googlesource.com/c/src/+/177335 upstream, let's enable VP9D_SET_LOOP_FILTER_OPT for improved performances.
+
+            * Source/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:
+
 2020-08-12  Youenn Fablet  <[email protected]>
 
         Enable H264 low latency code path by default for MacOS

Modified: branches/safari-610-branch/Source/ThirdParty/libwebrtc/Source/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (266427 => 266428)


--- branches/safari-610-branch/Source/ThirdParty/libwebrtc/Source/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc	2020-09-02 01:19:04 UTC (rev 266427)
+++ branches/safari-610-branch/Source/ThirdParty/libwebrtc/Source/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc	2020-09-02 01:19:06 UTC (rev 266428)
@@ -1670,6 +1670,15 @@
       return WEBRTC_VIDEO_CODEC_UNINITIALIZED;
     }
   }
+
+  vpx_codec_err_t status =
+    vpx_codec_control(decoder_, VP9D_SET_LOOP_FILTER_OPT, 1);
+  if (status != VPX_CODEC_OK) {
+    RTC_LOG(LS_ERROR) << "Failed to enable VP9D_SET_LOOP_FILTER_OPT. "
+                      << vpx_codec_error(decoder_);
+    return WEBRTC_VIDEO_CODEC_UNINITIALIZED;
+  }
+
   return WEBRTC_VIDEO_CODEC_OK;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to