Lines Matching refs:Element
25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic()
35 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { in create()
36 if (e->isCompatible(Element::U8_4(rs)) == false) { in create()
43 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT()
69 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { in create()
70 if (e->isCompatible(Element::U8_4(rs)) == false) { in create()
77 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend()
206 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element> e) { in create()
207 if ((e->isCompatible(Element::U8_4(rs)) == false) && in create()
208 (e->isCompatible(Element::U8(rs)) == false)) { in create()
215 ScriptIntrinsicBlur::ScriptIntrinsicBlur(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlur()
247 return new ScriptIntrinsicColorMatrix(rs, Element::RGBA_8888(rs)); in create()
250 ScriptIntrinsicColorMatrix::ScriptIntrinsicColorMatrix(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicColorMatrix()
258 if (!(in->getType()->getElement()->isCompatible(Element::U8(mRS))) && in forEach()
259 !(in->getType()->getElement()->isCompatible(Element::U8_2(mRS))) && in forEach()
260 !(in->getType()->getElement()->isCompatible(Element::U8_3(mRS))) && in forEach()
261 !(in->getType()->getElement()->isCompatible(Element::U8_4(mRS))) && in forEach()
262 !(in->getType()->getElement()->isCompatible(Element::F32(mRS))) && in forEach()
263 !(in->getType()->getElement()->isCompatible(Element::F32_2(mRS))) && in forEach()
264 !(in->getType()->getElement()->isCompatible(Element::F32_3(mRS))) && in forEach()
265 !(in->getType()->getElement()->isCompatible(Element::F32_4(mRS)))) { in forEach()
270 if (!(out->getType()->getElement()->isCompatible(Element::U8(mRS))) && in forEach()
271 !(out->getType()->getElement()->isCompatible(Element::U8_2(mRS))) && in forEach()
272 !(out->getType()->getElement()->isCompatible(Element::U8_3(mRS))) && in forEach()
273 !(out->getType()->getElement()->isCompatible(Element::U8_4(mRS))) && in forEach()
274 !(out->getType()->getElement()->isCompatible(Element::F32(mRS))) && in forEach()
275 !(out->getType()->getElement()->isCompatible(Element::F32_2(mRS))) && in forEach()
276 !(out->getType()->getElement()->isCompatible(Element::F32_3(mRS))) && in forEach()
277 !(out->getType()->getElement()->isCompatible(Element::F32_4(mRS)))) { in forEach()
339 sp<ScriptIntrinsicConvolve3x3> ScriptIntrinsicConvolve3x3::create(sp<RS> rs, sp<const Element> e) { in create()
340 if (!(e->isCompatible(Element::U8(rs))) && in create()
341 !(e->isCompatible(Element::U8_2(rs))) && in create()
342 !(e->isCompatible(Element::U8_3(rs))) && in create()
343 !(e->isCompatible(Element::U8_4(rs))) && in create()
344 !(e->isCompatible(Element::F32(rs))) && in create()
345 !(e->isCompatible(Element::F32_2(rs))) && in create()
346 !(e->isCompatible(Element::F32_3(rs))) && in create()
347 !(e->isCompatible(Element::F32_4(rs)))) { in create()
355 ScriptIntrinsicConvolve3x3::ScriptIntrinsicConvolve3x3(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicConvolve3x3()
380 sp<ScriptIntrinsicConvolve5x5> ScriptIntrinsicConvolve5x5::create(sp<RS> rs, sp<const Element> e) { in create()
381 if (!(e->isCompatible(Element::U8(rs))) && in create()
382 !(e->isCompatible(Element::U8_2(rs))) && in create()
383 !(e->isCompatible(Element::U8_3(rs))) && in create()
384 !(e->isCompatible(Element::U8_4(rs))) && in create()
385 !(e->isCompatible(Element::F32(rs))) && in create()
386 !(e->isCompatible(Element::F32_2(rs))) && in create()
387 !(e->isCompatible(Element::F32_3(rs))) && in create()
388 !(e->isCompatible(Element::F32_4(rs)))) { in create()
396 ScriptIntrinsicConvolve5x5::ScriptIntrinsicConvolve5x5(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicConvolve5x5()
426 ScriptIntrinsicHistogram::ScriptIntrinsicHistogram(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicHistogram()
432 if (!(out->getType()->getElement()->isCompatible(Element::U32(mRS))) && in setOutput()
433 !(out->getType()->getElement()->isCompatible(Element::U32_2(mRS))) && in setOutput()
434 !(out->getType()->getElement()->isCompatible(Element::U32_3(mRS))) && in setOutput()
435 !(out->getType()->getElement()->isCompatible(Element::U32_4(mRS))) && in setOutput()
436 !(out->getType()->getElement()->isCompatible(Element::I32(mRS))) && in setOutput()
437 !(out->getType()->getElement()->isCompatible(Element::I32_2(mRS))) && in setOutput()
438 !(out->getType()->getElement()->isCompatible(Element::I32_3(mRS))) && in setOutput()
439 !(out->getType()->getElement()->isCompatible(Element::I32_4(mRS)))) { in setOutput()
479 if (!(ain->getType()->getElement()->isCompatible(Element::U8(mRS))) || in forEach()
480 !(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) { in forEach()
497 if (!(ain->getType()->getElement()->isCompatible(Element::U8(mRS))) || in forEach_dot()
498 !(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) { in forEach_dot()
507 sp<ScriptIntrinsicLUT> ScriptIntrinsicLUT::create(sp<RS> rs, sp<const Element> e) { in create()
508 if (!(e->isCompatible(Element::U8_4(rs)))) { in create()
515 ScriptIntrinsicLUT::ScriptIntrinsicLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicLUT()
517 LUT = Allocation::createSized(rs, Element::U8(rs), 1024); in ScriptIntrinsicLUT()
532 if (!(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS))) || in forEach()
533 !(aout->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) { in forEach()
572 sp<ScriptIntrinsicYuvToRGB> ScriptIntrinsicYuvToRGB::create(sp<RS> rs, sp<const Element> e) { in create()
573 if (!(e->isCompatible(Element::U8_4(rs)))) { in create()
580 ScriptIntrinsicYuvToRGB::ScriptIntrinsicYuvToRGB(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicYuvToRGB()
586 if (!(in->getType()->getElement()->isCompatible(Element::YUV(mRS)))) { in setInput()