mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Boring changes - gpuarithm.
This commit is contained in:
parent
57595a8308
commit
f8f0685397
@ -629,7 +629,7 @@ Ptr<Convolution> cv::gpu::createConvolution(Size user_block_size)
|
|||||||
CV_Error(Error::StsNotImplemented, "The library was build without CUFFT");
|
CV_Error(Error::StsNotImplemented, "The library was build without CUFFT");
|
||||||
return Ptr<Convolution>();
|
return Ptr<Convolution>();
|
||||||
#else
|
#else
|
||||||
return new ConvolutionImpl(user_block_size);
|
return makePtr<ConvolutionImpl>(user_block_size);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -497,7 +497,7 @@ namespace
|
|||||||
|
|
||||||
Ptr<LookUpTable> cv::gpu::createLookUpTable(InputArray lut)
|
Ptr<LookUpTable> cv::gpu::createLookUpTable(InputArray lut)
|
||||||
{
|
{
|
||||||
return new LookUpTableImpl(lut);
|
return makePtr<LookUpTableImpl>(lut);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user