• Home
  • Raw
  • Download

Lines Matching refs:mask

117     register unsigned int  cr, cg, cb, ca, mask;  in horizontalAccumulateF()  local
121 mask = CODE_MASK; in horizontalAccumulateF()
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()
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()
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()
180 register unsigned int cr, cg, cb, ca, mask; in horizontalAccumulate12() local
187 mask = CODE_MASK; in horizontalAccumulate12()
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()
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()
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()
236 wp[stride] += *wp; t0 = ToLinearF[wp[stride]&mask]*SCALE12; in horizontalAccumulate12()
248 register unsigned int cr, cg, cb, ca, mask; in horizontalAccumulate16() local
251 mask = CODE_MASK; in horizontalAccumulate16()
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()
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()
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()
299 register unsigned int cr, cg, cb, ca, mask; in horizontalAccumulate11() local
302 mask = CODE_MASK; in horizontalAccumulate11()
311 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
312 op[1] = (uint16)((cg += wp[1]) & mask); in horizontalAccumulate11()
313 op[2] = (uint16)((cb += wp[2]) & mask); in horizontalAccumulate11()
324 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
325 op[1] = (uint16)((cg += wp[1]) & mask); in horizontalAccumulate11()
326 op[2] = (uint16)((cb += wp[2]) & mask); in horizontalAccumulate11()
327 op[3] = (uint16)((ca += wp[3]) & mask); in horizontalAccumulate11()
330 REPEAT(stride, *op = *wp&mask; wp++; op++) in horizontalAccumulate11()
334 wp[stride] += *wp; *op = *wp&mask; wp++; op++) in horizontalAccumulate11()
345 register unsigned int cr, cg, cb, ca, mask; in horizontalAccumulate8() local
348 mask = CODE_MASK; in horizontalAccumulate8()
350 op[0] = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8()
351 op[1] = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8()
352 op[2] = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8()
358 op[0] = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8()
359 op[1] = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8()
360 op[2] = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8()
363 op[0] = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8()
364 op[1] = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8()
365 op[2] = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8()
366 op[3] = ToLinear8[ca = (wp[3] & mask)]; in horizontalAccumulate8()
372 op[0] = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8()
373 op[1] = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8()
374 op[2] = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8()
375 op[3] = ToLinear8[(ca += wp[3]) & mask]; in horizontalAccumulate8()
378 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8()
382 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8()
394 register unsigned int cr, cg, cb, ca, mask; in horizontalAccumulate8abgr() local
398 mask = CODE_MASK; in horizontalAccumulate8abgr()
401 t1 = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8abgr()
402 t2 = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8abgr()
403 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
413 t1 = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8abgr()
414 t2 = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8abgr()
415 t3 = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8abgr()
421 t0 = ToLinear8[ca = (wp[3] & mask)]; in horizontalAccumulate8abgr()
422 t1 = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8abgr()
423 t2 = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8abgr()
424 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
434 t0 = ToLinear8[(ca += wp[3]) & mask]; in horizontalAccumulate8abgr()
435 t1 = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8abgr()
436 t2 = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8abgr()
437 t3 = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8abgr()
444 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8abgr()
448 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8abgr()
964 int32 r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifferenceF() local
972 mask = CODE_MASK; in horizontalDifferenceF()
983 r1 = (int32) CLAMP(ip[0]); wp[0] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifferenceF()
984 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF()
985 b1 = (int32) CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifferenceF()
997 r1 = (int32) CLAMP(ip[0]); wp[0] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifferenceF()
998 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF()
999 b1 = (int32) CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifferenceF()
1000 a1 = (int32) CLAMP(ip[3]); wp[3] = (uint16)((a1-a2) & mask); a2 = a1; in horizontalDifferenceF()
1007 wp[0] = (uint16)(((int32)CLAMP(ip[0])-(int32)CLAMP(ip[-stride])) & mask); in horizontalDifferenceF()
1019 register int r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifference16() local
1025 mask = CODE_MASK; in horizontalDifference16()
1035 r1 = CLAMP(ip[0]); wp[0] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifference16()
1036 g1 = CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference16()
1037 b1 = CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifference16()
1047 r1 = CLAMP(ip[0]); wp[0] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifference16()
1048 g1 = CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference16()
1049 b1 = CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifference16()
1050 a1 = CLAMP(ip[3]); wp[3] = (uint16)((a1-a2) & mask); a2 = a1; in horizontalDifference16()
1057 wp[0] = (uint16)((CLAMP(ip[0])-CLAMP(ip[-stride])) & mask); in horizontalDifference16()
1070 register int r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifference8() local
1075 mask = CODE_MASK; in horizontalDifference8()
1083 r1 = CLAMP(ip[3]); wp[3] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifference8()
1084 g1 = CLAMP(ip[4]); wp[4] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference8()
1085 b1 = CLAMP(ip[5]); wp[5] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifference8()
1095 r1 = CLAMP(ip[4]); wp[4] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifference8()
1096 g1 = CLAMP(ip[5]); wp[5] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference8()
1097 b1 = CLAMP(ip[6]); wp[6] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifference8()
1098 a1 = CLAMP(ip[7]); wp[7] = (uint16)((a1-a2) & mask); a2 = a1; in horizontalDifference8()
1107 wp[0] = (uint16)((CLAMP(ip[0])-CLAMP(ip[-stride])) & mask); in horizontalDifference8()