Lines Matching refs:out
90 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot,
125 uchar4 *out = (uchar4 *)info->outPtr[0]; in kernel() local
132 if (rsdIntrinsicBlend_K(out, in, info->slot, 0, x2 - x1) >= 0) { in kernel()
141 for (;x1 < x2; x1++, out++) { in kernel()
142 *out = 0; in kernel()
146 for (;x1 < x2; x1++, out++, in++) { in kernel()
147 *out = *in; in kernel()
158 rsdIntrinsicBlendSrcOver_K(out, in, len); in kernel()
160 out += len << 3; in kernel()
165 for (;x1 < x2; x1++, out++, in++) { in kernel()
167 ushort4 out_s = convert_ushort4(*out); in kernel()
169 *out = convertClipped(in_s); in kernel()
177 rsdIntrinsicBlendDstOver_K(out, in, len); in kernel()
179 out += len << 3; in kernel()
184 for (;x1 < x2; x1++, out++, in++) { in kernel()
186 ushort4 out_s = convert_ushort4(*out); in kernel()
188 *out = convertClipped(in_s); in kernel()
196 rsdIntrinsicBlendSrcIn_K(out, in, len); in kernel()
198 out += len << 3; in kernel()
203 for (;x1 < x2; x1++, out++, in++) { in kernel()
205 in_s = (in_s * out->w) >> (ushort4)8; in kernel()
206 *out = convert_uchar4(in_s); in kernel()
214 rsdIntrinsicBlendDstIn_K(out, in, len); in kernel()
216 out += len << 3; in kernel()
221 for (;x1 < x2; x1++, out++, in++) { in kernel()
222 short4 out_s = convert_short4(*out); in kernel()
224 *out = convert_uchar4(out_s); in kernel()
232 rsdIntrinsicBlendSrcOut_K(out, in, len); in kernel()
234 out += len << 3; in kernel()
239 for (;x1 < x2; x1++, out++, in++) { in kernel()
241 in_s = (in_s * (short4)(255 - out->w)) >> (short4)8; in kernel()
242 *out = convert_uchar4(in_s); in kernel()
250 rsdIntrinsicBlendDstOut_K(out, in, len); in kernel()
252 out += len << 3; in kernel()
257 for (;x1 < x2; x1++, out++, in++) { in kernel()
258 short4 out_s = convert_short4(*out); in kernel()
260 *out = convert_uchar4(out_s); in kernel()
268 rsdIntrinsicBlendSrcAtop_K(out, in, len); in kernel()
270 out += len << 3; in kernel()
275 for (;x1 < x2; x1++, out++, in++) { in kernel()
280 uint4 out_s = convert_uint4(*out); in kernel()
283 *out = convertClipped(out_s); in kernel()
291 rsdIntrinsicBlendDstAtop_K(out, in, len); in kernel()
293 out += len << 3; in kernel()
298 for (;x1 < x2; x1++, out++, in++) { in kernel()
300 uint4 out_s = convert_uint4(*out); in kernel()
304 *out = convertClipped(out_s); in kernel()
312 rsdIntrinsicBlendXor_K(out, in, len); in kernel()
314 out += len << 3; in kernel()
319 for (;x1 < x2; x1++, out++, in++) { in kernel()
320 *out = *in ^ *out; in kernel()
336 rsdIntrinsicBlendMultiply_K(out, in, len); in kernel()
338 out += len << 3; in kernel()
343 for (;x1 < x2; x1++, out++, in++) { in kernel()
344 *out = convert_uchar4((convert_short4(*in) * convert_short4(*out)) in kernel()
429 rsdIntrinsicBlendAdd_K(out, in, len); in kernel()
431 out += len << 3; in kernel()
436 for (;x1 < x2; x1++, out++, in++) { in kernel()
438 oR = out->x, oG = out->y, oB = out->z, oA = out->w; in kernel()
439 out->x = (oR + iR) > 255 ? 255 : oR + iR; in kernel()
440 out->y = (oG + iG) > 255 ? 255 : oG + iG; in kernel()
441 out->z = (oB + iB) > 255 ? 255 : oB + iB; in kernel()
442 out->w = (oA + iA) > 255 ? 255 : oA + iA; in kernel()
450 rsdIntrinsicBlendSub_K(out, in, len); in kernel()
452 out += len << 3; in kernel()
457 for (;x1 < x2; x1++, out++, in++) { in kernel()
459 oR = out->x, oG = out->y, oB = out->z, oA = out->w; in kernel()
460 out->x = (oR - iR) < 0 ? 0 : oR - iR; in kernel()
461 out->y = (oG - iG) < 0 ? 0 : oG - iG; in kernel()
462 out->z = (oB - iB) < 0 ? 0 : oB - iB; in kernel()
463 out->w = (oA - iA) < 0 ? 0 : oA - iA; in kernel()