IPP: cv::dft fixed
authorElena Gvozdeva <elena.gvozdeva@itseez.com>
Tue, 29 Apr 2014 08:23:23 +0000 (12:23 +0400)
committerElena Gvozdeva <elena.gvozdeva@itseez.com>
Tue, 29 Apr 2014 08:23:23 +0000 (12:23 +0400)
modules/core/src/dxt.cpp

index 0c12e19..e3525b9 100644 (file)
@@ -2065,7 +2065,7 @@ void cv::dft( InputArray _src0, OutputArray _dst, int flags, int nonzero_rows )
 
 #if defined USE_IPP_DFT && !defined HAVE_IPP_ICV_ONLY
 
-    if ((src.depth() == CV_32F) && (src.total()>(int)(1<<6)))
+    if ((src.depth() == CV_32F) && (src.total()>(int)(1<<6)) && nonzero_rows == 0)
         if ((flags & DFT_ROWS) == 0)
         {
             if (!real_transform)