Lines Matching refs:wp

114 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op,  in horizontalAccumulateF()  argument
123 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
124 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
125 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF()
131 wp += 3; in horizontalAccumulateF()
134 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
135 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF()
136 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF()
142 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
143 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
144 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF()
145 t3 = ToLinearF[ca = (wp[3] & mask)]; in horizontalAccumulateF()
152 wp += 4; in horizontalAccumulateF()
155 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
156 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF()
157 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF()
158 t3 = ToLinearF[(ca += wp[3]) & mask]; in horizontalAccumulateF()
165 REPEAT(stride, *op = ToLinearF[*wp&mask]; wp++; op++) in horizontalAccumulateF()
169 wp[stride] += *wp; *op = ToLinearF[*wp&mask]; wp++; op++) in horizontalAccumulateF()
177 horizontalAccumulate12(uint16 *wp, int n, int stride, int16 *op, in horizontalAccumulate12() argument
189 t0 = ToLinearF[cr = (wp[0] & mask)] * SCALE12; in horizontalAccumulate12()
190 t1 = ToLinearF[cg = (wp[1] & mask)] * SCALE12; in horizontalAccumulate12()
191 t2 = ToLinearF[cb = (wp[2] & mask)] * SCALE12; in horizontalAccumulate12()
197 wp += 3; in horizontalAccumulate12()
200 t0 = ToLinearF[(cr += wp[0]) & mask] * SCALE12; in horizontalAccumulate12()
201 t1 = ToLinearF[(cg += wp[1]) & mask] * SCALE12; in horizontalAccumulate12()
202 t2 = ToLinearF[(cb += wp[2]) & mask] * SCALE12; in horizontalAccumulate12()
208 t0 = ToLinearF[cr = (wp[0] & mask)] * SCALE12; in horizontalAccumulate12()
209 t1 = ToLinearF[cg = (wp[1] & mask)] * SCALE12; in horizontalAccumulate12()
210 t2 = ToLinearF[cb = (wp[2] & mask)] * SCALE12; in horizontalAccumulate12()
211 t3 = ToLinearF[ca = (wp[3] & mask)] * SCALE12; in horizontalAccumulate12()
218 wp += 4; in horizontalAccumulate12()
221 t0 = ToLinearF[(cr += wp[0]) & mask] * SCALE12; in horizontalAccumulate12()
222 t1 = ToLinearF[(cg += wp[1]) & mask] * SCALE12; in horizontalAccumulate12()
223 t2 = ToLinearF[(cb += wp[2]) & mask] * SCALE12; in horizontalAccumulate12()
224 t3 = ToLinearF[(ca += wp[3]) & mask] * SCALE12; in horizontalAccumulate12()
231 REPEAT(stride, t0 = ToLinearF[*wp&mask] * SCALE12; in horizontalAccumulate12()
232 *op = CLAMP12(t0); wp++; op++) in horizontalAccumulate12()
236 wp[stride] += *wp; t0 = ToLinearF[wp[stride]&mask]*SCALE12; in horizontalAccumulate12()
237 *op = CLAMP12(t0); wp++; op++) in horizontalAccumulate12()
245 horizontalAccumulate16(uint16 *wp, int n, int stride, uint16 *op, in horizontalAccumulate16() argument
253 op[0] = ToLinear16[cr = (wp[0] & mask)]; in horizontalAccumulate16()
254 op[1] = ToLinear16[cg = (wp[1] & mask)]; in horizontalAccumulate16()
255 op[2] = ToLinear16[cb = (wp[2] & mask)]; in horizontalAccumulate16()
258 wp += 3; in horizontalAccumulate16()
261 op[0] = ToLinear16[(cr += wp[0]) & mask]; in horizontalAccumulate16()
262 op[1] = ToLinear16[(cg += wp[1]) & mask]; in horizontalAccumulate16()
263 op[2] = ToLinear16[(cb += wp[2]) & mask]; in horizontalAccumulate16()
266 op[0] = ToLinear16[cr = (wp[0] & mask)]; in horizontalAccumulate16()
267 op[1] = ToLinear16[cg = (wp[1] & mask)]; in horizontalAccumulate16()
268 op[2] = ToLinear16[cb = (wp[2] & mask)]; in horizontalAccumulate16()
269 op[3] = ToLinear16[ca = (wp[3] & mask)]; in horizontalAccumulate16()
272 wp += 4; in horizontalAccumulate16()
275 op[0] = ToLinear16[(cr += wp[0]) & mask]; in horizontalAccumulate16()
276 op[1] = ToLinear16[(cg += wp[1]) & mask]; in horizontalAccumulate16()
277 op[2] = ToLinear16[(cb += wp[2]) & mask]; in horizontalAccumulate16()
278 op[3] = ToLinear16[(ca += wp[3]) & mask]; in horizontalAccumulate16()
281 REPEAT(stride, *op = ToLinear16[*wp&mask]; wp++; op++) in horizontalAccumulate16()
285 wp[stride] += *wp; *op = ToLinear16[*wp&mask]; wp++; op++) in horizontalAccumulate16()
297 horizontalAccumulate11(uint16 *wp, int n, int stride, uint16 *op) in horizontalAccumulate11() argument
304 op[0] = cr = wp[0]; op[1] = cg = wp[1]; op[2] = cb = wp[2]; in horizontalAccumulate11()
307 wp += 3; in horizontalAccumulate11()
310 op[0] = (cr += wp[0]) & mask; in horizontalAccumulate11()
311 op[1] = (cg += wp[1]) & mask; in horizontalAccumulate11()
312 op[2] = (cb += wp[2]) & mask; in horizontalAccumulate11()
315 op[0] = cr = wp[0]; op[1] = cg = wp[1]; in horizontalAccumulate11()
316 op[2] = cb = wp[2]; op[3] = ca = wp[3]; in horizontalAccumulate11()
319 wp += 4; in horizontalAccumulate11()
322 op[0] = (cr += wp[0]) & mask; in horizontalAccumulate11()
323 op[1] = (cg += wp[1]) & mask; in horizontalAccumulate11()
324 op[2] = (cb += wp[2]) & mask; in horizontalAccumulate11()
325 op[3] = (ca += wp[3]) & mask; in horizontalAccumulate11()
328 REPEAT(stride, *op = *wp&mask; wp++; op++) in horizontalAccumulate11()
332 wp[stride] += *wp; *op = *wp&mask; wp++; op++) in horizontalAccumulate11()
340 horizontalAccumulate8(uint16 *wp, int n, int stride, unsigned char *op, in horizontalAccumulate8() argument
348 op[0] = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8()
349 op[1] = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8()
350 op[2] = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8()
354 wp += 3; in horizontalAccumulate8()
356 op[0] = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8()
357 op[1] = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8()
358 op[2] = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8()
361 op[0] = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8()
362 op[1] = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8()
363 op[2] = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8()
364 op[3] = ToLinear8[ca = (wp[3] & mask)]; in horizontalAccumulate8()
368 wp += 4; in horizontalAccumulate8()
370 op[0] = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8()
371 op[1] = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8()
372 op[2] = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8()
373 op[3] = ToLinear8[(ca += wp[3]) & mask]; in horizontalAccumulate8()
376 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8()
380 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8()
389 horizontalAccumulate8abgr(uint16 *wp, int n, int stride, unsigned char *op, in horizontalAccumulate8abgr() argument
399 t1 = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8abgr()
400 t2 = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8abgr()
401 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
408 wp += 3; in horizontalAccumulate8abgr()
411 t1 = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8abgr()
412 t2 = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8abgr()
413 t3 = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8abgr()
419 t0 = ToLinear8[ca = (wp[3] & mask)]; in horizontalAccumulate8abgr()
420 t1 = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8abgr()
421 t2 = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8abgr()
422 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
430 wp += 4; in horizontalAccumulate8abgr()
432 t0 = ToLinear8[(ca += wp[3]) & mask]; in horizontalAccumulate8abgr()
433 t1 = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8abgr()
434 t2 = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8abgr()
435 t3 = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8abgr()
442 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8abgr()
446 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8abgr()
935 horizontalDifferenceF(float *ip, int n, int stride, uint16 *wp, uint16 *FromLT2) in horizontalDifferenceF() argument
948 r2 = wp[0] = (uint16) CLAMP(ip[0]); in horizontalDifferenceF()
949 g2 = wp[1] = (uint16) CLAMP(ip[1]); in horizontalDifferenceF()
950 b2 = wp[2] = (uint16) CLAMP(ip[2]); in horizontalDifferenceF()
954 wp += 3; in horizontalDifferenceF()
956 r1 = (int32) CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; in horizontalDifferenceF()
957 g1 = (int32) CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; in horizontalDifferenceF()
958 b1 = (int32) CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; in horizontalDifferenceF()
961 r2 = wp[0] = (uint16) CLAMP(ip[0]); in horizontalDifferenceF()
962 g2 = wp[1] = (uint16) CLAMP(ip[1]); in horizontalDifferenceF()
963 b2 = wp[2] = (uint16) CLAMP(ip[2]); in horizontalDifferenceF()
964 a2 = wp[3] = (uint16) CLAMP(ip[3]); in horizontalDifferenceF()
968 wp += 4; in horizontalDifferenceF()
970 r1 = (int32) CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; in horizontalDifferenceF()
971 g1 = (int32) CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; in horizontalDifferenceF()
972 b1 = (int32) CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; in horizontalDifferenceF()
973 a1 = (int32) CLAMP(ip[3]); wp[3] = (a1-a2) & mask; a2 = a1; in horizontalDifferenceF()
977 wp += n - 1; /* point to last one */ in horizontalDifferenceF()
980 REPEAT(stride, wp[0] = (uint16) CLAMP(ip[0]); in horizontalDifferenceF()
981 wp[stride] -= wp[0]; in horizontalDifferenceF()
982 wp[stride] &= mask; in horizontalDifferenceF()
983 wp--; ip--) in horizontalDifferenceF()
986 REPEAT(stride, wp[0] = (uint16) CLAMP(ip[0]); wp--; ip--) in horizontalDifferenceF()
993 unsigned short *wp, uint16 *From14) in horizontalDifference16() argument
1004 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference16()
1005 b2 = wp[2] = CLAMP(ip[2]); in horizontalDifference16()
1009 wp += 3; in horizontalDifference16()
1011 r1 = CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; in horizontalDifference16()
1012 g1 = CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; in horizontalDifference16()
1013 b1 = CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; in horizontalDifference16()
1016 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference16()
1017 b2 = wp[2] = CLAMP(ip[2]); a2 = wp[3] = CLAMP(ip[3]); in horizontalDifference16()
1021 wp += 4; in horizontalDifference16()
1023 r1 = CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; in horizontalDifference16()
1024 g1 = CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; in horizontalDifference16()
1025 b1 = CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; in horizontalDifference16()
1026 a1 = CLAMP(ip[3]); wp[3] = (a1-a2) & mask; a2 = a1; in horizontalDifference16()
1030 wp += n - 1; /* point to last one */ in horizontalDifference16()
1033 REPEAT(stride, wp[0] = CLAMP(ip[0]); in horizontalDifference16()
1034 wp[stride] -= wp[0]; in horizontalDifference16()
1035 wp[stride] &= mask; in horizontalDifference16()
1036 wp--; ip--) in horizontalDifference16()
1039 REPEAT(stride, wp[0] = CLAMP(ip[0]); wp--; ip--) in horizontalDifference16()
1047 unsigned short *wp, uint16 *From8) in horizontalDifference8() argument
1057 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference8()
1058 b2 = wp[2] = CLAMP(ip[2]); in horizontalDifference8()
1062 r1 = CLAMP(ip[3]); wp[3] = (r1-r2) & mask; r2 = r1; in horizontalDifference8()
1063 g1 = CLAMP(ip[4]); wp[4] = (g1-g2) & mask; g2 = g1; in horizontalDifference8()
1064 b1 = CLAMP(ip[5]); wp[5] = (b1-b2) & mask; b2 = b1; in horizontalDifference8()
1065 wp += 3; in horizontalDifference8()
1069 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference8()
1070 b2 = wp[2] = CLAMP(ip[2]); a2 = wp[3] = CLAMP(ip[3]); in horizontalDifference8()
1074 r1 = CLAMP(ip[4]); wp[4] = (r1-r2) & mask; r2 = r1; in horizontalDifference8()
1075 g1 = CLAMP(ip[5]); wp[5] = (g1-g2) & mask; g2 = g1; in horizontalDifference8()
1076 b1 = CLAMP(ip[6]); wp[6] = (b1-b2) & mask; b2 = b1; in horizontalDifference8()
1077 a1 = CLAMP(ip[7]); wp[7] = (a1-a2) & mask; a2 = a1; in horizontalDifference8()
1078 wp += 4; in horizontalDifference8()
1082 wp += n + stride - 1; /* point to last one */ in horizontalDifference8()
1086 REPEAT(stride, wp[0] = CLAMP(ip[0]); in horizontalDifference8()
1087 wp[stride] -= wp[0]; in horizontalDifference8()
1088 wp[stride] &= mask; in horizontalDifference8()
1089 wp--; ip--) in horizontalDifference8()
1092 REPEAT(stride, wp[0] = CLAMP(ip[0]); wp--; ip--) in horizontalDifference8()