Home | History | Annotate | Download | only in src

Lines Matching refs:srcroi

111 icvCopyReplicateBorder_8u( const uchar* src, int srcstep, CvSize srcroi,
132 return ifunc( src, srcstep, srcroi, dstroi, top, left );
147 return func( src, srcstep, srcroi, dst, dststep, dstroi, top, left );
159 srcroi.width *= cn;
166 for( j = 0; j < srcroi.width; j++ )
170 for( j = left+srcroi.width; j < dstroi.width; j++ )
172 if( i >= top && i < top + srcroi.height - 1 )
178 srcroi.width *= cn;
185 for( j = 0; j < srcroi.width; j++ )
189 for( j = left+srcroi.width; j < dstroi.width; j++ )
191 if( i >= top && i < top + srcroi.height - 1 )
201 icvCopyReflect101Border_8u( const uchar* src, int srcstep, CvSize srcroi,
219 srcroi.width *= cn;
223 tab_size = dstroi.width - srcroi.width;
226 if( srcroi.width == 1 )
239 if( (unsigned)(j += dj) >= (unsigned)srcroi.width )
243 j = srcroi.width - cn*2;
249 if( (unsigned)(j += dj) >= (unsigned)srcroi.width )
257 for( i = 0; i < srcroi.height; i++, isrc += srcstep, idst += dststep )
260 for( j = 0; j < srcroi.width; j++ )
270 idst[j + srcroi.width] = idst[k];
273 isrc -= srcroi.height*srcstep;
274 idst -= (top - srcroi.height)*dststep;
279 for( i = 0; i < srcroi.height; i++, src += srcstep, dst += dststep )
282 for( j = 0; j < srcroi.width; j++ )
292 dst[j + srcroi.width] = dst[k];
295 src -= srcroi.height*srcstep;
296 dst -= (top - srcroi.height)*dststep;
305 i1 = top+srcroi.height, i2=dstroi.height, di = 1, j = srcroi.height-2, dj = -1;
324 if( (unsigned)(j += dj) >= (unsigned)srcroi.height )
334 icvCopyConstBorder_8u( const uchar* src, int srcstep, CvSize srcroi,
351 srcroi.width *= cn;
367 if( i < top || i >= top + srcroi.height )
388 for( j = srcroi.width + left; j < dstroi.width; j++ )
397 for( j = srcroi.width + left; j < dstroi.width; j += cn )
403 for( j = 0; j < srcroi.width; j++ )
412 srcroi.width *= cn;
428 if( i < top || i >= top + srcroi.height )
449 for( j = srcroi.width + left; j < dstroi.width; j++ )
458 for( j = srcroi.width + left; j < dstroi.width; j += cn )
464 for( j = 0; j < srcroi.width; j++ )