Home
last modified time | relevance | path

Searched refs:src_step (Results 1 – 25 of 29) sorted by relevance

12

/external/opencv/cv/src/
Dcvsamplers.cpp88 icvAdjustRect( const void* srcptr, int src_step, int pix_size, in icvAdjustRect() argument
122 src += ip.y * src_step; in icvAdjustRect()
135 src += rect.height*src_step; in icvAdjustRect()
148 ( const srctype* src, int src_step, CvSize src_size, \
171 src_step /= sizeof(src[0]); \
178 src += ip.y * src_step + ip.x; \
181 icvCopySubpix_##flavor##_C1R_p( src, src_step*sizeof(src[0]), \
186 for( i = 0; i < win_size.height; i++, src += src_step, \
193 cast_macro(src[j+src_step])*a21 + \
194 cast_macro(src[j+src_step+1])*a22; \
[all …]
Dcvthresh.cpp45 icvThresh_8u_C1R( const uchar* src, int src_step, uchar* dst, int dst_step, in icvThresh_8u_C1R() argument
87 for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) in icvThresh_8u_C1R()
113 icvThresh_32f_C1R( const float *src, int src_step, float *dst, int dst_step, in icvThresh_32f_C1R() argument
125 src_step /= sizeof(src[0]); in icvThresh_32f_C1R()
131 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step ) in icvThresh_32f_C1R()
142 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step ) in icvThresh_32f_C1R()
153 for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) in icvThresh_32f_C1R()
167 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step ) in icvThresh_32f_C1R()
178 for( i = 0; i < roi.height; i++, isrc += src_step, idst += dst_step ) in icvThresh_32f_C1R()
306 int src_step, dst_step; in cvThreshold() local
[all …]
D_cvimgproc.h52 void icvSepConvSmall3_32f( float* src, int src_step, float* dst, int dst_step,
104 ( const uchar* src, int src_step, CvSize src_size,
107 ( const uchar* src, int src_step, CvSize src_size,
110 ( const float* src, int src_step, CvSize src_size,
114 ( const uchar* src, int src_step, CvSize src_size,
117 ( const uchar* src, int src_step, CvSize src_size,
120 ( const float* src, int src_step, CvSize src_size,
Dcvpyramids.cpp496 icvPyrDownBorder_##flavor##_CnR( const arrtype *src, int src_step, CvSize src_size, \
529 src_step /= sizeof(src[0]); \
535 src2 = src + (H-1)*src_step; \
554 for( i = 0; i < H; i++, src += src_step, buf += channels ) \
568 for( i = 0; i < H; i++, src += src_step, buf += channels ) \
582 for( i = 0; i < H; i++, src += src_step, buf += channels*2 ) \
602 for( i = 0; i < H; i++, src += src_step, buf += channels ) \
616 for( i = 0; i < H; i++, src += src_step, buf += channels*2 ) \
657 buf[j] = PD_SINGULAR( src[j-src_step], src[j] ); \
680 buf[j] = PD_LT( src[j-src_step*2], src[j - src_step], src[j] ); \
[all …]
Dcvderiv.cpp47 void icvSepConvSmall3_32f( float* src, int src_step, float* dst, int dst_step, in icvSepConvSmall3_32f() argument
54 (src_step & 3) == 0 && (dst_step & 3) == 0 && in icvSepConvSmall3_32f()
57 src_step /= sizeof(src[0]); in icvSepConvSmall3_32f()
73 assert( src_step >= src_size.width && dst_step >= dst_width ); in icvSepConvSmall3_32f()
81 buffer_step = src_step; in icvSepConvSmall3_32f()
86 for( y = 0; y <= src_size.height; y++, src += src_step, in icvSepConvSmall3_32f()
90 float* src2 = src + src_step; in icvSepConvSmall3_32f()
91 float* src3 = src + src_step*2; in icvSepConvSmall3_32f()
298 int src_step = src->step ? src->step : CV_STUB_STEP; in cvSobel() local
318 ipp_sobel_func_8u ? ipp_sobel_func_8u( src_ptr, src_step, dst_ptr, dst_step, in cvSobel()
[all …]
Dcvsumpixels.cpp327 int src_step, sum_step, sqsum_step, tilted_step; in cvIntegral() local
401 src_step = src->step ? src->step : CV_STUB_STEP; in cvIntegral()
411 icvIntegral_8u32s_C1R_p( src->data.ptr, src_step, in cvIntegral()
416 icvSqrIntegral_8u32s64f_C1R_p( src->data.ptr, src_step, sum->data.i, in cvIntegral()
421 IPPI_CALL( func_c1( src->data.ptr, src_step, sum->data.ptr, sum_step, in cvIntegral()
427 IPPI_CALL( func_cn( src->data.ptr, src_step, sum->data.ptr, sum_step, in cvIntegral()
Dcvmorph.cpp321 int CvMorphology::fill_cyclic_buffer( const uchar* src, int src_step, in fill_cyclic_buffer() argument
329 return CvBaseImageFilter::fill_cyclic_buffer( src, src_step, y0, y1, y2 ); in fill_cyclic_buffer()
332 for( ; buf_count < buf_max_count && y < y2; buf_count++, y++, src += src_step ) in fill_cyclic_buffer()
983 int src_step, dst_step = dst->step ? dst->step : CV_STUB_STEP; in icvMorphOp() local
990 src_step = src->step ? src->step : CV_STUB_STEP; in icvMorphOp()
992 status = rect_func( src->data.ptr, src_step, dst->data.ptr, in icvMorphOp()
1038 int src_step, dst_step = dst->step ? dst->step : CV_STUB_STEP; in icvMorphOp() local
1056 src_step = src->step ? src->step : CV_STUB_STEP; in icvMorphOp()
1062 status = custom_func( src_ptr, src_step, dst_ptr, dst_step, in icvMorphOp()
1065 CV_SWAP( src_step, dst_step, t_step ); in icvMorphOp()
Dcvsmooth.cpp649 icvMedianBlur_8u_CnR_O1( uchar* src, int src_step, uchar* dst, int dst_step, in icvMedianBlur_8u_CnR_O1() argument
667 assert( src_step != 0 ); in icvMedianBlur_8u_CnR_O1()
684 COP( c, j, src[src_step*i+cn*j+c], ++ ); in icvMedianBlur_8u_CnR_O1()
692 p = src + src_step * MAX( 0, i-r-1 ); in icvMedianBlur_8u_CnR_O1()
700 p = src + src_step * MIN( m-1, i+r ); in icvMedianBlur_8u_CnR_O1()
797 icvMedianBlur_8u_CnR_Om( uchar* src, int src_step, uchar* dst, int dst_step, in icvMedianBlur_8u_CnR_Om() argument
806 uchar* src_max = src + size.height*src_step; in icvMedianBlur_8u_CnR_Om()
825 const uchar* src0 = src + src_step*(y-1); in icvMedianBlur_8u_CnR_Om()
826 const uchar* src1 = src0 + src_step; in icvMedianBlur_8u_CnR_Om()
827 const uchar* src2 = src1 + src_step; in icvMedianBlur_8u_CnR_Om()
[all …]
Dcvpyrsegmentation.cpp181 icvPyrSegmentation8uC1R( uchar * src_image, int src_step, in icvPyrSegmentation8uC1R() argument
220 if( roi.width <= 0 || roi.height <= 0 || src_step < roi.width || dst_step < roi.width ) in icvPyrSegmentation8uC1R()
264 cvInitMatHeader( &_src, roi.height, roi.width, CV_8UC1, src_image, src_step ); in icvPyrSegmentation8uC1R()
594 icvPyrSegmentation8uC3R( uchar * src_image, int src_step, in icvPyrSegmentation8uC3R() argument
638 src_step < roi.width * 3 || dst_step < roi.width * 3 ) return CV_BADSIZE_ERR; in icvPyrSegmentation8uC3R()
681 cvInitMatHeader( &_src, roi.height, roi.width, CV_8UC3, src_image, src_step ); in icvPyrSegmentation8uC3R()
1839 int src_step = 0, dst_step = 0; in cvPyrSegmentation() local
1853 cvGetRawData( src, &src_data, &src_step, &src_size ); in cvPyrSegmentation()
1863 IPPI_CALL( icvPyrSegmentation8uC1R( src_data, src_step, in cvPyrSegmentation()
1870 IPPI_CALL( icvPyrSegmentation8uC3R( src_data, src_step, in cvPyrSegmentation()
Dcvundistort.cpp122 int cn, src_step, dst_step; in cvUndistort2() local
169 src_step = src->step ? src->step : CV_STUB_STEP; in cvUndistort2()
172 icvUnDistort_8u_CnR( src->data.ptr, src_step, in cvUndistort2()
Dcvoptflowbm.cpp73 icvCopyBM_8u_C1R( const uchar* src, int src_step, in icvCopyBM_8u_C1R() argument
76 for( ; size.height--; src += src_step, dst += dst_step ) in icvCopyBM_8u_C1R()
Dcvlkpyramid.cpp226 icvCalcIxIy_32f( const float* src, int src_step, float* dstX, float* dstY, int dst_step, in icvCalcIxIy_32f() argument
233 src_step /= sizeof(src[0]); in icvCalcIxIy_32f()
236 for( ; height--; src += src_step, dstX += dst_step, dstY += dst_step ) in icvCalcIxIy_32f()
238 const float* src2 = src + src_step; in icvCalcIxIy_32f()
239 const float* src3 = src + src_step*2; in icvCalcIxIy_32f()
Dcvcolor.cpp2243 int src_step, dst_step; in cvCvtColor() local
2267 src_step = src->step; in cvCvtColor()
2276 src_step = dst_step = CV_STUB_STEP; in cvCvtColor()
2526 IPPI_CALL( func0( src->data.ptr, src_step, dst->data.ptr, dst_step, size )); in cvCvtColor()
2530 IPPI_CALL( func1( src->data.ptr, src_step, in cvCvtColor()
2535 IPPI_CALL( func2( src->data.ptr, src_step, in cvCvtColor()
2540 IPPI_CALL( func3( src->data.ptr, src_step, in cvCvtColor()
Dcvfilter.cpp340 int CvBaseImageFilter::fill_cyclic_buffer( const uchar* src, int src_step, in fill_cyclic_buffer() argument
349 for( ; buf_count < buf_max_count && y < y2; buf_count++, y++, src += src_step ) in fill_cyclic_buffer()
2305 int src_step = src->step ? src->step : CV_STUB_STEP; in icvIPPFilterNextStripe() local
2341 icvCopyReplicateBorder_8u( src->data.ptr + src_y1*src_step, src_step, in icvIPPFilterNextStripe()
2396 int src_step, top_bottom_step; in icvIPPSepFilter() local
2483 src_step = src->step ? src->step : CV_STUB_STEP; in icvIPPSepFilter()
2512 icvCopyReplicateBorder_8u( src->data.ptr + src_y*src_step, src_step, in icvIPPSepFilter()
/external/opencv/cvaux/src/
Dcvlines.cpp45 icvFetchLine8uC3R( uchar * src, int src_step,
53 src_step < src_size.width * 3 ||
68 src += start.y * src_step + start.x * 3;
72 src_step = (src_step ^ i) - i;
94 src += (src_step & mask) + 3;
117 src += src_step + (mask & 3);
198 int src_step, /* line step */ in icvPreWarpImage8uC3R() argument
214 cvInitMatHeader( &mat, src_size.height, src_size.width, CV_8UC3, src, src_step ); in icvPreWarpImage8uC3R()
Dcvsegment.cpp235 int dst_step, src_step;
239 cvGetRawData( srcArr, (uchar**)&src, &src_step, &size );
250 src += src_step;
268 dv[0] = src[0] - src[-src_step];
270 dv[1] = src[1] - src[1-src_step];
272 dv[2] = src[2] - src[2-src_step];
D_cvvm.h108 uchar* src, int src_step,
/external/opencv/cxcore/src/
Dcxconvert.cpp450 int src_step, dst_step = 0; in cvSplit() local
499 src_step = src->step; in cvSplit()
505 src_step = dst_step = CV_STUB_STEP; in cvSplit()
517 IPPI_CALL( func( src->data.ptr, src_step, dstptr, dst_step, size )); in cvSplit()
526 IPPI_CALL( func( src->data.ptr, src_step, in cvSplit()
553 int src_step = 0, dst_step; in cvMerge() local
598 src_step = src[i]->step; in cvMerge()
611 src_step = dst_step = CV_STUB_STEP; in cvMerge()
622 IPPI_CALL( func( srcptr, src_step, dst->data.ptr, dst_step, size )); in cvMerge()
631 IPPI_CALL( func( src[nzidx]->data.ptr, src_step, in cvMerge()
[all …]
Dcxlogic.cpp201 int src_step, dst_step, tdst_step, mask_step; in icvLogicS() local
303 src_step = src->step; in icvLogicS()
319 src_step = tdst_step = dst_step = mask_step = CV_STUB_STEP; in icvLogicS()
321 IPPI_CALL( fn_2d( src->data.ptr + y*src->step, src_step, tdst->data.ptr, tdst_step, in icvLogicS()
629 int src_step, dst_step; in cvNot() local
678 src_step = src->step; in cvNot()
684 src_step = dst_step = CV_STUB_STEP; in cvNot()
691 IPPI_CALL( icvNot_8u_C1R( src->data.ptr, src_step, dst->data.ptr, dst_step, size )); in cvNot()
Dcxcopy.cpp425 int src_step = src->step, dst_step = dst->step; in cvCopy() local
427 …if( CV_IS_MAT_CONT( src->type & dst->type ) && (src_step == dst_step) && (src_step == src->width *… in cvCopy()
439 src_step = dst_step = CV_STUB_STEP; in cvCopy()
443 icvCopy_8u_C1R( src->data.ptr, src_step, in cvCopy()
450 int src_step = src->step; in cvCopy() local
468 src_step = dst_step = mask_step = CV_STUB_STEP; in cvCopy()
474 IPPI_CALL( func( src->data.ptr, src_step, dst->data.ptr, dst_step, in cvCopy()
Dcxdxt.cpp1572 icvCopyColumn( const uchar* _src, int src_step, in icvCopyColumn() argument
1579 src_step /= sizeof(src[0]); in icvCopyColumn()
1584 for( i = 0; i < len; i++, src += src_step, dst += dst_step ) in icvCopyColumn()
1589 for( i = 0; i < len; i++, src += src_step, dst += dst_step ) in icvCopyColumn()
1597 for( i = 0; i < len; i++, src += src_step, dst += dst_step ) in icvCopyColumn()
1609 icvCopyFrom2Columns( const uchar* _src, int src_step, in icvCopyFrom2Columns() argument
1617 src_step /= sizeof(src[0]); in icvCopyFrom2Columns()
1621 for( i = 0; i < len; i++, src += src_step ) in icvCopyFrom2Columns()
1629 for( i = 0; i < len*2; i += 2, src += src_step ) in icvCopyFrom2Columns()
1639 for( i = 0; i < len*4; i += 4, src += src_step ) in icvCopyFrom2Columns()
[all …]
Dcxarithm.cpp536 int src_step, dst_step, tdst_step, mask_step; in cvSubRS() local
707 src_step = src->step; in cvSubRS()
724 src_step = tdst_step = dst_step = mask_step = CV_STUB_STEP; in cvSubRS()
727 IPPI_CALL( func( src->data.ptr + y*src->step, src_step, in cvSubRS()
1008 int src_step, dst_step, tdst_step, mask_step; in cvAddS() local
1179 src_step = src->step; in cvAddS()
1196 src_step = tdst_step = dst_step = mask_step = CV_STUB_STEP; in cvAddS()
1199 IPPI_CALL( func( src->data.ptr + y*src->step, src_step, in cvAddS()
Dcxcmp.cpp1502 int src_step, dst_step; in cvAbsDiffS() local
1531 src_step = src->step; in cvAbsDiffS()
1538 src_step = dst_step = CV_STUB_STEP; in cvAbsDiffS()
1550 IPPI_CALL( func( src->data.ptr, src_step, dst->data.ptr, in cvAbsDiffS()
/external/opencv/ml/src/
Dml_inner_functions.cpp1330 icvConvertDataToSparse( const uchar* src, int src_step, int src_type, in icvConvertDataToSparse() argument
1345 if( src_step == 0 ) in icvConvertDataToSparse()
1346 src_step = CV_ELEM_SIZE(src_type); in icvConvertDataToSparse()
1353 if( !idx && CV_ELEM_SIZE(src_type)*size.width == src_step && in icvConvertDataToSparse()
1365 for( i = 0; i < size.height; i++, src += src_step ) in icvConvertDataToSparse()
1368 for( i = 0; i < size.height; i++, src += src_step ) in icvConvertDataToSparse()
1372 for( i = 0; i < size.height; i++, src += src_step ) in icvConvertDataToSparse()
1383 for( i = 0; i < size.height; i++, src += src_step ) in icvConvertDataToSparse()
1395 for( i = 0; i < size.height; i++, src += src_step ) in icvConvertDataToSparse()
/external/opencv/cv/include/
Dcv.hpp129 virtual int fill_cyclic_buffer( const uchar* src, int src_step,
357 int fill_cyclic_buffer( const uchar* src, int src_step,

12