From a06dcc9e672e679a4d90765bd2d479b6b25d591f Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Thu, 29 Dec 2011 07:49:22 +0000 Subject: [PATCH] Optimized version of sqsum8u added --- modules/core/src/stat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/stat.cpp b/modules/core/src/stat.cpp index 5806b22..b1f02a9 100644 --- a/modules/core/src/stat.cpp +++ b/modules/core/src/stat.cpp @@ -388,8 +388,8 @@ typedef int (*SumSqrFunc)(const uchar*, const uchar* mask, uchar*, uchar*, int, static SumSqrFunc sumSqrTab[] = { - (SumSqrFunc)sqsum8u, (SumSqrFunc)sqsum8s, (SumSqrFunc)sqsum16u, (SumSqrFunc)sqsum16s, - (SumSqrFunc)sqsum32s, (SumSqrFunc)sqsum32f, (SumSqrFunc)sqsum64f, 0 + (SumSqrFunc)GET_OPTIMIZED(sqsum8u), (SumSqrFunc)sqsum8s, (SumSqrFunc)sqsum16u, (SumSqrFunc)sqsum16s, + (SumSqrFunc)sqsum32s, (SumSqrFunc)GET_OPTIMIZED(sqsum32f), (SumSqrFunc)sqsum64f, 0 }; } -- 2.7.4