Lines Matching refs:p1
78 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) {
79 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
80 + x * (3.f * (p1 - p2) + p3 - p0)));
83 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) {
84 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
85 + x * (3.f * (p1 - p2) + p3 - p0)));
88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) {
89 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
90 + x * (3.f * (p1 - p2) + p3 - p0)));
108 float4 p1 = cubicInterpolate(convert_float4(yp1[xs0]),
123 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
143 float2 p1 = cubicInterpolate(convert_float2(yp1[xs0]),
158 float2 p = cubicInterpolate(p0, p1, p2, p3, yf);
175 float p1 = cubicInterpolate((float)yp1[xs0], (float)yp1[xs1],
182 float p = cubicInterpolate(p0, p1, p2, p3, yf);
256 float4 p1 = cubicInterpolate(yp1[xs0], yp1[xs1],
263 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
279 float2 p1 = cubicInterpolate(yp1[xs0], yp1[xs1],
286 float2 p = cubicInterpolate(p0, p1, p2, p3, yf);
302 float p1 = cubicInterpolate(yp1[xs0], yp1[xs1],
309 float p = cubicInterpolate(p0, p1, p2, p3, yf);