Lines Matching refs:x1
95 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU4() local
98 float4 px = convert_float4(py0[x1]) * coeff[0] + in ConvolveOneU4()
101 convert_float4(py1[x1]) * coeff[3] + in ConvolveOneU4()
104 convert_float4(py2[x1]) * coeff[6] + in ConvolveOneU4()
117 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU2() local
120 float2 px = convert_float2(py0[x1]) * coeff[0] + in ConvolveOneU2()
123 convert_float2(py1[x1]) * coeff[3] + in ConvolveOneU2()
126 convert_float2(py2[x1]) * coeff[6] + in ConvolveOneU2()
138 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneU1() local
141 float px = ((float)py0[x1]) * coeff[0] + in ConvolveOneU1()
144 ((float)py1[x1]) * coeff[3] + in ConvolveOneU1()
147 ((float)py2[x1]) * coeff[6] + in ConvolveOneU1()
157 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF4() local
159 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + in ConvolveOneF4()
160 (py1[x1] * coeff[3]) + (py1[x] * coeff[4]) + (py1[x2] * coeff[5]) + in ConvolveOneF4()
161 (py2[x1] * coeff[6]) + (py2[x] * coeff[7]) + (py2[x2] * coeff[8]); in ConvolveOneF4()
168 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF2() local
170 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + in ConvolveOneF2()
171 (py1[x1] * coeff[3]) + (py1[x] * coeff[4]) + (py1[x2] * coeff[5]) + in ConvolveOneF2()
172 (py2[x1] * coeff[6]) + (py2[x] * coeff[7]) + (py2[x2] * coeff[8]); in ConvolveOneF2()
179 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOneF1() local
181 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + in ConvolveOneF1()
182 (py1[x1] * coeff[3]) + (py1[x] * coeff[4]) + (py1[x2] * coeff[5]) + in ConvolveOneF1()
183 (py2[x1] * coeff[6]) + (py2[x] * coeff[7]) + (py2[x2] * coeff[8]); in ConvolveOneF1()
205 uint32_t x1 = xstart; in kernelU4() local
207 if(x1 == 0) { in kernelU4()
209 x1 ++; in kernelU4()
213 if(x2 > x1) { in kernelU4()
216 int32_t len = (x2 - x1 - 1) >> 1; in kernelU4()
218 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU4()
219 x1 += len << 1; in kernelU4()
225 while(x1 != x2) { in kernelU4()
226 ConvolveOneU4(p, x1, out, py0, py1, py2, cp->mFp); in kernelU4()
228 x1++; in kernelU4()
252 uint32_t x1 = xstart; in kernelU2() local
254 if(x1 == 0) { in kernelU2()
256 x1 ++; in kernelU2()
260 if(x2 > x1) { in kernelU2()
262 int32_t len = (x2 - x1 - 1) >> 1; in kernelU2()
264 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU2()
265 x1 += len << 1; in kernelU2()
270 while(x1 != x2) { in kernelU2()
271 ConvolveOneU2(p, x1, out, py0, py1, py2, cp->mFp); in kernelU2()
273 x1++; in kernelU2()
297 uint32_t x1 = xstart; in kernelU1() local
299 if(x1 == 0) { in kernelU1()
301 x1 ++; in kernelU1()
305 if(x2 > x1) { in kernelU1()
307 int32_t len = (x2 - x1 - 1) >> 1; in kernelU1()
309 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU1()
310 x1 += len << 1; in kernelU1()
315 while(x1 != x2) { in kernelU1()
316 ConvolveOneU1(p, x1, out, py0, py1, py2, cp->mFp); in kernelU1()
318 x1++; in kernelU1()
342 uint32_t x1 = xstart; in kernelF4() local
344 if(x1 == 0) { in kernelF4()
346 x1 ++; in kernelF4()
350 if(x2 > x1) { in kernelF4()
352 int32_t len = (x2 - x1 - 1) >> 1; in kernelF4()
354 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF4()
355 x1 += len << 1; in kernelF4()
360 while(x1 != x2) { in kernelF4()
361 ConvolveOneF4(p, x1, out, py0, py1, py2, cp->mFp); in kernelF4()
363 x1++; in kernelF4()
387 uint32_t x1 = xstart; in kernelF2() local
389 if(x1 == 0) { in kernelF2()
391 x1 ++; in kernelF2()
395 if(x2 > x1) { in kernelF2()
397 int32_t len = (x2 - x1 - 1) >> 1; in kernelF2()
399 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF2()
400 x1 += len << 1; in kernelF2()
405 while(x1 != x2) { in kernelF2()
406 ConvolveOneF2(p, x1, out, py0, py1, py2, cp->mFp); in kernelF2()
408 x1++; in kernelF2()
431 uint32_t x1 = xstart; in kernelF1() local
433 if(x1 == 0) { in kernelF1()
435 x1 ++; in kernelF1()
439 if(x2 > x1) { in kernelF1()
441 int32_t len = (x2 - x1 - 1) >> 1; in kernelF1()
443 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF1()
444 x1 += len << 1; in kernelF1()
449 while(x1 != x2) { in kernelF1()
450 ConvolveOneF1(p, x1, out, py0, py1, py2, cp->mFp); in kernelF1()
452 x1++; in kernelF1()