bool AbsSecondDerivativeHistogramAutoTest() { bool result = true; result = result && AbsSecondDerivativeHistogramAutoTest(FUNC_ASDH(Simd::Base::AbsSecondDerivativeHistogram), FUNC_ASDH(SimdAbsSecondDerivativeHistogram)); #ifdef SIMD_SSE2_ENABLE if(Simd::Sse2::Enable) result = result && AbsSecondDerivativeHistogramAutoTest(FUNC_ASDH(Simd::Sse2::AbsSecondDerivativeHistogram), FUNC_ASDH(SimdAbsSecondDerivativeHistogram)); #endif #ifdef SIMD_AVX2_ENABLE if(Simd::Avx2::Enable) result = result && AbsSecondDerivativeHistogramAutoTest(FUNC_ASDH(Simd::Avx2::AbsSecondDerivativeHistogram), FUNC_ASDH(SimdAbsSecondDerivativeHistogram)); #endif #ifdef SIMD_VMX_ENABLE if(Simd::Vmx::Enable) result = result && AbsSecondDerivativeHistogramAutoTest(FUNC_ASDH(Simd::Vmx::AbsSecondDerivativeHistogram), FUNC_ASDH(SimdAbsSecondDerivativeHistogram)); #endif #ifdef SIMD_NEON_ENABLE if (Simd::Neon::Enable) result = result && AbsSecondDerivativeHistogramAutoTest(FUNC_ASDH(Simd::Neon::AbsSecondDerivativeHistogram), FUNC_ASDH(SimdAbsSecondDerivativeHistogram)); #endif return result; }
bool AbsSecondDerivativeHistogramDataTest(bool create) { bool result = true; result = result && AbsSecondDerivativeHistogramDataTest(create, DW, DH, FUNC_ASDH(SimdAbsSecondDerivativeHistogram)); return result; }