Title: [269288] trunk/Source/ThirdParty/libwebrtc
Revision
269288
Author
[email protected]
Date
2020-11-03 00:41:01 -0800 (Tue, 03 Nov 2020)

Log Message

Update WebRTC opus to M87
https://bugs.webkit.org/show_bug.cgi?id=218435

Reviewed by Eric Carlson.

* Source/third_party/opus: Resynced.

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (269287 => 269288)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2020-11-03 08:40:48 UTC (rev 269287)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2020-11-03 08:41:01 UTC (rev 269288)
@@ -1,3 +1,12 @@
+2020-11-03  Youenn Fablet  <[email protected]>
+
+        Update WebRTC opus to M87
+        https://bugs.webkit.org/show_bug.cgi?id=218435
+
+        Reviewed by Eric Carlson.
+
+        * Source/third_party/opus: Resynced.
+
 2020-11-02  Youenn Fablet  <[email protected]>
 
         Set vpcC box for hardware WebRTC VP9 decoder

Modified: trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/BUILD.gn (269287 => 269288)


--- trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/BUILD.gn	2020-11-03 08:40:48 UTC (rev 269287)
+++ trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/BUILD.gn	2020-11-03 08:41:01 UTC (rev 269288)
@@ -21,7 +21,7 @@
 # If OPUS Run Time CPU Detections (RTCD) shall be used.
 # Based on the conditions in celt/arm/armcpu.c:
 # defined(_MSC_VER) || defined(__linux__).
-use_opus_arm_rtcd = current_cpu == "arm" && (is_win || is_android || is_linux)
+use_opus_arm_rtcd = current_cpu == "arm" && (is_win || is_android || is_linux || is_chromeos)
 
 config("opus_config") {
   include_dirs = [ "src/include" ]
@@ -612,7 +612,7 @@
 # Compilation fails on windows due to wstring/string mistmatch.
 # This is not worth looking at it since the benchmark is tailored for android.
 # It is ok to run it on linux though, for experimentation purpose.
-if (!is_win) {
+if (is_android || is_linux || is_chromeos) {
   test("opus_tests") {
     sources = [ "tests/opus_benchmark.cc" ]
 

Modified: trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/README.chromium (269287 => 269288)


--- trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/README.chromium	2020-11-03 08:40:48 UTC (rev 269287)
+++ trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/README.chromium	2020-11-03 08:41:01 UTC (rev 269288)
@@ -16,6 +16,7 @@
 * set 'x' flags: "chmod 750 win32/genversion.bat"
 * remove assertion messages in release builds (see crbug/1053572)
 * apply patch to fix int-overflow in silk (https://gitlab.xiph.org/xiph/opus/-/commit/923bebde)
+* apply patch to fix another int-overflow in silk (https://gitlab.xiph.org/xiph/opus/-/commit/adcb7bc2)
 
 Opus' own unit tests are located in ./src/tests
 Additional chromium tests are located in ./tests

Modified: trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/src/silk/NSQ_del_dec.c (269287 => 269288)


--- trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/src/silk/NSQ_del_dec.c	2020-11-03 08:40:48 UTC (rev 269287)
+++ trunk/Source/ThirdParty/libwebrtc/Source/third_party/opus/src/silk/NSQ_del_dec.c	2020-11-03 08:41:01 UTC (rev 269288)
@@ -451,7 +451,7 @@
 
             /* Input minus prediction plus noise feedback                       */
             /* r = x[ i ] - LTP_pred - LPC_pred + n_AR + n_Tilt + n_LF + n_LTP  */
-            tmp1 = silk_ADD32( n_AR_Q14, n_LF_Q14 );                                    /* Q14 */
+            tmp1 = silk_ADD_SAT32( n_AR_Q14, n_LF_Q14 );                                /* Q14 */
             tmp2 = silk_ADD32( n_LTP_Q14, LPC_pred_Q14 );                               /* Q13 */
             tmp1 = silk_SUB_SAT32( tmp2, tmp1 );                                        /* Q13 */
             tmp1 = silk_RSHIFT_ROUND( tmp1, 4 );                                        /* Q10 */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to