Lines Matching refs:x1
88 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU4() local
91 float4 px = convert_float4(py0[x1]) * coeff[0] + in ConvolveOneU4()
94 convert_float4(py1[x1]) * coeff[3] + in ConvolveOneU4()
97 convert_float4(py2[x1]) * coeff[6] + in ConvolveOneU4()
110 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU2() local
113 float2 px = convert_float2(py0[x1]) * coeff[0] + in ConvolveOneU2()
116 convert_float2(py1[x1]) * coeff[3] + in ConvolveOneU2()
119 convert_float2(py2[x1]) * coeff[6] + in ConvolveOneU2()
131 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU1() local
134 float px = ((float)py0[x1]) * coeff[0] + in ConvolveOneU1()
137 ((float)py1[x1]) * coeff[3] + in ConvolveOneU1()
140 ((float)py2[x1]) * coeff[6] + in ConvolveOneU1()
150 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF4() local
152 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + in ConvolveOneF4()
153 (py1[x1] * coeff[3]) + (py1[x] * coeff[4]) + (py1[x2] * coeff[5]) + in ConvolveOneF4()
154 (py2[x1] * coeff[6]) + (py2[x] * coeff[7]) + (py2[x2] * coeff[8]); in ConvolveOneF4()
161 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF2() local
163 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + in ConvolveOneF2()
164 (py1[x1] * coeff[3]) + (py1[x] * coeff[4]) + (py1[x2] * coeff[5]) + in ConvolveOneF2()
165 (py2[x1] * coeff[6]) + (py2[x] * coeff[7]) + (py2[x2] * coeff[8]); in ConvolveOneF2()
172 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF1() local
174 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + in ConvolveOneF1()
175 (py1[x1] * coeff[3]) + (py1[x] * coeff[4]) + (py1[x2] * coeff[5]) + in ConvolveOneF1()
176 (py2[x1] * coeff[6]) + (py2[x] * coeff[7]) + (py2[x2] * coeff[8]); in ConvolveOneF1()
198 uint32_t x1 = xstart; in kernelU4() local
200 if(x1 == 0) { in kernelU4()
202 x1 ++; in kernelU4()
206 if(x2 > x1) { in kernelU4()
209 int32_t len = (x2 - x1 - 1) >> 1; in kernelU4()
211 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU4()
212 x1 += len << 1; in kernelU4()
218 while(x1 != x2) { in kernelU4()
219 ConvolveOneU4(info, x1, out, py0, py1, py2, cp->mFp); in kernelU4()
221 x1++; in kernelU4()
245 uint32_t x1 = xstart; in kernelU2() local
247 if(x1 == 0) { in kernelU2()
249 x1 ++; in kernelU2()
253 if(x2 > x1) { in kernelU2()
255 int32_t len = (x2 - x1 - 1) >> 1; in kernelU2()
257 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU2()
258 x1 += len << 1; in kernelU2()
263 while(x1 != x2) { in kernelU2()
264 ConvolveOneU2(info, x1, out, py0, py1, py2, cp->mFp); in kernelU2()
266 x1++; in kernelU2()
290 uint32_t x1 = xstart; in kernelU1() local
292 if(x1 == 0) { in kernelU1()
294 x1 ++; in kernelU1()
298 if(x2 > x1) { in kernelU1()
300 int32_t len = (x2 - x1 - 1) >> 1; in kernelU1()
302 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU1()
303 x1 += len << 1; in kernelU1()
308 while(x1 != x2) { in kernelU1()
309 ConvolveOneU1(info, x1, out, py0, py1, py2, cp->mFp); in kernelU1()
311 x1++; in kernelU1()
335 uint32_t x1 = xstart; in kernelF4() local
337 if(x1 == 0) { in kernelF4()
339 x1 ++; in kernelF4()
343 if(x2 > x1) { in kernelF4()
345 int32_t len = (x2 - x1 - 1) >> 1; in kernelF4()
347 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF4()
348 x1 += len << 1; in kernelF4()
353 while(x1 != x2) { in kernelF4()
354 ConvolveOneF4(info, x1, out, py0, py1, py2, cp->mFp); in kernelF4()
356 x1++; in kernelF4()
380 uint32_t x1 = xstart; in kernelF2() local
382 if(x1 == 0) { in kernelF2()
384 x1 ++; in kernelF2()
388 if(x2 > x1) { in kernelF2()
390 int32_t len = (x2 - x1 - 1) >> 1; in kernelF2()
392 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF2()
393 x1 += len << 1; in kernelF2()
398 while(x1 != x2) { in kernelF2()
399 ConvolveOneF2(info, x1, out, py0, py1, py2, cp->mFp); in kernelF2()
401 x1++; in kernelF2()
424 uint32_t x1 = xstart; in kernelF1() local
426 if(x1 == 0) { in kernelF1()
428 x1 ++; in kernelF1()
432 if(x2 > x1) { in kernelF1()
434 int32_t len = (x2 - x1 - 1) >> 1; in kernelF1()
436 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF1()
437 x1 += len << 1; in kernelF1()
442 while(x1 != x2) { in kernelF1()
443 ConvolveOneF1(info, x1, out, py0, py1, py2, cp->mFp); in kernelF1()
445 x1++; in kernelF1()