Lines Matching refs:p1
69 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument
70 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
71 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
74 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument
75 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
76 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
79 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
80 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
81 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
99 float4 p1 = cubicInterpolate(convert_float4(yp1[xs0]), in OneBiCubic() local
114 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
134 float2 p1 = cubicInterpolate(convert_float2(yp1[xs0]), in OneBiCubic() local
149 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
166 float p1 = cubicInterpolate((float)yp1[xs0], (float)yp1[xs1], in OneBiCubic() local
173 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()