Lines Matching defs:dst
45 icvThresh_8u_C1R( const uchar* src, int src_step, uchar* dst, int dst_step,
87 for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
94 dst[j] = t0;
95 dst[j+1] = t1;
100 dst[j+2] = t0;
101 dst[j+3] = t1;
105 dst[j] = tab[src[j]];
113 icvThresh_32f_C1R( const float *src, int src_step, float *dst, int dst_step,
118 int* idst = (int*)dst;
126 dst_step /= sizeof(dst[0]);
153 for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step )
161 dst[j] = temp;
308 CvMat dst_stub, *dst = (CvMat*)dstarr;
315 CV_CALL( dst = cvGetMat( dst, &dst_stub, &coi2 ));
320 if( !CV_ARE_CNS_EQ( src, dst ) )
327 dst = cvReshape( dst, &dst0, 1 );
348 if( !CV_ARE_DEPTHS_EQ( src, dst ) )
350 if( CV_MAT_TYPE(dst->type) != CV_8UC1 )
360 CV_CALL( cvSetZero( dst ));
364 CV_CALL( cvCmpS( src, thresh, dst, type == CV_THRESH_BINARY ? CV_CMP_GT : CV_CMP_LE ));
366 CV_CALL( cvAndS( dst, cvScalarAll( maxval ), dst ));
371 if( !CV_ARE_SIZES_EQ( src, dst ) )
375 if( CV_IS_MAT_CONT( src->type & dst->type ))
384 dst_step = dst->step;
407 cvSet( dst, cvScalarAll(v) );
412 cvCopy( src, dst );
422 (uchar)ithresh, dst->data.ptr, dst_step, roi,
426 IPPI_CALL( icvAndC_8u_C1R_p( dst->data.ptr, dst_step,
427 (uchar)imaxval, dst->data.ptr, dst_step, roi ));
436 dst->data.ptr, dst_step, roi, (uchar)ithresh,
449 dst->data.ptr, dst_step, roi, (uchar)ithresh, 0 ));
455 dst->data.ptr, dst_step, roi,
465 dst->data.fl, dst_step, roi, (float)thresh,
475 dst->data.fl, dst_step, roi, (float)(thresh*(1 + FLT_EPSILON)), 0 ));
480 icvThresh_32f_C1R( src->data.fl, src_step, dst->data.fl, dst_step, roi,