From 793e8b546d060a6ad032a794afd4cbd351ed87ed Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 21 Aug 2012 23:11:49 +0400 Subject: [PATCH] fixed build on Ubuntu --- modules/imgproc/src/imgwarp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index b09588879c..e5a47e1a2d 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -1330,9 +1330,9 @@ static void resizeArea_( const Mat& src, Mat& dst, const DecimateAlpha* xofs, in } -template <> static void -resizeAreaFast_( const Mat& src, Mat& dst, const int* ofs, const int* xofs, - int scale_x, int scale_y ) +static void resizeAreaFast_8u( const Mat& src, Mat& dst, + const int* ofs, const int* xofs, + int scale_x, int scale_y ) { #if CV_SSE2 bool haveSSE2 = checkHardwareSupport(CV_CPU_SSE2); @@ -1553,7 +1553,7 @@ void cv::resize( InputArray _src, OutputArray _dst, Size dsize, static ResizeAreaFastFunc areafast_tab[] = { - resizeAreaFast_, 0, + resizeAreaFast_8u, 0, resizeAreaFast_, resizeAreaFast_, 0,