Home | History | Annotate | Download | only in src

Lines Matching full:sqsum

79                     double * sqsum, size_t,
83 if (sqsum || tilted || cn != 1 || !haveSSE2)
149 QT* sqsum, size_t _sqsumstep, ST* tilted, size_t _tiltedstep,
156 sqsum, _sqsumstep,
171 if( sqsum )
173 memset( sqsum, 0, (size.width+cn)*sizeof(sqsum[0]));
174 sqsum += sqsumstep + cn;
183 if( sqsum == 0 && tilted == 0 )
201 sum += sumstep - cn, sqsum += sqsumstep - cn )
203 for( k = 0; k < cn; k++, src++, sum++, sqsum++ )
206 QT sq = sqsum[-cn] = 0;
213 QT tq = sqsum[x - sqsumstep] + sq;
215 sqsum[x] = tq;
237 if( sqsum )
238 sqsum[x] = sq;
244 if( sqsum )
246 sqsum[-cn] = 0;
247 sqsum++;
258 if( sqsum )
259 sqsum += sqsumstep - cn;
268 if( sqsum )
269 sqsum[-cn] = 0;
273 if( sqsum )
274 sqsum[0] = sqsum[-sqsumstep] + tq0;
286 if( sqsum )
287 sqsum[x] = sqsum[x - sqsumstep] + sq;
301 if( sqsum )
302 sqsum[x] = sqsum[x - sqsumstep] + sq;
307 if( sqsum )
308 sqsum++;
316 static void integral_##suffix( T* src, size_t srcstep, ST* sum, size_t sumstep, QT* sqsum, size_t sqsumstep, \
318 { integral_(src, srcstep, sum, sumstep, sqsum, sqsumstep, tilted, tiltedstep, size, cn); }
335 uchar* sqsum, size_t sqsumstep, uchar* tilted, size_t tstep,
451 Mat src = _src.getMat(), sum =_sum.getMat(), sqsum, tilted;
456 sqsum = _sqsum.getMat();
470 status = ippiSqrIntegral_8u32f64f_C1R( (const Ipp8u*)src.data, (int)src.step, (Ipp32f*)sum.data, (int)sum.step, (Ipp64f*)sqsum.data, (int)sqsum.step, srcRoiSize, 0, 0 );
481 status = ippiSqrIntegral_8u32s64f_C1R( (const Ipp8u*)src.data, (int)src.step, (Ipp32s*)sum.data, (int)sum.step, (Ipp64f*)sqsum.data, (int)sqsum.step, srcRoiSize, 0, 0 );
532 func( src.ptr(), src.step, sum.ptr(), sum.step, sqsum.ptr(), sqsum.step,
541 void cv::integral( InputArray src, OutputArray sum, OutputArray sqsum, int sdepth, int sqdepth )
543 integral( src, sum, sqsum, noArray(), sdepth, sqdepth );
552 cv::Mat sqsum0, sqsum, tilted0, tilted;
557 sqsum0 = sqsum = cv::cvarrToMat(sumSqImage);
558 psqsum = &sqsum;
569 CV_Assert( sum.data == sum0.data && sqsum.data == sqsum0.data && tilted.data == tilted0.data );