Home | History | Annotate | Download | only in src

Lines Matching defs:sx

252                 int sx = xofs[dx].idx;                                          \
254 worktype t = _src[sx]; \
255 _buf[dx] = mul_one_macro(t) + fx*(_src[sx+cn] - t); \
424 int dx, dy, sx, sy, sy2, ify; \
470 sx = sx0 + cn*2; \
471 while( sx >= ssize.width ) \
472 sx -= cn; \
473 x = load_macro(_src[sx]); \
475 if( (unsigned)(sx = sx0 + cn) < (unsigned)ssize.width ) \
476 x = load_macro(_src[sx]); \
478 if( (unsigned)(sx = sx0) < (unsigned)ssize.width ) \
479 x = load_macro(_src[sx]); \
481 if( (unsigned)(sx = sx0 - cn) < (unsigned)ssize.width ) \
482 x = load_macro(_src[sx]); \
501 if( (unsigned)(sx = sx0) < (unsigned)ssize.width ) \
502 x = load_macro(_src[sx]); \
504 if( (unsigned)(sx = sx0 + cn) < (unsigned)ssize.width ) \
505 x = load_macro(_src[sx]); \
507 if( (unsigned)(sx = sx0 + cn*2) < (unsigned)ssize.width ) \
508 x = load_macro(_src[sx]); \
638 int k, sx, sy, dx, dy;
727 for( sx = 0; sx < iscale_x; sx++ )
728 ofs[k++] = sy*srcstep + sx*cn;
732 sx = dx*iscale_x*cn;
734 xofs[dx*cn + k] = sx + k;
774 for( sx = sx1; sx < sx2; sx++ )
778 xofs[k].si = sx*cn;
830 sx = cvFloor(fx);
831 fx -= sx;
835 sx = cvFloor(dx*scale_x);
836 fx = (dx+1) - (sx+1)*inv_scale_x;
840 if( sx < 0 )
841 fx = 0, sx = 0;
843 if( sx >= ssize.width-1 )
845 fx = 0, sx = ssize.width-1;
851 for( k = 0, sx *= cn; k < cn; k++ )
852 xofs[dx*cn + k].idx = sx + k, xofs[dx*cn + k].alpha = fx;
854 for( k = 0, sx *= cn; k < cn; k++ )
855 xofs[dx*cn + k].idx = sx + k,
913 sx = cvFloor(fx);
914 fx -= sx;
916 if( sx-1 >= 0 && xmin > dx )
918 if( sx+2 < ssize.width )
924 if( sx < -2 )
925 sx = -2;
926 else if( sx > ssize.width )
927 sx = ssize.width;
931 xofs[dx*cn + k].idx = sx*cn + k;