Lines Matching refs:p0
71 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument
72 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
73 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
76 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument
77 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
78 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
81 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
82 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
83 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
96 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]), in OneBiCubic() local
116 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
131 float2 p0 = cubicInterpolate(convert_float2(yp0[xs0]), in OneBiCubic() local
151 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
166 float p0 = cubicInterpolate((float)yp0[xs0], (float)yp0[xs1], in OneBiCubic() local
175 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
247 float4 p0 = cubicInterpolate(yp0[xs0], yp0[xs1], in OneBiCubic() local
256 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
270 float2 p0 = cubicInterpolate(yp0[xs0], yp0[xs1], in OneBiCubic() local
279 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
293 float p0 = cubicInterpolate(yp0[xs0], yp0[xs1], in OneBiCubic() local
302 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()