Lines Matching defs:ip
90 CvPoint ip, CvRect* pRect )
95 if( ip.x >= 0 )
97 src += ip.x*pix_size;
102 rect.x = -ip.x;
107 if( ip.x + win_size.width < src_size.width )
111 rect.width = src_size.width - ip.x - 1;
120 if( ip.y >= 0 )
122 src += ip.y * src_step;
126 rect.y = -ip.y;
128 if( ip.y + win_size.height < src_size.height )
132 rect.height = src_size.height - ip.y - 1;
151 CvPoint ip; \
159 ip.x = cvFloor( center.x ); \
160 ip.y = cvFloor( center.y ); \
162 a = center.x - ip.x; \
163 b = center.y - ip.y; \
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 ) \
178 src += ip.y * src_step + ip.x; \
220 sizeof(*src), src_size, win_size,ip, &r); \
270 CvPoint ip; \
277 ip.x = cvFloor( center.x ); \
278 ip.y = cvFloor( center.y ); \
280 a = scale_macro( center.x - ip.x ); \
281 b = scale_macro( center.y - ip.y ); \
286 if( 0 <= ip.x && ip.x + win_size.width < src_size.width && \
287 0 <= ip.y && ip.y + win_size.height < src_size.height ) \
290 src += ip.y * src_step + ip.x*3; \
322 sizeof(*src)*3, src_size, win_size, ip, &r ); \
396 CvPoint ip;
405 ip.x = cvFloor( center.x );
406 ip.y = cvFloor( center.y );
411 a = center.x - ip.x;
412 b = center.y - ip.y;
423 if( 0 <= ip.x && ip.x + win_size.width < src_size.width &&
424 0 <= ip.y && ip.y + win_size.height < src_size.height )
427 src += ip.y * src_step + ip.x;
452 sizeof(*src), src_size, win_size,ip, &r);