Home | History | Annotate | Download | only in src

Lines Matching defs:scale_x

293     int scale_x = ssize.width/dsize.width;                                      \
295 int area = scale_x*scale_y; \
296 float scale = 1.f/(scale_x*scale_y); \
637 float scale_x, scale_y;
664 scale_x = (float)ssize.width/dsize.width;
710 // "area" method for (scale_x > 1 & scale_y > 1)
711 int iscale_x = cvRound(scale_x);
714 if( fabs(scale_x - iscale_x) < DBL_EPSILON &&
743 float scale = 1.f/(scale_x*scale_y);
761 float fsx1 = dx*scale_x, fsx2 = fsx1 + scale_x;
800 else // true "area" method for the cases (scale_x > 1 & scale_y < 1) and
801 // (scale_x < 1 & scale_y > 1) is not implemented.
829 fx = (float)((dx+0.5)*scale_x - 0.5);
835 sx = cvFloor(dx*scale_x);
912 float fx = dx*scale_x;