Commit 793e8b54 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed build on Ubuntu

parent 64661ea9
...@@ -1330,9 +1330,9 @@ static void resizeArea_( const Mat& src, Mat& dst, const DecimateAlpha* xofs, in ...@@ -1330,9 +1330,9 @@ static void resizeArea_( const Mat& src, Mat& dst, const DecimateAlpha* xofs, in
} }
template <> static void static void resizeAreaFast_8u( const Mat& src, Mat& dst,
resizeAreaFast_<uchar, int>( const Mat& src, Mat& dst, const int* ofs, const int* xofs, const int* ofs, const int* xofs,
int scale_x, int scale_y ) int scale_x, int scale_y )
{ {
#if CV_SSE2 #if CV_SSE2
bool haveSSE2 = checkHardwareSupport(CV_CPU_SSE2); bool haveSSE2 = checkHardwareSupport(CV_CPU_SSE2);
...@@ -1553,7 +1553,7 @@ void cv::resize( InputArray _src, OutputArray _dst, Size dsize, ...@@ -1553,7 +1553,7 @@ void cv::resize( InputArray _src, OutputArray _dst, Size dsize,
static ResizeAreaFastFunc areafast_tab[] = static ResizeAreaFastFunc areafast_tab[] =
{ {
resizeAreaFast_<uchar, int>, 0, resizeAreaFast_8u, 0,
resizeAreaFast_<ushort, float>, resizeAreaFast_<ushort, float>,
resizeAreaFast_<short, float>, resizeAreaFast_<short, float>,
0, 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment