Lines Matching refs:float4

69 static inline float4 __attribute__((overloadable))
106 static inline float4 __attribute__((overloadable))
110 float4 r = {p[x], p[x+1], p[x+2], p[x+3]}; in getElementAt4()
126 static float4 __attribute__((overloadable))
133 float4 ret = {0.f, 0.f, 0.f, r}; in getSample_A()
136 static float4 __attribute__((overloadable))
143 float4 ret = {r, r, r, 1.f}; in getSample_L()
146 static float4 __attribute__((overloadable))
153 float4 ret = {r.x, r.x, r.x, r.y}; in getSample_LA()
156 static float4 __attribute__((overloadable))
163 float4 ret = {r.x, r.x, r.z, 1.f}; in getSample_RGB()
166 static float4 __attribute__((overloadable))
173 float4 ret = {r.x, r.x, r.z, 1.f}; in getSample_565()
176 static float4 __attribute__((overloadable))
179 float4 p0 = getElementAt4(p, iPixel); in getSample_RGBA()
180 float4 p1 = getElementAt4(p, next); in getSample_RGBA()
181 float4 r = p0 * w0 + p1 * w1; in getSample_RGBA()
187 static float4 __attribute__((overloadable))
197 float4 ret = {0.f, 0.f, 0.f, r}; in getSample_A()
200 static float4 __attribute__((overloadable))
210 float4 ret = {r, r, r, 1.f}; in getSample_L()
213 static float4 __attribute__((overloadable))
223 float4 ret = {r.x, r.x, r.x, r.y}; in getSample_LA()
226 static float4 __attribute__((overloadable))
230 float4 p0 = getElementAt4(p, stride, locX, locY); in getSample_RGB()
231 float4 p1 = getElementAt4(p, stride, nextX, locY); in getSample_RGB()
232 float4 p2 = getElementAt4(p, stride, locX, nextY); in getSample_RGB()
233 float4 p3 = getElementAt4(p, stride, nextX, nextY); in getSample_RGB()
234 float4 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_RGB()
236 float4 ret = {r.x, r.y, r.z, 1.f}; in getSample_RGB()
239 static float4 __attribute__((overloadable))
243 float4 p0 = getElementAt4(p, stride, locX, locY); in getSample_RGBA()
244 float4 p1 = getElementAt4(p, stride, nextX, locY); in getSample_RGBA()
245 float4 p2 = getElementAt4(p, stride, locX, nextY); in getSample_RGBA()
246 float4 p3 = getElementAt4(p, stride, nextX, nextY); in getSample_RGBA()
247 float4 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_RGBA()
251 static float4 __attribute__((overloadable))
261 float4 ret; in getSample_565()
267 static float4 __attribute__((overloadable))
317 static float4 __attribute__((overloadable))
347 static float4 __attribute__((overloadable))
353 float4 result = {0.f, 0.f, 0.f, 255.f}; in getNearestSample()
384 static float4 __attribute__((overloadable))
391 float4 result = {0.f, 0.f, 0.f, 255.f}; in getNearestSample()
420 static float4 __attribute__((overloadable))
450 static float4 __attribute__((overloadable))
463 static float4 __attribute__((overloadable))
509 static float4 __attribute__((overloadable))
529 extern float4 __attribute__((overloadable))
566 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod0); in rsSample()
567 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod1); in rsSample()
575 extern float4 __attribute__((overloadable))
581 extern float4 __attribute__((overloadable))
619 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod0); in rsSample()
620 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod1); in rsSample()
628 extern float4 __attribute__((overloadable))