summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/partial_idct_test.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/partial_idct_test.cc b/test/partial_idct_test.cc
index 187ad4597..3539591bb 100644
--- a/test/partial_idct_test.cc
+++ b/test/partial_idct_test.cc
@@ -49,14 +49,18 @@ int16_t MaxSupportedCoeff(InvTxfmFunc a) {
}
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;
}