Home
last modified time | relevance | path

Searched refs:srcstep (Results 1 – 25 of 44) sorted by relevance

12

/external/opencv/cv/src/
Dcvcolor.cpp93 const void* src, int srcstep, void* dst, int dststep, CvSize size );
96 const void* src, int srcstep, void* dst, int dststep,
100 const void* src, int srcstep, void* dst, int dststep,
104 const void* src, int srcstep, void* dst, int dststep,
113 icvBGRx2BGR_##flavor##_CnC3R( const arrtype* src, int srcstep, \
119 srcstep /= sizeof(src[0]); \
121 srcstep -= size.width*src_cn; \
124 for( ; size.height--; src += srcstep, dst += dststep ) \
141 icvBGR2BGRx_##flavor##_C3C4R( const arrtype* src, int srcstep, \
147 srcstep /= sizeof(src[0]); \
[all …]
Dcvutils.cpp111 icvCopyReplicateBorder_8u( const uchar* src, int srcstep, CvSize srcroi, in icvCopyReplicateBorder_8u() argument
118 if( srcstep == dststep && dst + dststep*top + left*cn == src && in icvCopyReplicateBorder_8u()
132 return ifunc( src, srcstep, srcroi, dstroi, top, left ); in icvCopyReplicateBorder_8u()
147 return func( src, srcstep, srcroi, dst, dststep, dstroi, top, left ); in icvCopyReplicateBorder_8u()
150 if( (cn | srcstep | dststep | (size_t)src | (size_t)dst) % isz == 0 ) in icvCopyReplicateBorder_8u()
156 srcstep /= isz; in icvCopyReplicateBorder_8u()
173 isrc += srcstep; in icvCopyReplicateBorder_8u()
192 src += srcstep; in icvCopyReplicateBorder_8u()
201 icvCopyReflect101Border_8u( const uchar* src, int srcstep, CvSize srcroi, in icvCopyReflect101Border_8u() argument
210 if( (cn | srcstep | dststep | (size_t)src | (size_t)dst) % isz == 0 ) in icvCopyReflect101Border_8u()
[all …]
D_cvipp.h105 ( const arrtype* src, int srcstep, acctype* dst, int dststep, CvSize size )) \
108 ( const arrtype* src, int srcstep, acctype* dst, int dststep, CvSize size )) \
115 ( const arrtype* src, int srcstep, acctype* dst, int dststep, \
120 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \
124 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \
132 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \
137 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \
141 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \
149 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \
201 (const void* src, CvSize srcsize, int srcstep, CvRect srcroi, \
[all …]
Dcvaccum.cpp46 name,( const srctype *src, int srcstep, dsttype *dst, \
47 int dststep, CvSize size ), (src, srcstep, dst, dststep, size )) \
50 srcstep /= sizeof(src[0]); \
53 for( ; size.height--; src += srcstep, dst += dststep ) \
119 ( const srctype *src, int srcstep, dsttype *dst, int dststep, \
120 CvSize size, dsttype alpha ), (src, srcstep, dst, dststep, size, alpha) )\
123 srcstep /= sizeof(src[0]); \
126 for( ; size.height--; src += srcstep, dst += dststep ) \
154 name,( const srctype *src, int srcstep, const uchar* mask, int maskstep,\
156 (src, srcstep, mask, maskstep, dst, dststep, size )) \
[all …]
Dcvsumpixels.cpp47 icvIntegralImage_##flavor##_C1R( const arrtype* src, int srcstep,\
58 srcstep /= sizeof(src[0]); \
80 for( y = 0; y < size.height; y++, src += srcstep, \
94 for( y = 0; y < size.height; y++, src += srcstep, \
147 src += srcstep; \
210 icvIntegralImage_##flavor##_CnR( const arrtype* src, int srcstep,\
216 srcstep /= sizeof(src[0]); \
233 for( y = 0; y < size.height; y++, src += srcstep, \
248 for( y = 0; y < size.height; y++, src += srcstep, \
299 const void* src, int srcstep, void* sum, int sumstep,
[all …]
Dcvimgwarp.cpp124 icvResize_NN_8u_C1R( const uchar* src, int srcstep, CvSize ssize, in icvResize_NN_8u_C1R() argument
143 tsrc = src + srcstep*t; in icvResize_NN_8u_C1R()
208 icvResize_Bilinear_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize,\
218 srcstep /= sizeof(src[0]); \
249 _src = src + sy*srcstep; \
288 icvResize_AreaFast_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize,\
298 srcstep /= sizeof(src[0]); \
305 const arrtype* _src = src + dy*scale_y*srcstep + xofs[dx]; \
324 icvResize_Area_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize, \
332 srcstep /= sizeof(src[0]); \
[all …]
Dcvdistransform.cpp67 icvDistanceTransform_3x3_C1R( const uchar* src, int srcstep, int* temp, in icvDistanceTransform_3x3_C1R() argument
76 srcstep /= sizeof(src[0]); in icvDistanceTransform_3x3_C1R()
85 const uchar* s = src + i*srcstep; in icvDistanceTransform_3x3_C1R()
139 icvDistanceTransform_5x5_C1R( const uchar* src, int srcstep, int* temp, in icvDistanceTransform_5x5_C1R() argument
149 srcstep /= sizeof(src[0]); in icvDistanceTransform_5x5_C1R()
158 const uchar* s = src + i*srcstep; in icvDistanceTransform_5x5_C1R()
228 icvDistanceTransformEx_5x5_C1R( const uchar* src, int srcstep, int* temp, in icvDistanceTransformEx_5x5_C1R() argument
240 srcstep /= sizeof(src[0]); in icvDistanceTransformEx_5x5_C1R()
250 const uchar* s = src + i*srcstep; in icvDistanceTransformEx_5x5_C1R()
595 typedef CvStatus (CV_STDCALL * CvIPPDistTransFunc)( const uchar* src, int srcstep,
[all …]
D_cvimgproc.h56 ( const void* src, int srcstep, void* dst, int dststep, CvSize roi, int aperture );
59 ( const void* src, int srcstep, void* dst, int dststep, CvSize roi );
79 icvCopyReplicateBorder_8u( const uchar* src, int srcstep, CvSize srcroi,
Dcvpyramids.cpp83 icvPyrDownG5x5_##flavor##_CnR( const type* src, int srcstep, type* dst, \
95 srcstep /= sizeof(src[0]); dststep /= sizeof(dst[0]); \
121 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \
137 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \
144 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \
281 icvPyrUpG5x5_##flavor##_CnR( const type* src, int srcstep, type* dst, \
293 srcstep /= sizeof(src[0]); dststep /= sizeof(dst[0]); \
318 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \
336 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \
345 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \
[all …]
Dcvundistort.cpp45 icvUnDistort_8u_CnR( const uchar* src, int srcstep, in icvUnDistort_8u_CnR() argument
58 srcstep /= sizeof(src[0]); in icvUnDistort_8u_CnR()
76 const uchar* ptr = src + iy*srcstep + ix*cn; in icvUnDistort_8u_CnR()
80 float t0 = CV_8TO32F(ptr[i]), t1 = CV_8TO32F(ptr[i+srcstep]); in icvUnDistort_8u_CnR()
82 t1 += _x*(CV_8TO32F(ptr[i + srcstep + cn]) - t1); in icvUnDistort_8u_CnR()
Dcvstereobm.cpp116 int srcstep = src->step; in icvPrefilter() local
130 vsum[x] = (ushort)(vsum[x] + sptr[srcstep*y + x]); in icvPrefilter()
135 const uchar* top = sptr + srcstep*MAX(y-wsz2-1,0); in icvPrefilter()
136 const uchar* bottom = sptr + srcstep*MIN(y+wsz2,size.height-1); in icvPrefilter()
137 const uchar* prev = sptr + srcstep*MAX(y-1,0); in icvPrefilter()
138 const uchar* curr = sptr + srcstep*y; in icvPrefilter()
139 const uchar* next = sptr + srcstep*MIN(y+1,size.height-1); in icvPrefilter()
/external/opencv/cxcore/src/
D_cxcore.h303 CvStatus CV_STDCALL icvLUT_Transform8u_8u_C1R( const uchar* src, int srcstep, uchar* dst,
305 CvStatus CV_STDCALL icvLUT_Transform8u_16u_C1R( const uchar* src, int srcstep, ushort* dst,
307 CvStatus CV_STDCALL icvLUT_Transform8u_32s_C1R( const uchar* src, int srcstep, int* dst,
309 CvStatus CV_STDCALL icvLUT_Transform8u_64f_C1R( const uchar* src, int srcstep, double* dst,
312 CvStatus CV_STDCALL icvLUT_Transform8u_8u_C2R( const uchar* src, int srcstep, uchar* dst,
314 CvStatus CV_STDCALL icvLUT_Transform8u_8u_C3R( const uchar* src, int srcstep, uchar* dst,
316 CvStatus CV_STDCALL icvLUT_Transform8u_8u_C4R( const uchar* src, int srcstep, uchar* dst,
319 typedef CvStatus (CV_STDCALL * CvLUT_TransformFunc)( const void* src, int srcstep, void* dst,
323 icvLUT_Transform8u_8s_C1R( const uchar* src, int srcstep, schar* dst, in icvLUT_Transform8u_8s_C1R() argument
326 return icvLUT_Transform8u_8u_C1R( src, srcstep, (uchar*)dst, in icvLUT_Transform8u_8s_C1R()
[all …]
Dcxconvert.cpp155 ( const arrtype* src, int srcstep, \
157 (src, srcstep, dst, dststep, size)) \
160 srcstep /= sizeof(src[0]); \
163 for( ; size.height--; src += srcstep ) \
175 ( const arrtype* src, int srcstep, arrtype* dst, int dststep,\
177 (src, srcstep, dst, dststep, size, cn, coi)) \
180 srcstep /= sizeof(src[0]); \
183 for( ; size.height--; src += srcstep, dst += dststep )\
230 plane0 += srcstep; \
231 plane1 += srcstep; \
[all …]
D_cxipp.h65 ( const arrtype* src, int srcstep, \
457 ( const arrtype* pSrc, int srcstep, arrtype* pDst, int dststep, \
461 ( const arrtype* pSrc, int srcstep, arrtype* pDst, int dststep, \
477 ( const arrtype* src, int srcstep, arrtype** dst, int dststep, CvSize size )) \
480 ( const arrtype* src, int srcstep, arrtype** dst, int dststep, CvSize size )) \
483 ( const arrtype* src, int srcstep, arrtype** dst, int dststep, CvSize size )) \
486 ( const arrtype* src, int srcstep, arrtype* dst, int dststep, \
490 ( const arrtype* src, int srcstep, arrtype* dst, int dststep, \
494 ( const arrtype** src, int srcstep, arrtype* dst, int dststep, CvSize size )) \
497 ( const arrtype** src, int srcstep, arrtype* dst, int dststep, CvSize size )) \
[all …]
Dcxlut.cpp105 const uchar* src, int srcstep, \
111 for( ; size.height--; src += srcstep, dst += dststep ) \
134 const uchar* src, int srcstep, \
147 for( ; size.height--; src+=srcstep, dst+=dststep ) \
159 for( ; size.height--; src += srcstep, dst += dststep ) \
207 const void* src, int srcstep, void* dst,
Dcxcopy.cpp57 IPCVAPI_IMPL( CvStatus, icvCopy_8u_C1R, ( const uchar* src, int srcstep,
59 (src, srcstep, dst, dststep, size) )
61 for( ; size.height--; src += srcstep, dst += dststep )
153 name,( const type* src, int srcstep, type* dst, int dststep,\
155 (src, srcstep, dst, dststep, size, mask, maskstep)) \
157 srcstep /= sizeof(src[0]); dststep /= sizeof(dst[0]); \
158 for( ; size.height--; src += srcstep, \
807 icvFlipHorz_##flavor( const arrtype* src, int srcstep, \
811 srcstep /= sizeof(src[0]); dststep /= sizeof(dst[0]); \
813 for( ; size.height--; src += srcstep, dst += dststep ) \
[all …]
Dcxsumpixels.cpp685 icv##name##Rows_##flavor##_C1R( const arrtype* src, int srcstep,\
689 srcstep /= sizeof(src[0]); \
696 src += srcstep; \
726 icv##name##Cols_##flavor##_C1R( const arrtype* src, int srcstep, \
730 srcstep /= sizeof(src[0]); \
733 for( ; size.height--; src += srcstep, dst += dststep ) \
766 icv##name##Cols_##flavor##_C3R( const arrtype* src, int srcstep, \
770 srcstep /= sizeof(src[0]); \
773 for( ; size.height--; src += srcstep, dst += dststep ) \
795 icv##name##Cols_##flavor##_C4R( const arrtype* src, int srcstep, \
[all …]
Dcxmatmul.cpp1444 icvTransform_##flavor( const arrtype* src, int srcstep, \
1448 srcstep = srcstep/sizeof(src[0]) - size.width*cn; \
1450 for( ; size.height--; src += srcstep, dst += dststep ) \
1464 icvDiagTransform_##flavor( const arrtype* src, int srcstep, \
1468 srcstep /= sizeof(src[0]); \
1470 for( ; size.height--; src += srcstep, dst += dststep ) \
1555 const void* src, int srcstep,
1560 const void* src, int srcstep,
1565 const void* src, int srcstep,
1587 typedef CvStatus (CV_STDCALL * CvColorTwistIPPFunc)( const void* src, int srcstep,
[all …]
Dcxmatrix.cpp283 srcstep /= sizeof(src[0]); \
287 src += 2*srcstep, dst += 2 ) \
289 const arrtype* src1 = src + srcstep; \
340 srcstep /= sizeof(src[0]); \
343 for( ; size.height--; src+=srcstep, dst+=3 )\
366 srcstep /= sizeof(src[0]); \
369 for( ; size.height--; src+=srcstep, dst+=4 )\
406 icvTranspose_##flavor( const arrtype* src, int srcstep, \
904 #define Sf( y, x ) ((float*)(srcdata + y*srcstep))[x]
905 #define Sd( y, x ) ((double*)(srcdata + y*srcstep))[x]
[all …]
/external/opencv3/modules/core/test/
Dtest_dxt.cpp41 size_t srcstep = esz, dststep = esz; in DFT_1D() local
52 srcstep = _src.step; in DFT_1D()
67 const Complexf* src = (const Complexf*)(src0 + j*srcstep); in DFT_1D()
89 const Complexd* src = (const Complexd*)(src0 + j*srcstep); in DFT_1D()
163 int srcstep = 1, dststep = 1; in DCT_1D() local
173 srcstep = (int)(_src.step/_src.elemSize()); in DCT_1D()
186 for( j = 0; j < n; j++, src += srcstep ) in DCT_1D()
201 for( j = 0; j < n; j++, src += srcstep ) in DCT_1D()
279 int srcstep = cn, dststep = 1; in convertFromCCS() local
285 srcstep = (int)(_src0.step/_src0.elemSize1()); in convertFromCCS()
[all …]
/external/opencv3/modules/imgproc/src/
Dsumpixels.cpp161 int srcstep = (int)(_srcstep/sizeof(T)); in integral_() local
185 for( y = 0; y < size.height; y++, src += srcstep - cn, sum += sumstep - cn ) in integral_()
200 for( y = 0; y < size.height; y++, src += srcstep - cn, in integral_()
253 src += srcstep - cn; in integral_()
316 static void integral_##suffix( T* src, size_t srcstep, ST* sum, size_t sumstep, QT* sqsum, size_t s…
318 { integral_(src, srcstep, sum, sumstep, sqsum, sqsumstep, tilted, tiltedstep, size, cn); }
334 typedef void (*IntegralFunc)(const uchar* src, size_t srcstep, uchar* sum, size_t sumstep,
Ddistransform.cpp81 int srcstep = (int)(_src.step/sizeof(src[0])); in distanceTransform_3x3() local
91 const uchar* s = src + i*srcstep; in distanceTransform_3x3()
155 int srcstep = (int)(_src.step/sizeof(src[0])); in distanceTransform_5x5() local
165 const uchar* s = src + i*srcstep; in distanceTransform_5x5()
247 int srcstep = (int)(_src.step/sizeof(src[0])); in distanceTransformEx_5x5() local
258 const uchar* s = src + i*srcstep; in distanceTransformEx_5x5()
614 int srcstep = (int)src.step; in distanceATS_L1_8u() local
633 sbase += srcstep; in distanceATS_L1_8u()
Daccum.cpp890 int srcstep = (int)src.step, dststep = (int)dst.step, maskstep = (int)mask.step; in accumulate() local
893 srcstep = static_cast<int>(src.total() * src.elemSize()); in accumulate()
902 …status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)… in accumulate()
904 status = ippFuncMask(src.ptr(), srcstep, mask.ptr<Ipp8u>(), maskstep, in accumulate()
973 int srcstep = (int)src.step, dststep = (int)dst.step, maskstep = (int)mask.step; in accumulateSquare() local
976 srcstep = static_cast<int>(src.total() * src.elemSize()); in accumulateSquare()
985 …status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)… in accumulateSquare()
987 status = ippFuncMask(src.ptr(), srcstep, mask.ptr<Ipp8u>(), maskstep, in accumulateSquare()
1147 int srcstep = (int)src.step, dststep = (int)dst.step, maskstep = (int)mask.step; in accumulateWeighted() local
1150 srcstep = static_cast<int>(src.total() * src.elemSize()); in accumulateWeighted()
[all …]
/external/opencv3/modules/imgproc/src/opencl/
Dfilter2DSmall.cl192 __global const uchar* srcptr, int srcstep)
206 __global const uchar* ptr = srcptr + mul24(coord.y, srcstep) +
213 int srcstep, const struct RectCoords srcCoords)
217 __global const uchar* ptr = srcptr + mul24(pos.y, srcstep) +
224 return getBorderPixel(srcCoords, pos, srcptr, srcstep);
250 int srcstep, const struct RectCoords srcCoords)
253 (srcptr + mul24(pos.y, srcstep) +
DfilterSmall.cl171 int srcstep, const struct RectCoords srcCoords)
174 (srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE));
296 __global const uchar * srcptr, int srcstep)
315 __global const uchar* ptr = srcptr + mad24(selected_row, srcstep, selected_col * SRCSIZE);
321 int srcstep, const struct RectCoords srcCoords)
325 __global const uchar * ptr = srcptr + mad24(pos.y, srcstep, pos.x * SRCSIZE);
329 return getBorderPixel(srcCoords, pos, srcptr, srcstep);

12