Lines Matching refs:poly
275 double4 *poly = NULL; /* poly[s][4]: fixed interpolation polynomials */ in interpolate_cubic() local
284 SAFE_CALLOC(poly, s, double4); in interpolate_cubic()
307 poly[k][0] = 0.5 * t * (t-1) * (1-t); in interpolate_cubic()
308 poly[k][1] = -(t+1) * (t-1) * (1-t) + 0.5 * (t-1) * (t-2) * t; in interpolate_cubic()
309 poly[k][2] = 0.5 * (t+1) * t * (1-t) - t * (t-2) * t; in interpolate_cubic()
310 poly[k][3] = 0.5 * t * (t-1) * t; in interpolate_cubic()
323 window[k][i] += poly[k][j] * p[j]; in interpolate_cubic()
332 v += window[k][i] * poly[l][i]; in interpolate_cubic()
357 window[k][i] += poly[k][j] * p[j]; in interpolate_cubic()
363 free(poly); in interpolate_cubic()
373 free(poly); in interpolate_cubic()