Lines Matching defs:dsize

125                      uchar* dst, int dststep, CvSize dsize, int pix_size )
127 int* x_ofs = (int*)cvStackAlloc( dsize.width * sizeof(x_ofs[0]) );
131 for( x = 0; x < dsize.width; x++ )
133 t = (ssize.width*x*2 + MIN(ssize.width, dsize.width) - 1)/(dsize.width*2);
138 for( y = 0; y < dsize.height; y++, dst += dststep )
141 t = (ssize.height*y*2 + MIN(ssize.height, dsize.height) - 1)/(dsize.height*2);
148 for( x = 0; x <= dsize.width - 2; x += 2 )
157 for( ; x < dsize.width; x++ )
161 for( x = 0; x < dsize.width; x++ )
165 for( x = 0; x < dsize.width; x++ )
172 for( x = 0; x < dsize.width; x++ )
176 for( x = 0; x < dsize.width; x++ )
184 for( x = 0; x < dsize.width; x++ )
209 arrtype* dst, int dststep, CvSize dsize, \
220 dsize.width *= cn; \
223 for( dy = 0; dy < dsize.height; dy++, dst += dststep ) \
245 memcpy( buf1, buf0, dsize.width*sizeof(buf0[0]) ); \
258 for( ; dx < dsize.width; dx++ ) \
266 for( dx = 0; dx < dsize.width; dx++ ) \
269 for( dx = 0; dx < dsize.width; dx++ ) \
289 arrtype* dst, int dststep, CvSize dsize, int cn, \
293 int scale_x = ssize.width/dsize.width; \
294 int scale_y = ssize.height/dsize.height; \
300 dsize.width *= cn; \
302 for( dy = 0; dy < dsize.height; dy++, dst += dststep ) \
303 for( dx = 0; dx < dsize.width; dx++ ) \
325 arrtype* dst, int dststep, CvSize dsize, \
330 float scale_y = (float)ssize.height/dsize.height; \
334 dsize.width *= cn; \
386 for( dx = 0; dx < dsize.width; dx++ ) \
392 for( dx = 0; dx < dsize.width; dx++ ) \
402 for( dx = 0; dx < dsize.width; dx += 2 ) \
419 arrtype* dst, int dststep, CvSize dsize, \
423 float scale_y = (float)ssize.height/dsize.height; \
428 dsize.width *= cn; \
433 for( dy = 0; dy < dsize.height; dy++, dst += dststep ) \
463 memcpy( row, buf[k-1], dsize.width*sizeof(row[0]) ); \
496 for( ; dx < dsize.width; dx++ ) \
514 memcpy( buf[k1], row, dsize.width*sizeof(row[0])); \
527 for( dx = 0; dx < dsize.width; dx++ ) \
582 void* dst, int dststep, CvSize dsize,
588 void* dst, int dststep, CvSize dsize,
594 void* dst, int dststep, CvSize dsize,
599 void* dst, int dststep, CvSize dsize,
636 CvSize ssize, dsize;
660 dsize = cvGetMatSize( dst );
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 )
692 dst->data.ptr, dststep, dsize,
693 (double)dsize.width/ssize.width,
694 (double)dsize.height/ssize.height, 1 << method ));
702 dst->data.ptr, dst->step, dsize,
708 ssize.width >= dsize.width && ssize.height >= dsize.height )
719 int* ofs = (int*)cvStackAlloc( (area + dsize.width*cn)*sizeof(int) );
730 for( dx = 0; dx < dsize.width; dx++ )
738 dst->step, dsize, cn, ofs, xofs ));
742 int buf_len = dsize.width*cn + 4, buf_size, xofs_count = 0;
759 for( dx = 0, k = 0; dx < dsize.width; dx++ )
797 dst->step, dsize, cn, xofs, xofs_count, buf, sum ));
804 float inv_scale_x = (float)dsize.width/ssize.width;
805 float inv_scale_y = (float)dsize.height/ssize.height;
806 int xmax = dsize.width, width = dsize.width*cn, buf_size;
816 buf_size = width*2*sizeof(float) + (width + dsize.height)*sizeof(CvResizeAlpha);
825 for( dx = 0; dx < dsize.width; dx++ )
846 if( xmax >= dsize.width )
859 for( dy = 0; dy < dsize.height; dy++ )
884 dst->step, dsize, cn, xmax, xofs, yofs, buf0, buf1 ));
889 int width = dsize.width*cn, buf_size;
890 int xmin = dsize.width, xmax = -1;
910 for( dx = 0; dx < dsize.width; dx++ )
937 dst->step, dsize, cn, xmin, xmax, xofs, buf ));
957 arrtype* dst, int dststep, CvSize dsize, \
968 for( y = 0; y < dsize.height; y++, dst += dststep ) \
973 for( x = 0; x < dsize.width; x++ ) \
1044 void* dst, int dststep, CvSize dsize,
1093 CvSize ssize, dsize;
1133 dsize = cvGetMatSize(dst);
1135 if( icvWarpAffineBack_8u_C1R_p && MIN( ssize.width, dsize.width ) >= 4 &&
1136 MIN( ssize.height, dsize.height ) >= 4 )
1151 CvRect dstroi = {0, 0, dsize.width, dsize.height};
1179 dst->step, dsize, dst_matrix, cn,
1229 arrtype* dst, int dststep, CvSize dsize, \
1241 for( y = 0; y < dsize.height; y++, dst += dststep ) \
1247 for( x = 0; x < dsize.width; x++, xs0 += A11, ys0 += A21, ws += A31 )\
1314 void* dst, int dststep, CvSize dsize,
1368 CvSize ssize, dsize;
1405 dsize = cvGetMatSize(dst);
1418 MIN(ssize.width,ssize.height) >= 4 && MIN(dsize.width,dsize.height) >= 4 )
1424 CvRect dstroi = {0, 0, dsize.width, dsize.height};
1466 dst->step, dsize, dst_matrix, cn,
1611 arrtype* dst, int dststep, CvSize dsize, \
1625 for( i = 0; i < dsize.height; i++, dst += dststep, \
1628 for( j = 0; j < dsize.width; j++ ) \
1660 arrtype* dst, int dststep, CvSize dsize, \
1674 for( i = 0; i < dsize.height; i++, dst += dststep, \
1677 for( j = 0; j < dsize.width; j++ ) \
1747 void* dst, int dststep, CvSize dsize,
1993 CvSize ssize, dsize;
2034 dsize = cvGetMatSize(dst);
2073 dst->data.ptr, dststep, dsize,
2089 func( src->data.ptr, src->step, ssize, dst->data.ptr, dst->step, dsize,
2159 CvSize ssize, dsize;
2171 dsize = cvGetMatSize(dst);
2173 CV_CALL( mapx = cvCreateMat( dsize.height, dsize.width, CV_32F ));
2174 CV_CALL( mapy = cvCreateMat( dsize.height, dsize.width, CV_32F ));
2180 CV_CALL( exp_tab = (double*)cvAlloc( dsize.width*sizeof(exp_tab[0])) );
2185 for( phi = 0; phi < dsize.height; phi++ )
2187 double cp = cos(phi*2*CV_PI/dsize.height);
2188 double sp = sin(phi*2*CV_PI/dsize.height);
2192 for( rho = 0; rho < dsize.width; rho++ )
2209 CV_CALL( buf = (float*)cvAlloc( 4*dsize.width*sizeof(buf[0]) ));
2211 bufx = cvMat( 1, dsize.width, CV_32F, buf );
2212 bufy = cvMat( 1, dsize.width, CV_32F, buf + dsize.width );
2213 bufp = cvMat( 1, dsize.width, CV_32F, buf + dsize.width*2 );
2214 bufa = cvMat( 1, dsize.width, CV_32F, buf + dsize.width*3 );
2216 for( x = 0; x < dsize.width; x++ )
2219 for( y = 0; y < dsize.height; y++ )
2224 for( x = 0; x < dsize.width; x++ )
2230 for( x = 0; x < dsize.width; x++ )
2235 for( x = 0; x < dsize.width; x++ )
2244 for( x = 0; x < dsize.width; x++ )