Lines Matching defs:out

82 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) {
84 out->getType()->getElement()->isCompatible(mElement) == false) {
87 Script::forEach(0, in, out, nullptr, 0);
90 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) {
92 out->getType()->getElement()->isCompatible(mElement) == false) {
95 Script::forEach(1, in, out, nullptr, 0);
98 void ScriptIntrinsicBlend::forEachDst(sp<Allocation> in, sp<Allocation> out) {
100 out->getType()->getElement()->isCompatible(mElement) == false) {
103 Script::forEach(2, in, out, nullptr, 0);
106 void ScriptIntrinsicBlend::forEachSrcOver(sp<Allocation> in, sp<Allocation> out) {
108 out->getType()->getElement()->isCompatible(mElement) == false) {
111 Script::forEach(3, in, out, nullptr, 0);
114 void ScriptIntrinsicBlend::forEachDstOver(sp<Allocation> in, sp<Allocation> out) {
116 out->getType()->getElement()->isCompatible(mElement) == false) {
119 Script::forEach(4, in, out, nullptr, 0);
122 void ScriptIntrinsicBlend::forEachSrcIn(sp<Allocation> in, sp<Allocation> out) {
124 out->getType()->getElement()->isCompatible(mElement) == false) {
127 Script::forEach(5, in, out, nullptr, 0);
130 void ScriptIntrinsicBlend::forEachDstIn(sp<Allocation> in, sp<Allocation> out) {
132 out->getType()->getElement()->isCompatible(mElement) == false) {
135 Script::forEach(6, in, out, nullptr, 0);
138 void ScriptIntrinsicBlend::forEachSrcOut(sp<Allocation> in, sp<Allocation> out) {
140 out->getType()->getElement()->isCompatible(mElement) == false) {
143 Script::forEach(7, in, out, nullptr, 0);
146 void ScriptIntrinsicBlend::forEachDstOut(sp<Allocation> in, sp<Allocation> out) {
148 out->getType()->getElement()->isCompatible(mElement) == false) {
151 Script::forEach(8, in, out, nullptr, 0);
154 void ScriptIntrinsicBlend::forEachSrcAtop(sp<Allocation> in, sp<Allocation> out) {
156 out->getType()->getElement()->isCompatible(mElement) == false) {
159 Script::forEach(9, in, out, nullptr, 0);
162 void ScriptIntrinsicBlend::forEachDstAtop(sp<Allocation> in, sp<Allocation> out) {
164 out->getType()->getElement()->isCompatible(mElement) == false) {
167 Script::forEach(10, in, out, nullptr, 0);
170 void ScriptIntrinsicBlend::forEachXor(sp<Allocation> in, sp<Allocation> out) {
172 out->getType()->getElement()->isCompatible(mElement) == false) {
175 Script::forEach(11, in, out, nullptr, 0);
178 void ScriptIntrinsicBlend::forEachMultiply(sp<Allocation> in, sp<Allocation> out) {
180 out->getType()->getElement()->isCompatible(mElement) == false) {
183 Script::forEach(14, in, out, nullptr, 0);
186 void ScriptIntrinsicBlend::forEachAdd(sp<Allocation> in, sp<Allocation> out) {
188 out->getType()->getElement()->isCompatible(mElement) == false) {
191 Script::forEach(34, in, out, nullptr, 0);
194 void ScriptIntrinsicBlend::forEachSubtract(sp<Allocation> in, sp<Allocation> out) {
196 out->getType()->getElement()->isCompatible(mElement) == false) {
199 Script::forEach(35, in, out, nullptr, 0);
227 void ScriptIntrinsicBlur::forEach(sp<Allocation> out) {
228 if (out->getType()->getElement()->isCompatible(mElement) == false) {
232 Script::forEach(0, nullptr, out, nullptr, 0);
239 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Blur radius out of 0-25 pixel bound");
256 void ScriptIntrinsicColorMatrix::forEach(sp<Allocation> in, sp<Allocation> out) {
269 if (!(out->getType()->getElement()->isCompatible(Element::U8(mRS))) &&
270 !(out->getType()->getElement()->isCompatible(Element::U8_2(mRS))) &&
271 !(out->getType()->getElement()->isCompatible(Element::U8_3(mRS))) &&
272 !(out->getType()->getElement()->isCompatible(Element::U8_4(mRS))) &&
273 !(out->getType()->getElement()->isCompatible(Element::F32(mRS))) &&
274 !(out->getType()->getElement()->isCompatible(Element::F32_2(mRS))) &&
275 !(out->getType()->getElement()->isCompatible(Element::F32_3(mRS))) &&
276 !(out->getType()->getElement()->isCompatible(Element::F32_4(mRS)))) {
281 Script::forEach(0, in, out, nullptr, 0);
367 void ScriptIntrinsicConvolve3x3::forEach(sp<Allocation> out) {
368 if (!(out->getType()->getElement()->isCompatible(mElement))) {
372 Script::forEach(0, nullptr, out, nullptr, 0);
408 void ScriptIntrinsicConvolve5x5::forEach(sp<Allocation> out) {
409 if (!(out->getType()->getElement()->isCompatible(mElement))) {
414 Script::forEach(0, nullptr, out, nullptr, 0);
430 void ScriptIntrinsicHistogram::setOutput(sp<Allocation> out) {
431 if (!(out->getType()->getElement()->isCompatible(Element::U32(mRS))) &&
432 !(out->getType()->getElement()->isCompatible(Element::U32_2(mRS))) &&
433 !(out->getType()->getElement()->isCompatible(Element::U32_3(mRS))) &&
434 !(out->getType()->getElement()->isCompatible(Element::U32_4(mRS))) &&
435 !(out->getType()->getElement()->isCompatible(Element::I32(mRS))) &&
436 !(out->getType()->getElement()->isCompatible(Element::I32_2(mRS))) &&
437 !(out->getType()->getElement()->isCompatible(Element::I32_3(mRS))) &&
438 !(out->getType()->getElement()->isCompatible(Element::I32_4(mRS)))) {
443 if (out->getType()->getX() != 256 ||
444 out->getType()->getY() != 0 ||
445 out->getType()->hasMipmaps()) {
449 mOut = out;
450 Script::setVar(1, out);
542 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "LUT out of range");
629 void ScriptIntrinsicYuvToRGB::forEach(sp<Allocation> out) {
630 if (!(out->getType()->getElement()->isCompatible(mElement))) {
635 Script::forEach(0, nullptr, out, nullptr, 0);