Searched refs:Element (Results 101 - 125 of 314) sorted by relevance

1234567891011>>

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DUsageIO.java23 import android.renderscript.Element;
41 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
H A DBlur25.java22 import android.renderscript.Element;
71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
H A DBlur25G.java23 import android.renderscript.Element;
67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DColorMatrix.java22 import android.renderscript.Element;
49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
H A DCrossProcess.java22 import android.renderscript.Element;
31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
H A DBlur25.java22 import android.renderscript.Element;
71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000);
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_apitest.java35 Element elem = Element.I8(pRS);
H A DUT_script_group2_float.java48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE);
60 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE),
69 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE),
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_apitest.java35 Element elem = Element.I8(pRS);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_check_dims.java36 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS));
45 typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_script_group2_float.java48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE);
60 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE),
69 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE),
/frameworks/rs/
H A DrsProgram.h54 Element **inputElements;
78 ObjectBaseRef<Element> *mInputElements;
H A DrsScriptIntrinsic.h31 ObjectBaseRef<const Element> mElement;
36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e);
H A DrsProgramFragment.cpp106 ObjectBaseRef<const Element> colorElem = Element::createRef(rsc, RS_TYPE_FLOAT_32, RS_KIND_USER, false, 4);
109 const Element *eins[] = {colorElem.get()};
110 ObjectBaseRef<const Element> constInput = Element::create(rsc, 1, eins, enames);
/frameworks/rs/tests/cppallocation/
H A Dcompute.cpp27 sp<const Element> e = Element::U32(rs);
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java54 mYuv = ScriptIntrinsicYuvToRGB.create(rs, Element.RGBA_8888(mRS));
78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS));
86 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV));
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessMethodAdapters.java38 import javax.lang.model.element.Element;
89 for (Element element : AnnotationUtil
185 private static void warnAttributeNamespace(Element element, String attribute) {
191 private static void warnAttributeNamespaces(Element element, String[] attributes) {
198 for (Element element : AnnotationUtil
218 for (Element element : AnnotationUtil
243 for (Element element : AnnotationUtil
281 for (Element element : AnnotationUtil
306 for (Element element : AnnotationUtil.
316 for (Element elemen
[all...]
/frameworks/rs/cpp/
H A DScriptIntrinsicBLAS.cpp25 ScriptIntrinsicBLAS::ScriptIntrinsicBLAS(sp<RS> rs, sp<const Element> e)
31 return new ScriptIntrinsicBLAS(rs, Element::U32(rs));
175 static void validateGEMV(RS* mRS, sp<const Element> e, RsBlasTranspose TransA, sp<Allocation> A,
182 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
207 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY);
218 validateGEMV(mRS, Element::F64(mRS), TransA, A, X, incX, Y, incY);
229 validateGEMV(mRS, Element::F32_2(mRS), TransA, A, X, incX, Y, incY);
240 validateGEMV(mRS, Element::F64_2(mRS), TransA, A, X, incX, Y, incY);
252 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY);
268 validateGEMV(mRS, Element
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBLAS.java193 long id = rs.nScriptIntrinsicCreate(13, Element.U32(rs).getID(rs));
275 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
282 throw new RSRuntimeException("Called BLAS with wrong Element type");
313 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
314 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
317 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
321 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY);
335 * @param A The input allocation contains matrix A, supported elements type {@link Element#F64}.
336 * @param X The input allocation contains vector x, supported elements type {@link Element#F64}.
339 * @param Y The input allocation contains vector y, supported elements type {@link Element#F6
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBLAS.java198 id = rs.nScriptIntrinsicCreate(13, Element.U32(rs).getID(rs), mUseIncSupp);
282 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
289 throw new RSRuntimeException("Called BLAS with wrong Element type");
320 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
321 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
324 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
328 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY);
352 * @param A The input allocation contains matrix A, supported elements type {@link Element#F64}.
353 * @param X The input allocation contains vector x, supported elements type {@link Element#F64}.
356 * @param Y The input allocation contains vector y, supported elements type {@link Element#F6
[all...]
H A DType.java26 * <p>A Type describes the {@link android.support.v8.renderscript.Element} and
31 * <p>A Type always includes an {@link android.support.v8.renderscript.Element}
62 Element mElement;
81 * @return Element
83 public Element getElement() {
205 * @param e The Element for the Type
210 static public Type createX(RenderScript rs, Element e, int dimX) {
228 * @param e The Element for the Type
234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) {
253 * @param e The Element fo
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DCollection.h19 #include "Element.h"
40 * Policy Element supported are:
47 class Collection : public std::map<Key, Element<Key> *>
50 typedef std::map<Key, Element<Key> *> Base;
51 typedef Element<Key> T;
138 * @tparam T: type of the policyElement. Policy Element supported are:
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DGroupTest.java44 mConvolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
45 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
59 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java23 import android.renderscript.Element;
44 Type.Builder yuvTypeBuilder = new Type.Builder(rs, Element.YUV(rs));
52 Type.Builder rgbTypeBuilder = new Type.Builder(rs, Element.RGBA_8888(rs));

Completed in 410 milliseconds

1234567891011>>