Lines Matching defs:ssize
55 #define ICV_WARP_CLIP_X(x) ((unsigned)(x) < (unsigned)ssize.width ? \
56 (x) : (x) < 0 ? 0 : ssize.width - 1)
57 #define ICV_WARP_CLIP_Y(y) ((unsigned)(y) < (unsigned)ssize.height ? \
58 (y) : (y) < 0 ? 0 : ssize.height - 1)
124 icvResize_NN_8u_C1R( const uchar* src, int srcstep, CvSize ssize,
133 t = (ssize.width*x*2 + MIN(ssize.width, dsize.width) - 1)/(dsize.width*2);
134 t -= t >= ssize.width;
141 t = (ssize.height*y*2 + MIN(ssize.height, dsize.height) - 1)/(dsize.height*2);
142 t -= t >= ssize.height;
208 icvResize_Bilinear_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize,\
226 int sy0 = yofs[dy].idx, sy1 = sy0 + (fy > 0 && sy0 < ssize.height-1); \
288 icvResize_AreaFast_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize,\
293 int scale_x = ssize.width/dsize.width; \
294 int scale_y = ssize.height/dsize.height; \
324 icvResize_Area_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize, \
330 float scale_y = (float)ssize.height/dsize.height; \
336 for( sy = 0; sy < ssize.height; sy++, src += srcstep ) \
380 if( (cur_dy + 1)*scale_y <= sy + 1 || sy == ssize.height - 1 ) \
418 icvResize_Bicubic_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize,\
423 float scale_y = (float)ssize.height/dsize.height; \
429 ssize.width *= cn; \
460 if( sy >= ssize.height ) \
471 while( sx >= ssize.width ) \
475 if( (unsigned)(sx = sx0 + cn) < (unsigned)ssize.width ) \
478 if( (unsigned)(sx = sx0) < (unsigned)ssize.width ) \
481 if( (unsigned)(sx = sx0 - cn) < (unsigned)ssize.width ) \
501 if( (unsigned)(sx = sx0) < (unsigned)ssize.width ) \
504 if( (unsigned)(sx = sx0 + cn) < (unsigned)ssize.width ) \
507 if( (unsigned)(sx = sx0 + cn*2) < (unsigned)ssize.width ) \
581 ( const void* src, int srcstep, CvSize ssize,
587 ( const void* src, int srcstep, CvSize ssize,
593 ( const void* src, int srcstep, CvSize ssize,
598 ( const void* src, int srcstep, CvSize ssize,
636 CvSize ssize, dsize;
659 ssize = cvGetMatSize( src );
664 scale_x = (float)ssize.width/dsize.width;
665 scale_y = (float)ssize.height/dsize.height;
668 (MIN(ssize.width, dsize.width) <= 4 ||
669 MIN(ssize.height, dsize.height) <= 4) )
673 MIN(ssize.width, dsize.width) > 4 &&
674 MIN(ssize.height, dsize.height) > 4 )
690 IPPI_CALL( ipp_func( src->data.ptr, ssize, srcstep,
691 cvRect(0,0,ssize.width,ssize.height),
693 (double)dsize.width/ssize.width,
694 (double)dsize.height/ssize.height, 1 << method ));
701 IPPI_CALL( icvResize_NN_8u_C1R( src->data.ptr, src->step, ssize,
708 ssize.width >= dsize.width && ssize.height >= dsize.height )
737 IPPI_CALL( func( src->data.ptr, src->step, ssize, dst->data.ptr,
751 buf_size = buf_len*2*sizeof(float) + ssize.width*2*sizeof(CvDecimateAlpha);
764 assert( (unsigned)sx1 < (unsigned)ssize.width );
768 assert( k < ssize.width*2 );
776 assert( k < ssize.width*2 );
784 assert( k < ssize.width*2 );
785 assert((unsigned)sx2 < (unsigned)ssize.width );
796 IPPI_CALL( func( src->data.ptr, src->step, ssize, dst->data.ptr,
804 float inv_scale_x = (float)dsize.width/ssize.width;
805 float inv_scale_y = (float)dsize.height/ssize.height;
843 if( sx >= ssize.width-1 )
845 fx = 0, sx = ssize.width-1;
883 IPPI_CALL( func( src->data.ptr, src->step, ssize, dst->data.ptr,
918 if( sx+2 < ssize.width )
926 else if( sx > ssize.width )
927 sx = ssize.width;
936 IPPI_CALL( func( src->data.ptr, src->step, ssize, dst->data.ptr,
956 const arrtype* src, int step, CvSize ssize, \
983 if( (unsigned)ixs < (unsigned)(ssize.width - 1) && \
984 (unsigned)iys < (unsigned)(ssize.height - 1) ) \
998 else if( (unsigned)(ixs+1) < (unsigned)(ssize.width+1) && \
999 (unsigned)(iys+1) < (unsigned)(ssize.height+1)) \
1043 const void* src, int srcstep, CvSize ssize,
1093 CvSize ssize, dsize;
1132 ssize = cvGetMatSize(src);
1135 if( icvWarpAffineBack_8u_C1R_p && MIN( ssize.width, dsize.width ) >= 4 &&
1136 MIN( ssize.height, dsize.height ) >= 4 )
1150 CvRect srcroi = {0, 0, ssize.width, ssize.height};
1157 if( ipp_func( src->data.ptr, ssize, srcstep, srcroi,
1178 IPPI_CALL( func( src->data.ptr, src->step, ssize, dst->data.ptr,
1228 const arrtype* src, int step, CvSize ssize, \
1258 if( (unsigned)ixs < (unsigned)(ssize.width - 1) && \
1259 (unsigned)iys < (unsigned)(ssize.height - 1) ) \
1273 else if( (unsigned)(ixs+1) < (unsigned)(ssize.width+1) && \
1274 (unsigned)(iys+1) < (unsigned)(ssize.height+1)) \
1313 const void* src, int srcstep, CvSize ssize,
1368 CvSize ssize, dsize;
1404 ssize = cvGetMatSize(src);
1418 MIN(ssize.width,ssize.height) >= 4 && MIN(dsize.width,dsize.height) >= 4 )
1423 CvRect srcroi = {0, 0, ssize.width, ssize.height};
1430 status = ipp_func( src->data.ptr, ssize, srcstep, srcroi,
1448 status = ipp_func( src->data.ptr, ssize, srcstep, srcroi,
1465 IPPI_CALL( func( src->data.ptr, src->step, ssize, dst->data.ptr,
1610 icvRemap_Bilinear_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize,\
1617 ssize.width--; \
1618 ssize.height--; \
1633 if( (unsigned)ix < (unsigned)ssize.width && \
1634 (unsigned)iy < (unsigned)ssize.height ) \
1659 icvRemap_Bicubic_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize, \
1666 ssize.width = MAX( ssize.width - 3, 0 ); \
1667 ssize.height = MAX( ssize.height - 3, 0 ); \
1686 if( (unsigned)(ix-1) < (unsigned)ssize.width && \
1687 (unsigned)(iy-1) < (unsigned)ssize.height ) \
1746 const void* src, int srcstep, CvSize ssize,
1993 CvSize ssize, dsize;
2033 ssize = cvGetMatSize(src);
2065 CvRect srcroi = {0, 0, ssize.width, ssize.height};
2071 status = ipp_func( src->data.ptr, ssize, srcstep, srcroi,
2089 func( src->data.ptr, src->step, ssize, dst->data.ptr, dst->step, dsize,
2159 CvSize ssize, dsize;
2170 ssize = cvGetMatSize(src);
2207 double ascale = (ssize.width-1)/(2*CV_PI);