Lines Matching refs:sp
53 sp<const Element> makeElement(sp<RS> rs, RsDataType dt, int vecSize) {
72 sp<RS> rs = new RS();
93 sp<RS> rs = new RS();
96 sp<const Element> e;
103 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
104 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
105 sp<ScriptIntrinsicBlur> blur = ScriptIntrinsicBlur::create(rs, e);
134 sp<RS> rs = new RS();
137 sp<const Element> e = Element::A_8(rs);
139 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
140 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
146 sp<ScriptIntrinsicConvolve3x3> convolve = ScriptIntrinsicConvolve3x3::create(rs, e);
151 sp<ScriptIntrinsicConvolve5x5> convolve = ScriptIntrinsicConvolve5x5::create(rs, e);
179 sp<RS> rs = new RS();
182 sp<const Element> e = Element::RGBA_8888(rs);
184 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
185 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
186 sp<ScriptIntrinsicLUT> lut = ScriptIntrinsicLUT::create(rs, e);
222 sp<RS> rs = new RS();
225 sp<const Element> e = Element::RGBA_8888(rs);
233 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
234 sp<Allocation> colorCube = Allocation::createTyped(rs, builder.create());
235 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
236 sp<ScriptIntrinsic3DLUT> lut = ScriptIntrinsic3DLUT::create(rs, e);
266 sp<RS> rs = new RS();
269 sp<const Element> e = Element::RGBA_8888(rs);
271 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
272 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
276 sp<ScriptIntrinsicColorMatrix> cm = ScriptIntrinsicColorMatrix::create(rs);
314 sp<RS> rs = new RS();
317 sp<const Element> e = Element::RGBA_8888(rs);
319 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
320 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
325 sp<ScriptIntrinsicBlend> blend = ScriptIntrinsicBlend::create(rs, e);
402 sp<RS> rs = new RS();
409 sp<const Element> e = makeElement(rs, dt, vecSize);
410 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
414 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, outX, outY);
415 sp<ScriptIntrinsicResize> resize = ScriptIntrinsicResize::create(rs);
459 sp<RS> mRS = new RS();
463 sp<ScriptIntrinsicYuvToRGB> syuv = ScriptIntrinsicYuvToRGB::create(mRS, Element::U8_4(mRS));;
464 sp<Allocation> inputAlloc = nullptr;
481 sp<const Type> tout = Type::create(mRS, Element::RGBA_8888(mRS), X, Y, 0);
482 sp<Allocation> outputAlloc = Allocation::createTyped(mRS, tout);