Lines Matching refs:p0
78 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument
79 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
80 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
83 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument
84 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
85 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
89 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
90 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
103 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]), in OneBiCubic() local
123 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
138 float2 p0 = cubicInterpolate(convert_float2(yp0[xs0]), in OneBiCubic() local
158 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
173 float p0 = cubicInterpolate((float)yp0[xs0], (float)yp0[xs1], in OneBiCubic() local
182 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
254 float4 p0 = cubicInterpolate(yp0[xs0], yp0[xs1], in OneBiCubic() local
263 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
277 float2 p0 = cubicInterpolate(yp0[xs0], yp0[xs1], in OneBiCubic() local
286 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
300 float p0 = cubicInterpolate(yp0[xs0], yp0[xs1], in OneBiCubic() local
309 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()