Home
last modified time | relevance | path

Searched refs:dst_step (Results 1 – 25 of 80) sorted by relevance

1234

/external/opencv/cv/src/
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
126 dst_step /= sizeof(dst[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,
105 uchar* dst, int dst_step, CvSize win_size, CvPoint2D32f center );
108 float* dst, int dst_step, CvSize win_size, CvPoint2D32f center );
111 float* dst, int dst_step, CvSize win_size, CvPoint2D32f center );
115 uchar* dst, int dst_step, CvSize win_size, const float *matrix );
118 float* dst, int dst_step, CvSize win_size, const float *matrix );
121 float* dst, int dst_step, CvSize win_size, const float *matrix );
Dcvmorph.cpp98 static void icvErodeRectCol_8u( const uchar** src, uchar* dst, int dst_step,
100 static void icvErodeRectCol_16u( const ushort** src, ushort* dst, int dst_step,
102 static void icvErodeRectCol_32f( const int** src, int* dst, int dst_step,
104 static void icvDilateRectCol_8u( const uchar** src, uchar* dst, int dst_step,
106 static void icvDilateRectCol_16u( const ushort** src, ushort* dst, int dst_step,
108 static void icvDilateRectCol_32f( const int** src, int* dst, int dst_step,
111 static void icvErodeAny_8u( const uchar** src, uchar* dst, int dst_step,
113 static void icvErodeAny_16u( const ushort** src, ushort* dst, int dst_step,
115 static void icvErodeAny_32f( const int** src, int* dst, int dst_step,
117 static void icvDilateAny_8u( const uchar** src, uchar* dst, int dst_step,
[all …]
Dcvsamplers.cpp149 dsttype* dst, int dst_step, CvSize win_size, CvPoint2D32f center ) \
172 dst_step /= sizeof(dst[0]); \
182 dst, dst_step*sizeof(dst[0]), \
187 dst += dst_step ) \
222 for( i = 0; i < win_size.height; i++, dst += dst_step ) \
268 dsttype* dst, int dst_step, CvSize win_size, CvPoint2D32f center ) \
284 dst_step /= sizeof( dst[0] ); \
293 dst += dst_step ) \
324 for( i = 0; i < win_size.height; i++, dst += dst_step ) \
394 float* dst, int dst_step, CvSize win_size, CvPoint2D32f center ) in icvGetRectSubPix_8u32f_C1R() argument
[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()
58 dst_step /= sizeof(dst[0]); in icvSepConvSmall3_32f()
68 buffer_step = dst_step; in icvSepConvSmall3_32f()
73 assert( src_step >= src_size.width && dst_step >= dst_width ); in icvSepConvSmall3_32f()
87 dst += dst_step, in icvSepConvSmall3_32f()
299 int dst_step = dst->step ? dst->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()
320 ipp_sobel_func_32f ? ipp_sobel_func_32f( src_ptr, src_step, dst_ptr, dst_step, in cvSobel()
322 ipp_scharr_func_8u ? ipp_scharr_func_8u( src_ptr, src_step, dst_ptr, dst_step, in cvSobel()
[all …]
Dcvsmooth.cpp70 static void icvSumCol_32s8u( const int** src, uchar* dst, int dst_step,
72 static void icvSumCol_32s16s( const int** src, short* dst, int dst_step,
74 static void icvSumCol_32s32s( const int** src, int* dst, int dst_step,
76 static void icvSumCol_64f32f( const double** src, float* dst, int dst_step,
244 int dst_step, int count, void* params ) in icvSumCol_32s8u() argument
294 dst += dst_step; in icvSumCol_32s8u()
305 int dst_step, int count, void* params ) in icvSumCol_32s16s() argument
316 dst_step /= sizeof(dst[0]); in icvSumCol_32s16s()
354 dst += dst_step; in icvSumCol_32s16s()
373 dst += dst_step; in icvSumCol_32s16s()
[all …]
/external/opencv3/modules/core/src/opencl/
Dflip.cl53 __global uchar * dstptr, int dst_step, int dst_offset,
63 int dst_index0 = mad24(y0, dst_step, mad24(x, TSIZE, dst_offset));
64 int dst_index1 = mad24(rows - y0 - 1, dst_step, mad24(x, TSIZE, dst_offset));
77 dst_index0 += dst_step;
78 dst_index1 -= dst_step;
84 __global uchar * dstptr, int dst_step, int dst_offset,
94 int dst_index0 = mad24(y0, dst_step, mad24(x, TSIZE, dst_offset));
95 int dst_index1 = mad24(rows - y0 - 1, dst_step, mad24(cols - x - 1, TSIZE, dst_offset));
123 dst_index0 += dst_step;
124 dst_index1 -= dst_step;
[all …]
Drepeat.cl19 __global uchar * dstptr, int dst_step, int dst_offset)
27 int dst_index0 = mad24(y0, dst_step, mad24(x, (int)sizeof(T), dst_offset));
29 …y0, y1 = min(src_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index0 += dst_step)
36 int dst_index = mad24(ey * src_rows, dst_step, dst_index0);
Dfft.cl533 … __global uchar* dst_ptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
573 __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset));
590 __global FT* dst = (__global FT*)(dst_ptr + mad24(y, dst_step, dst_offset));
601 __global CT* dst = (__global CT*)(dst_ptr + mad24(y, dst_step, dst_offset));
603 __global FT* dst = (__global FT*)(dst_ptr + mad24(y, dst_step, dst_offset));
612 … __global uchar* dst_ptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
636 __global uchar* dst = dst_ptr + mad24(y, dst_step, mad24(x, (int)(sizeof(CT)), dst_offset));
639 … *((__global CT*)(dst + i*block_size*dst_step)) = SCALE_VAL(smem[y + i*block_size], scale);
645 __global uchar* dst = dst_ptr + mad24(y+1, dst_step, dst_offset);
646 for (int i=y; i<dst_rows-1; i+=block_size, dst+=dst_step*block_size)
[all …]
Dnormalize.cl32 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols
48 int dst_index = mad24(y0, dst_step, mad24(x, dstTSIZE, dst_offset));
51 ++y, src_index += src_step, dst_index += dst_step, mask_index += mask_step)
/external/opencv/cxcore/src/
Dcxcmp.cpp255 int src1_step, src2_step, src3_step, dst_step; in cvInRange() local
315 src1_step = src2_step = src3_step = dst_step = CV_STUB_STEP; in cvInRange()
323 dst_step = dst->step; in cvInRange()
335 src3->data.ptr, src3_step, dst->data.ptr, dst_step, size )); in cvInRange()
354 int src1_step, dst_step; in cvInRangeS() local
396 src1_step = dst_step = CV_STUB_STEP; in cvInRangeS()
402 dst_step = dst->step; in cvInRangeS()
417 dst_step, size, buf )); in cvInRangeS()
566 int src1_step, src2_step, dst_step; in cvCmp() local
644 src1_step = src2_step = dst_step = CV_STUB_STEP; in cvCmp()
[all …]
Dcxlogic.cpp201 int src_step, dst_step, tdst_step, mask_step; in icvLogicS() local
304 dst_step = dst->step; in icvLogicS()
319 src_step = tdst_step = dst_step = mask_step = CV_STUB_STEP; in icvLogicS()
326 dst_step, tsize, mask->data.ptr + y*mask->step, mask_step )); in icvLogicS()
357 int src1_step, src2_step, tdst_step, dst_step, mask_step; in icvLogic() local
472 dst_step = dst->step; in icvLogic()
486 src1_step = src2_step = tdst_step = dst_step = mask_step = CV_STUB_STEP; in icvLogic()
495 dst_step, tsize, mask->data.ptr + y*mask->step, mask_step )); in icvLogic()
629 int src_step, dst_step; in cvNot() local
679 dst_step = dst->step; in cvNot()
[all …]
Dcxcopy.cpp69 icvSet_8u_C1R( uchar* dst, int dst_step, CvSize size, in icvSet_8u_C1R() argument
88 dst = dst_limit - size.width + dst_step; in icvSet_8u_C1R()
90 for( ; size.height--; dst += dst_step ) in icvSet_8u_C1R()
91 memcpy( dst, dst - dst_step, size.width ); in icvSet_8u_C1R()
425 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()
444 dst->data.ptr, dst_step, size ); in cvCopy()
451 int dst_step = dst->step; in cvCopy() local
468 src_step = dst_step = mask_step = CV_STUB_STEP; in cvCopy()
[all …]
Dcxconvert.cpp450 int src_step, dst_step = 0; in cvSplit() local
492 dst_step = dst[i]->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()
527 dst[nzidx]->data.ptr, dst_step, in cvSplit()
553 int src_step = 0, dst_step; in cvMerge() local
606 dst_step = dst->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()
632 dst->data.ptr, dst_step, in cvMerge()
[all …]
Dcxarithm.cpp285 int src1_step, src2_step, dst_step, tdst_step, mask_step; local
482 dst_step = dst->step;
496 src1_step = src2_step = tdst_step = dst_step = mask_step = CV_STUB_STEP;
512 dst_step, tsize, mask->data.ptr + y*mask->step, mask_step ));
536 int src_step, dst_step, tdst_step, mask_step; in cvSubRS() local
708 dst_step = dst->step; in cvSubRS()
724 src_step = tdst_step = dst_step = mask_step = CV_STUB_STEP; in cvSubRS()
733 dst_step, tsize, mask->data.ptr + y*mask->step, mask_step )); in cvSubRS()
760 int src1_step, src2_step, dst_step, tdst_step, mask_step; in cvAdd() local
954 dst_step = dst->step; in cvAdd()
[all …]
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl134 __global uchar * dstptr, int dst_step, int dst_offset,
143 int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset));
160 dst_index += dst_step;
167 __global uchar * dstptr, int dst_step, int dst_offset,
176 int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dst_offset));
195 dst_index += dst_step;
208 __global uchar* dstptr, int dst_step, int dt_offset,
217 int dst_index = mad24(y, dst_step, mad24(x, dcnbytes, dt_offset));
247 dst_index += dst_step;
258 __global uchar* dstptr, int dst_step, int dt_offset,
[all …]
Dmatch_template.cl145 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols)
174 int dst_idx = mad24(y, dst_step, mad24(x0, (int)sizeof(float), dst_offset));
204 int dst_idx = mad24(y, dst_step, mad24(x0, (int)sizeof(float), dst_offset));
215 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols)
235 int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset));
244 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols,
259 int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset));
269 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols)
291 int dst_idx = mad24(y, dst_step, mad24(x, (int)sizeof(float), dst_offset));
299 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols,
[all …]
Dremap.cl144 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
158 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset));
162 map1_index += map1_step, map2_index += map2_step, dst_index += dst_step)
191 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
201 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset));
206 map_index += map_step, dst_index += dst_step)
231 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
241 int dst_index = mad24(y, dst_step, mad24(x, TSIZE, dst_offset));
246 map_index += map_step, dst_index += dst_step)
271 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
[all …]
Dintegral_sum.cl94 … __global uchar *dst_ptr, int dst_step, int dst_offset, int rows, int cols
116 dst_offset += dst_step;
120 dst = (__global sumT *)(dst_ptr + mad24(x, dst_step, dst_offset));
166 …//int dst_index = dst_offset + dst_step * LOCAL_SUM_COLS * gid + sizeof(sumT) * y + sizeof(sumT) …
167 …int dst_index = mad24(dst_step, LOCAL_SUM_SIZE * gid, mad24((int)sizeof(sumT), y + lid, dst_offset…
178 dst_index += dst_step;
Dresize.cl134 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
163 dstptr + mad24(dy, dst_step, mad24(dx, TSIZE, dst_offset)));
170 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
219 storepix(uval, dstptr + mad24(dy, dst_step, mad24(dx, TSIZE, dst_offset)));
226 … __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols,
240 dstptr + mad24(dy, dst_step, mad24(dx, TSIZE, dst_offset)));
249 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols)
256 int dst_index = mad24(dy, dst_step, dst_offset);
282 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols,
291 int dst_index = mad24(dy, dst_step, dst_offset);
Dcorner.cl96 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols, float k)
107 int dst_x_off = (dst_offset % dst_step) >> 2;
108 int dst_y_off = dst_offset / dst_step;
194 … int dst_index = mad24(dst_step, dst_startY, (int)sizeof(float) * (dst_startX + col - anX));
200 … int dst_index = mad24(dst_step, dst_startY + 1, (int)sizeof(float) * (dst_startX + col - anX));
207 … int dst_index = mad24(dst_step, dst_startY, (int)sizeof(float) * (dst_startX + col - anX));
215 … int dst_index = mad24(dst_step, dst_startY + 1, (int)sizeof(float) * (dst_startX + col - anX));
/external/opencv3/modules/imgproc/src/
Dthresh.cpp57 size_t dst_step = _dst.step; in thresh_8u() local
63 src_step = dst_step = roi.width; in thresh_8u()
80 …if (_src.data == _dst.data && ippiThreshold_GT_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh) >= 0) in thresh_8u()
86 …if (ippiThreshold_GT_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh) >= 0) in thresh_8u()
95 …if (_src.data == _dst.data && ippiThreshold_LTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh+1,… in thresh_8u()
101 …if (ippiThreshold_LTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh+1,… in thresh_8u()
110 …if (_src.data == _dst.data && ippiThreshold_GTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh, 0… in thresh_8u()
116 …if (ippiThreshold_GTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh, 0… in thresh_8u()
176 uchar* dst = _dst.ptr() + dst_step*i; in thresh_8u()
297 uchar* dst = _dst.ptr() + dst_step*i; in thresh_8u()
[all …]
Dsamplers.cpp131 _DTp* dst, size_t dst_step, Size win_size, Point2f center, int cn ) in getRectSubPix_Cn_() argument
156 dst_step /= sizeof(dst[0]); in getRectSubPix_Cn_()
165 for( i = 0; i < win_size.height; i++, src += src_step, dst += dst_step ) in getRectSubPix_Cn_()
188 for( i = 0; i < win_size.height; i++, dst += dst_step ) in getRectSubPix_Cn_()
221 float* dst, size_t dst_step, Size win_size, Point2f center0, int cn ) in getRectSubPix_8u32f() argument
247 dst_step /= sizeof(dst[0]); in getRectSubPix_8u32f()
252 for( ; win_size.height--; src += src_step, dst += dst_step ) in getRectSubPix_8u32f()
266 (src, src_step, src_size, dst, dst_step, win_size, center0, cn ); in getRectSubPix_8u32f()
272 float* dst, size_t dst_step, Size win_size, in getQuadrangleSubPix_8u32f_CnR() argument
280 dst_step /= sizeof(dst[0]); in getQuadrangleSubPix_8u32f_CnR()
[all …]
/external/opencv/cvaux/src/
Dcvlines.cpp125 uchar * dst, int dst_step, CvSize dst_size, CvPoint start, CvPoint end )
132 dst_step < dst_size.width * 3 ||
147 dst += start.y * dst_step + start.x * 3;
151 dst_step = (dst_step ^ i) - i;
168 dst += (dst_step & mask) + 3;
186 dst += dst_step + (mask & 3);
246 int dst_step, /* dest image step */ in icvPostWarpImage8uC3R() argument
262 cvInitMatHeader( &mat, dst_size.height, dst_size.width, CV_8UC3, dst, dst_step ); in icvPostWarpImage8uC3R()
291 dst_step, /* dest image step */ in icvPostWarpImage8uC3R()
/external/opencv3/modules/superres/src/opencl/
Dsuperres_btvl1.cl83 __global uchar * dstptr, int dst_step, int dst_offset, int scale)
91 int dst_index = mad24(y * scale, dst_step, sz * x * scale * cn + dst_offset);
119 __global uchar * dst, int dst_step, int dst_offset, int rows, int cols)
125 *(__global float *)(dst + mad24(y, dst_step, sz * x + dst_offset)) =
131 … __global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols,
152 dst_elem_at(dst, y, dst_step, x) = dstVal;
171 …__global float * dstptr = (__global float *)(dst + mad24(y, dst_step, 3 * sz * x + dst_offset + 0)…

1234