added dft for all platforms

This commit is contained in:
Elena Gvozdeva 2014-07-29 12:07:21 +04:00
parent dc3c691c8c
commit dbb5993d13

View File

@ -110,12 +110,8 @@ static bool sumTemplate(InputArray _src, UMat & result)
static bool useNaive(Size size)
{
if (!ocl::Device::getDefault().isIntel())
return true;
int dft_size = 18;
return size.height < dft_size && size.width < dft_size;
}
struct ConvolveBuf