Lines Matching refs:Element

25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e)  in ScriptIntrinsic()
36 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { in create()
37 if (e->isCompatible(Element::U8_4(rs)) == false) { in create()
44 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT()
70 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { in create()
71 if (e->isCompatible(Element::U8_4(rs)) == false) { in create()
78 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend()
207 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element> e) { in create()
208 if ((e->isCompatible(Element::U8_4(rs)) == false) && in create()
209 (e->isCompatible(Element::U8(rs)) == false)) { in create()
216 ScriptIntrinsicBlur::ScriptIntrinsicBlur(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlur()
248 return new ScriptIntrinsicColorMatrix(rs, Element::RGBA_8888(rs)); in create()
251 ScriptIntrinsicColorMatrix::ScriptIntrinsicColorMatrix(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicColorMatrix()
259 if (!(in->getType()->getElement()->isCompatible(Element::U8(mRS))) && in forEach()
260 !(in->getType()->getElement()->isCompatible(Element::U8_2(mRS))) && in forEach()
261 !(in->getType()->getElement()->isCompatible(Element::U8_3(mRS))) && in forEach()
262 !(in->getType()->getElement()->isCompatible(Element::U8_4(mRS))) && in forEach()
263 !(in->getType()->getElement()->isCompatible(Element::F32(mRS))) && in forEach()
264 !(in->getType()->getElement()->isCompatible(Element::F32_2(mRS))) && in forEach()
265 !(in->getType()->getElement()->isCompatible(Element::F32_3(mRS))) && in forEach()
266 !(in->getType()->getElement()->isCompatible(Element::F32_4(mRS)))) { in forEach()
271 if (!(out->getType()->getElement()->isCompatible(Element::U8(mRS))) && in forEach()
272 !(out->getType()->getElement()->isCompatible(Element::U8_2(mRS))) && in forEach()
273 !(out->getType()->getElement()->isCompatible(Element::U8_3(mRS))) && in forEach()
274 !(out->getType()->getElement()->isCompatible(Element::U8_4(mRS))) && in forEach()
275 !(out->getType()->getElement()->isCompatible(Element::F32(mRS))) && in forEach()
276 !(out->getType()->getElement()->isCompatible(Element::F32_2(mRS))) && in forEach()
277 !(out->getType()->getElement()->isCompatible(Element::F32_3(mRS))) && in forEach()
278 !(out->getType()->getElement()->isCompatible(Element::F32_4(mRS)))) { in forEach()
340 sp<ScriptIntrinsicConvolve3x3> ScriptIntrinsicConvolve3x3::create(sp<RS> rs, sp<const Element> e) { in create()
341 if (!(e->isCompatible(Element::U8(rs))) && in create()
342 !(e->isCompatible(Element::U8_2(rs))) && in create()
343 !(e->isCompatible(Element::U8_3(rs))) && in create()
344 !(e->isCompatible(Element::U8_4(rs))) && in create()
345 !(e->isCompatible(Element::F32(rs))) && in create()
346 !(e->isCompatible(Element::F32_2(rs))) && in create()
347 !(e->isCompatible(Element::F32_3(rs))) && in create()
348 !(e->isCompatible(Element::F32_4(rs)))) { in create()
356 ScriptIntrinsicConvolve3x3::ScriptIntrinsicConvolve3x3(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicConvolve3x3()
381 sp<ScriptIntrinsicConvolve5x5> ScriptIntrinsicConvolve5x5::create(sp<RS> rs, sp<const Element> e) { in create()
382 if (!(e->isCompatible(Element::U8(rs))) && in create()
383 !(e->isCompatible(Element::U8_2(rs))) && in create()
384 !(e->isCompatible(Element::U8_3(rs))) && in create()
385 !(e->isCompatible(Element::U8_4(rs))) && in create()
386 !(e->isCompatible(Element::F32(rs))) && in create()
387 !(e->isCompatible(Element::F32_2(rs))) && in create()
388 !(e->isCompatible(Element::F32_3(rs))) && in create()
389 !(e->isCompatible(Element::F32_4(rs)))) { in create()
397 ScriptIntrinsicConvolve5x5::ScriptIntrinsicConvolve5x5(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicConvolve5x5()
423 sp<ScriptIntrinsicHistogram> ScriptIntrinsicHistogram::create(sp<RS> rs, sp<const Element> e) { in create()
427 ScriptIntrinsicHistogram::ScriptIntrinsicHistogram(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicHistogram()
433 if (!(out->getType()->getElement()->isCompatible(Element::U32(mRS))) && in setOutput()
434 !(out->getType()->getElement()->isCompatible(Element::U32_2(mRS))) && in setOutput()
435 !(out->getType()->getElement()->isCompatible(Element::U32_3(mRS))) && in setOutput()
436 !(out->getType()->getElement()->isCompatible(Element::U32_4(mRS))) && in setOutput()
437 !(out->getType()->getElement()->isCompatible(Element::I32(mRS))) && in setOutput()
438 !(out->getType()->getElement()->isCompatible(Element::I32_2(mRS))) && in setOutput()
439 !(out->getType()->getElement()->isCompatible(Element::I32_3(mRS))) && in setOutput()
440 !(out->getType()->getElement()->isCompatible(Element::I32_4(mRS)))) { in setOutput()
480 if (!(ain->getType()->getElement()->isCompatible(Element::U8(mRS))) && in forEach()
481 !(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) { in forEach()
498 if (!(ain->getType()->getElement()->isCompatible(Element::U8(mRS))) && in forEach_dot()
499 !(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) { in forEach_dot()
508 sp<ScriptIntrinsicLUT> ScriptIntrinsicLUT::create(sp<RS> rs, sp<const Element> e) { in create()
509 if (!(e->isCompatible(Element::U8_4(rs)))) { in create()
516 ScriptIntrinsicLUT::ScriptIntrinsicLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicLUT()
518 LUT = Allocation::createSized(rs, Element::U8(rs), 1024); in ScriptIntrinsicLUT()
533 if (!(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS))) || in forEach()
534 !(aout->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) { in forEach()
577 ScriptIntrinsicResize::ScriptIntrinsicResize(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicResize()
593 if (!(ain->getType()->getElement()->isCompatible(Element::U8(mRS))) && in setInput()
594 !(ain->getType()->getElement()->isCompatible(Element::U8_2(mRS))) && in setInput()
595 !(ain->getType()->getElement()->isCompatible(Element::U8_3(mRS))) && in setInput()
596 !(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS))) && in setInput()
597 !(ain->getType()->getElement()->isCompatible(Element::F32(mRS))) && in setInput()
598 !(ain->getType()->getElement()->isCompatible(Element::F32_2(mRS))) && in setInput()
599 !(ain->getType()->getElement()->isCompatible(Element::F32_3(mRS))) && in setInput()
600 !(ain->getType()->getElement()->isCompatible(Element::F32_4(mRS)))) { in setInput()
610 sp<ScriptIntrinsicYuvToRGB> ScriptIntrinsicYuvToRGB::create(sp<RS> rs, sp<const Element> e) { in create()
611 if (!(e->isCompatible(Element::U8_4(rs)))) { in create()
618 ScriptIntrinsicYuvToRGB::ScriptIntrinsicYuvToRGB(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicYuvToRGB()
624 if (!(in->getType()->getElement()->isCompatible(Element::YUV(mRS)))) { in setInput()