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