Lines Matching defs:npoints
367 int pos, int npoints)
369 if (npoints) {
370 points[0] = (x0 * pos + x1 * (npoints - pos) + (npoints >> 1)) / npoints;
371 points[1] = (y0 * pos + y1 * (npoints - pos) + (npoints >> 1)) / npoints;
403 int npoints = FFMAX(FFABS(x1 - x0), FFABS(y1 - y0));
406 for (ipoint = 0; ipoint <= npoints; ipoint++) {
410 interp_point(point, x0, y0, x1, y1, ipoint, npoints);