Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 13 of 13) sorted by relevance

/external/opencv/cv/src/
Dcvsamplers.cpp89 CvSize src_size, CvSize win_size, in icvAdjustRect() argument
107 if( ip.x + win_size.width < src_size.width ) in icvAdjustRect()
111 rect.width = src_size.width - ip.x - 1; in icvAdjustRect()
128 if( ip.y + win_size.height < src_size.height ) in icvAdjustRect()
132 rect.height = src_size.height - ip.y - 1; in icvAdjustRect()
148 ( const srctype* src, int src_step, CvSize src_size, \
174 if( 0 <= ip.x && ip.x + win_size.width < src_size.width && \
175 0 <= ip.y && ip.y + win_size.height < src_size.height ) \
220 sizeof(*src), src_size, win_size,ip, &r); \
267 ( const srctype* src, int src_step, CvSize src_size, \
[all …]
D_cvimgproc.h53 CvSize src_size, const float* kx, const float* ky, float* buffer );
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, \
505 int W = src_size.width, H = src_size.height; \
514 buf_size = MAX(src_size.width,src_size.height) * sizeof(buf[0]) * 2 * channels; \
1041 CvSize src_size, src_size2, dst_size; in cvPyrDown() local
1062 src_size = cvGetMatSize(src); in cvPyrDown()
1064 src_size2.width = src_size.width & -2; in cvPyrDown()
1065 src_size2.height = src_size.height & -2; in cvPyrDown()
1067 if( (unsigned)(dst_size.width - src_size.width/2) > 1 || in cvPyrDown()
1068 (unsigned)(dst_size.height - src_size.height/2) > 1 ) in cvPyrDown()
1072 if( (src_size.width <= 2 && dst_size.width != 1) || in cvPyrDown()
[all …]
Dcvderiv.cpp48 CvSize src_size, const float* kx, const float* ky, float* buffer ) in icvSepConvSmall3_32f() argument
53 assert( src && dst && src_size.width > 2 && src_size.height > 2 && in icvSepConvSmall3_32f()
60 dst_width = src_size.width - 2; in icvSepConvSmall3_32f()
67 src_size.width = dst_width; in icvSepConvSmall3_32f()
73 assert( src_step >= src_size.width && dst_step >= dst_width ); in icvSepConvSmall3_32f()
75 src_size.height -= 3; in icvSepConvSmall3_32f()
80 src_size.height += 3; in icvSepConvSmall3_32f()
83 src_size.width = 0; in icvSepConvSmall3_32f()
86 for( y = 0; y <= src_size.height; y++, src += src_step, in icvSepConvSmall3_32f()
92 for( x = 0; x < src_size.width; x++ ) in icvSepConvSmall3_32f()
Dcvpyrsegmentation.cpp1836 CvSize src_size, dst_size; in cvPyrSegmentation() local
1853 cvGetRawData( src, &src_data, &src_step, &src_size ); in cvPyrSegmentation()
1856 if( src_size.width != dst_size.width || in cvPyrSegmentation()
1857 src_size.height != dst_size.height ) in cvPyrSegmentation()
1865 src_size, in cvPyrSegmentation()
1872 src_size, in cvPyrSegmentation()
Dcvlkpyramid.cpp227 CvSize src_size, const float* smooth_k, float* buffer0 ) in icvCalcIxIy_32f() argument
229 int src_width = src_size.width, dst_width = src_size.width-2; in icvCalcIxIy_32f()
230 int x, height = src_size.height - 2; in icvCalcIxIy_32f()
/external/chromium/base/allocator/
Dallocator_unittests.cc417 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
419 unsigned char* src = reinterpret_cast<unsigned char*>(malloc(src_size)); in TEST()
420 Fill(src, src_size); in TEST()
423 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST()
467 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
470 reinterpret_cast<unsigned char*>(_recalloc(NULL, 1, src_size)); in TEST()
471 EXPECT_TRUE(IsZeroed(src, src_size)); in TEST()
472 Fill(src, src_size); in TEST()
475 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST()
/external/opencv/cvaux/src/
Dcvlines.cpp46 uchar * dst, int *dst_num, CvSize src_size, CvPoint start, CvPoint end )
52 if( !src || !dst || (src_size.width | src_size.height) < 0 ||
53 src_step < src_size.width * 3 ||
54 (unsigned) start.x >= (unsigned) src_size.width ||
55 (unsigned) start.y >= (unsigned) src_size.height ||
56 (unsigned) end.x >= (unsigned) src_size.width ||
57 (unsigned) end.y >= (unsigned) src_size.height )
201 CvSize src_size, /* image size in pixels */ in icvPreWarpImage8uC3R() argument
214 cvInitMatHeader( &mat, src_size.height, src_size.width, CV_8UC3, src, src_step ); in icvPreWarpImage8uC3R()
D_cvvm.h110 CvSize src_size,
Dcvepilines.cpp2112 CvSize src_size ; in icvCreateIsometricImage() local
2113 src_size.width = src->width; in icvCreateIsometricImage()
2114 src_size.height = src->height; in icvCreateIsometricImage()
2116 CvSize dst_size = src_size; in icvCreateIsometricImage()
2126 dst_size.width != src_size.width || in icvCreateIsometricImage()
2130 dst = cvCreateImage( src_size, desired_depth, desired_num_channels ); in icvCreateIsometricImage()
2131 CvRect rect = cvRect(0,0,src_size.width,src_size.height); in icvCreateIsometricImage()
/external/stlport/src/c_locale_win32/
Dc_wlocale_win32.c223 const wchar_t* src, size_t src_size) { in _WLocale_strxfrm() argument
227 if (src_size > INT_MAX) { in _WLocale_strxfrm()
229 _STLP_WCSNCPY(dst, dst_size, src, src_size); in _WLocale_strxfrm()
231 return src_size; in _WLocale_strxfrm()
236 result = LCMapStringW(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size); in _WLocale_strxfrm()
Dc_locale_win32.c1124 const char* src, size_t src_size) { in _Locale_strxfrm() argument
1130 if (src_size > INT_MAX) { in _Locale_strxfrm()
1132 _STLP_STRNCPY(dst, dst_size, src, src_size); in _Locale_strxfrm()
1134 return src_size; in _Locale_strxfrm()
1142 result = LCMapStringA(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size); in _Locale_strxfrm()
1146 buf = __ConvertToCP(atoi(lcol->cp), __GetDefaultCP(lcol->lc.id), src, src_size, &size); in _Locale_strxfrm()
/external/qemu/
Dthunk.c193 int array_length, i, dst_size, src_size; in thunk_convert() local
199 src_size = thunk_type_size(type_ptr, 1 - to_host); in thunk_convert()
205 s += src_size; in thunk_convert()