Lines Matching refs:p3

76 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 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 float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 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()
88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
90 _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(4.f), _mm_set1_ps(p2),_mm_set1_ps(p3))) in cubicInterpolate()
91 …+ x * (_mm_cvtss_f32(_mm_fmadd_ss (_mm_set1_ps(3.f),_mm_set1_ps(p1 - p2),_mm_set1_ps(p3 - p0)))))); in cubicInterpolate()
95 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
96 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
97 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
126 float4 p3 = cubicInterpolate(convert_float4(yp3[xs0]), in OneBiCubic() local
131 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
161 float2 p3 = cubicInterpolate(convert_float2(yp3[xs0]), in OneBiCubic() local
166 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
187 float p3 = cubicInterpolate((float)yp3[xs0], (float)yp3[xs1], in OneBiCubic() local
190 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
268 float4 p3 = cubicInterpolate(yp3[xs0], yp3[xs1], in OneBiCubic() local
271 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
291 float2 p3 = cubicInterpolate(yp3[xs0], yp3[xs1], in OneBiCubic() local
294 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()
314 float p3 = cubicInterpolate(yp3[xs0], yp3[xs1], in OneBiCubic() local
317 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic()