Home | History | Annotate | Download | only in src

Lines Matching defs:sx2

2681         int sx1 = cvCeil(fsx1), sx2 = cvFloor(fsx2);
2683 sx2 = std::min(sx2, ssize - 1);
2684 sx1 = std::min(sx1, sx2);
2694 for(int sx = sx1; sx < sx2; sx++ )
2702 if( fsx2 - sx2 > 1e-3 )
2706 tab[k].si = sx2 * cn;
2707 tab[k++].alpha = (float)(std::min(std::min(fsx2 - sx2, 1.), cellWidth) / cellWidth);
2854 int sx1 = cvCeil(fsx1), sx2 = cvFloor(fsx2);
2856 sx2 = std::min(sx2, ssize - 1);
2857 sx1 = std::min(sx1, sx2);
2865 for (int sx = sx1; sx < sx2; sx++)
2871 if (fsx2 - sx2 > 1e-3)
2873 map_tab[k] = sx2;
2874 alpha_tab[k++] = (float)(std::min(std::min(fsx2 - sx2, 1.), cellWidth) / cellWidth);