shithub: libvpx

Download patch

ref: 3fdfbcb73dbea055becdcbca23eddcc21fd3e675
parent: 5c64c01c7ca3780d30f140e54a30088f780ae66a
parent: 40bcb96abd3fe6ec35b772e734f66fe9c4116e72
author: James Zern <[email protected]>
date: Mon Nov 7 20:05:16 EST 2016

Merge "partial_idct_test: set MinSupportedCoeff for NEON"

--- a/test/partial_idct_test.cc
+++ b/test/partial_idct_test.cc
@@ -49,14 +49,18 @@
 }
 
 int16_t MinSupportedCoeff(InvTxfmFunc a) {
-#if HAVE_SSSE3 && ARCH_X86_64 && !CONFIG_VP9_HIGHBITDEPTH && \
-    !CONFIG_EMULATE_HARDWARE
+  (void)a;
+#if !CONFIG_EMULATE_HARDWARE
+#if HAVE_SSSE3 && ARCH_X86_64 && !CONFIG_VP9_HIGHBITDEPTH
   if (a == vpx_idct8x8_64_add_ssse3 || a == vpx_idct8x8_12_add_ssse3) {
     return -23625 + 1;
   }
-#else
-  (void)a;
+#elif HAVE_NEON
+  if (a == vpx_idct4x4_16_add_neon) {
+    return INT16_MIN + 1;
+  }
 #endif
+#endif  // !CONFIG_EMULATE_HARDWARE
   return INT16_MIN;
 }