From 330357f7dd81d947af334944dfc5dbd166c2ea62 Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Fri, 11 Nov 2011 11:23:44 +0000 Subject: [PATCH] Optimized version of NormDiff functions added --- modules/core/src/stat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/src/stat.cpp b/modules/core/src/stat.cpp index 06b5bd71e..4bd1fc627 100644 --- a/modules/core/src/stat.cpp +++ b/modules/core/src/stat.cpp @@ -1182,19 +1182,19 @@ static NormFunc normTab[3][8] = static NormDiffFunc normDiffTab[3][8] = { { - (NormDiffFunc)normDiffInf_8u, (NormDiffFunc)normDiffInf_8s, + (NormDiffFunc)GET_OPTIMIZED(normDiffInf_8u), (NormDiffFunc)normDiffInf_8s, (NormDiffFunc)normDiffInf_16u, (NormDiffFunc)normDiffInf_16s, (NormDiffFunc)normDiffInf_32s, (NormDiffFunc)normDiffInf_32f, (NormDiffFunc)normDiffInf_64f, 0 }, { - (NormDiffFunc)normDiffL1_8u, (NormDiffFunc)normDiffL1_8s, + (NormDiffFunc)GET_OPTIMIZED(normDiffL1_8u), (NormDiffFunc)normDiffL1_8s, (NormDiffFunc)normDiffL1_16u, (NormDiffFunc)normDiffL1_16s, (NormDiffFunc)normDiffL1_32s, (NormDiffFunc)normDiffL1_32f, (NormDiffFunc)normDiffL1_64f, 0 }, { - (NormDiffFunc)normDiffL2_8u, (NormDiffFunc)normDiffL2_8s, + (NormDiffFunc)GET_OPTIMIZED(normDiffL2_8u), (NormDiffFunc)normDiffL2_8s, (NormDiffFunc)normDiffL2_16u, (NormDiffFunc)normDiffL2_16s, (NormDiffFunc)normDiffL2_32s, (NormDiffFunc)normDiffL2_32f, (NormDiffFunc)normDiffL2_64f, 0