Merge "partial_idct_test: set MinSupportedCoeff for NEON"

This commit is contained in:
James Zern 2016-11-08 01:05:16 +00:00 committed by Gerrit Code Review
commit 3fdfbcb73d

View File

@ -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;
}