@ -356,7 +356,7 @@ void cv::gpu::add(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const Gpu
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -405,7 +405,7 @@ void cv::gpu::add(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const Gpu
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , src2_ , dst_ , mask , stream ) ;
}
@ -514,7 +514,7 @@ void cv::gpu::add(const GpuMat& src, const Scalar& sc, GpuMat& dst, const GpuMat
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -533,7 +533,7 @@ void cv::gpu::add(const GpuMat& src, const Scalar& sc, GpuMat& dst, const GpuMat
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src , sc . val [ 0 ] , dst , mask , stream ) ;
}
@ -636,7 +636,7 @@ void cv::gpu::subtract(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, cons
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -685,7 +685,7 @@ void cv::gpu::subtract(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, cons
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , src2_ , dst_ , mask , stream ) ;
}
@ -794,7 +794,7 @@ void cv::gpu::subtract(const GpuMat& src, const Scalar& sc, GpuMat& dst, const G
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -813,7 +813,7 @@ void cv::gpu::subtract(const GpuMat& src, const Scalar& sc, GpuMat& dst, const G
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src , sc . val [ 0 ] , dst , mask , stream ) ;
}
@ -936,7 +936,7 @@ void cv::gpu::multiply(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, doub
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -948,7 +948,7 @@ void cv::gpu::multiply(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, doub
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , src2_ , dst_ , scale , stream ) ;
}
@ -1057,7 +1057,7 @@ void cv::gpu::multiply(const GpuMat& src, const Scalar& sc, GpuMat& dst, double
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -1078,7 +1078,7 @@ void cv::gpu::multiply(const GpuMat& src, const Scalar& sc, GpuMat& dst, double
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src , nsc . val [ 0 ] , dst , stream ) ;
}
@ -1201,7 +1201,7 @@ void cv::gpu::divide(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, double
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -1213,7 +1213,7 @@ void cv::gpu::divide(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, double
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , src2_ , dst_ , scale , stream ) ;
}
@ -1322,7 +1322,7 @@ void cv::gpu::divide(const GpuMat& src, const Scalar& sc, GpuMat& dst, double sc
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -1343,7 +1343,7 @@ void cv::gpu::divide(const GpuMat& src, const Scalar& sc, GpuMat& dst, double sc
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src , nsc . val [ 0 ] , dst , stream ) ;
}
@ -1439,7 +1439,7 @@ void cv::gpu::divide(double scale, const GpuMat& src, GpuMat& dst, int dtype, St
if ( sdepth = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -1449,7 +1449,7 @@ void cv::gpu::divide(double scale, const GpuMat& src, GpuMat& dst, int dtype, St
const func_t func = funcs [ sdepth ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src , scale , dst , stream ) ;
}
@ -1491,7 +1491,7 @@ void cv::gpu::absdiff(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Strea
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , src1 . type ( ) ) ;
@ -1540,7 +1540,7 @@ void cv::gpu::absdiff(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Strea
const func_t func = funcs [ depth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , src2_ , dst_ , stream ) ;
}
@ -1575,7 +1575,7 @@ void cv::gpu::absdiff(const GpuMat& src1, const Scalar& src2, GpuMat& dst, Strea
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , src1 . type ( ) ) ;
@ -1616,7 +1616,7 @@ void cv::gpu::abs(const GpuMat& src, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -1657,7 +1657,7 @@ void cv::gpu::sqr(const GpuMat& src, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -1698,7 +1698,7 @@ void cv::gpu::sqrt(const GpuMat& src, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -1739,7 +1739,7 @@ void cv::gpu::log(const GpuMat& src, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -1780,7 +1780,7 @@ void cv::gpu::exp(const GpuMat& src, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -1836,7 +1836,7 @@ void cv::gpu::compare(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, int c
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , CV_MAKE_TYPE ( CV_8U , cn ) ) ;
@ -1940,7 +1940,7 @@ void cv::gpu::compare(const GpuMat& src, Scalar sc, GpuMat& dst, int cmpop, Stre
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , CV_MAKE_TYPE ( CV_8U , cn ) ) ;
@ -2453,7 +2453,7 @@ void cv::gpu::min(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& s
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , src1 . type ( ) ) ;
@ -2502,7 +2502,7 @@ void cv::gpu::min(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& s
const func_t func = funcs [ depth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , src2_ , dst_ , stream ) ;
}
@ -2532,7 +2532,7 @@ void cv::gpu::max(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& s
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , src1 . type ( ) ) ;
@ -2581,7 +2581,7 @@ void cv::gpu::max(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& s
const func_t func = funcs [ depth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , src2_ , dst_ , stream ) ;
}
@ -2624,7 +2624,7 @@ void cv::gpu::min(const GpuMat& src, double val, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -2662,7 +2662,7 @@ void cv::gpu::max(const GpuMat& src, double val, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -2689,7 +2689,7 @@ double cv::gpu::threshold(const GpuMat& src, GpuMat& dst, double thresh, double
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -2766,7 +2766,7 @@ void cv::gpu::pow(const GpuMat& src, double power, GpuMat& dst, Stream& stream)
if ( depth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src . size ( ) , src . type ( ) ) ;
@ -3332,7 +3332,7 @@ void cv::gpu::addWeighted(const GpuMat& src1, double alpha, const GpuMat& src2,
if ( sdepth1 = = CV_64F | | sdepth2 = = CV_64F | | ddepth = = CV_64F )
{
if ( ! deviceSupports ( NATIVE_DOUBLE ) )
CV_Error ( CV_ StsUnsupportedFormat, " The device doesn't support double " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " The device doesn't support double " ) ;
}
dst . create ( src1 . size ( ) , CV_MAKE_TYPE ( ddepth , cn ) ) ;
@ -3352,7 +3352,7 @@ void cv::gpu::addWeighted(const GpuMat& src1, double alpha, const GpuMat& src2,
const func_t func = funcs [ sdepth1 ] [ sdepth2 ] [ ddepth ] ;
if ( ! func )
CV_Error ( CV_ StsUnsupportedFormat, " Unsupported combination of source and destination types " ) ;
CV_Error ( cv : : Error : : StsUnsupportedFormat , " Unsupported combination of source and destination types " ) ;
func ( src1_ , alpha , src2_ , beta , gamma , dst_ , StreamAccessor : : getStream ( stream ) ) ;
}