Home | History | Annotate | Download | only in src

Lines Matching full:sqdepth

380 static bool ocl_integral( InputArray _src, OutputArray _sum, OutputArray _sqsum, int sdepth, int sqdepth )
384 if ( _src.type() != CV_8UC1 || (!doubleSupport && (sdepth == CV_64F || sqdepth == CV_64F)) )
390 ocl::typeToStr(sdepth), ocl::typeToStr(sqdepth),
402 UMat buf_sq(bufsize, sqdepth);
415 _sqsum.create(sumsize, sqdepth);
428 void cv::integral( InputArray _src, OutputArray _sum, OutputArray _sqsum, OutputArray _tilted, int sdepth, int sqdepth )
433 if ( sqdepth <= 0 )
434 sqdepth = CV_64F;
435 sdepth = CV_MAT_DEPTH(sdepth), sqdepth = CV_MAT_DEPTH(sqdepth);
445 CV_OCL_RUN(ocl::useOpenCL(), ocl_integral(_src, _sum, _sqsum, sdepth, sqdepth))
455 _sqsum.create( isize, CV_MAKETYPE(sqdepth, cn) );
462 if( ( depth == CV_8U ) && ( sdepth == CV_32F || sdepth == CV_32S ) && ( !_tilted.needed() ) && ( !_sqsum.needed() || sqdepth == CV_64F ) && ( cn == 1 ) )
505 if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_64F )
507 else if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_32F )
509 else if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_32S )
511 else if( depth == CV_8U && sdepth == CV_32F && sqdepth == CV_64F )
513 else if( depth == CV_8U && sdepth == CV_32F && sqdepth == CV_32F )
515 else if( depth == CV_8U && sdepth == CV_64F && sqdepth == CV_64F )
517 else if( depth == CV_16U && sdepth == CV_64F && sqdepth == CV_64F )
519 else if( depth == CV_16S && sdepth == CV_64F && sqdepth == CV_64F )
521 else if( depth == CV_32F && sdepth == CV_32F && sqdepth == CV_64F )
523 else if( depth == CV_32F && sdepth == CV_32F && sqdepth == CV_32F )
525 else if( depth == CV_32F && sdepth == CV_64F && sqdepth == CV_64F )
527 else if( depth == CV_64F && sdepth == CV_64F && sqdepth == CV_64F )
541 void cv::integral( InputArray src, OutputArray sum, OutputArray sqsum, int sdepth, int sqdepth )
543 integral( src, sum, sqsum, noArray(), sdepth, sqdepth );