Searched refs:rs (Results 1 - 25 of 415) sorted by relevance

1234567891011>>

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.image)
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.image2)
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.imagejb)
/frameworks/base/rs/java/android/renderscript/
H A DElement.java308 * @param rs Context to which the element will belong.
312 public static Element BOOLEAN(RenderScript rs) { argument
313 if(rs.mElement_BOOLEAN == null) {
314 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
316 return rs.mElement_BOOLEAN;
322 * @param rs Context to which the element will belong.
326 public static Element U8(RenderScript rs) { argument
327 if(rs.mElement_U8 == null) {
328 rs
340 I8(RenderScript rs) argument
347 U16(RenderScript rs) argument
354 I16(RenderScript rs) argument
361 U32(RenderScript rs) argument
368 I32(RenderScript rs) argument
375 U64(RenderScript rs) argument
382 I64(RenderScript rs) argument
389 F32(RenderScript rs) argument
396 F64(RenderScript rs) argument
403 ELEMENT(RenderScript rs) argument
410 TYPE(RenderScript rs) argument
417 ALLOCATION(RenderScript rs) argument
424 SAMPLER(RenderScript rs) argument
431 SCRIPT(RenderScript rs) argument
438 MESH(RenderScript rs) argument
445 PROGRAM_FRAGMENT(RenderScript rs) argument
452 PROGRAM_VERTEX(RenderScript rs) argument
459 PROGRAM_RASTER(RenderScript rs) argument
466 PROGRAM_STORE(RenderScript rs) argument
473 FONT(RenderScript rs) argument
481 A_8(RenderScript rs) argument
488 RGB_565(RenderScript rs) argument
495 RGB_888(RenderScript rs) argument
502 RGBA_5551(RenderScript rs) argument
509 RGBA_4444(RenderScript rs) argument
516 RGBA_8888(RenderScript rs) argument
523 F32_2(RenderScript rs) argument
530 F32_3(RenderScript rs) argument
537 F32_4(RenderScript rs) argument
544 F64_2(RenderScript rs) argument
551 F64_3(RenderScript rs) argument
558 F64_4(RenderScript rs) argument
565 U8_2(RenderScript rs) argument
572 U8_3(RenderScript rs) argument
579 U8_4(RenderScript rs) argument
586 I8_2(RenderScript rs) argument
593 I8_3(RenderScript rs) argument
600 I8_4(RenderScript rs) argument
607 U16_2(RenderScript rs) argument
614 U16_3(RenderScript rs) argument
621 U16_4(RenderScript rs) argument
628 I16_2(RenderScript rs) argument
635 I16_3(RenderScript rs) argument
642 I16_4(RenderScript rs) argument
649 U32_2(RenderScript rs) argument
656 U32_3(RenderScript rs) argument
663 U32_4(RenderScript rs) argument
670 I32_2(RenderScript rs) argument
677 I32_3(RenderScript rs) argument
684 I32_4(RenderScript rs) argument
691 U64_2(RenderScript rs) argument
698 U64_3(RenderScript rs) argument
705 U64_4(RenderScript rs) argument
712 I64_2(RenderScript rs) argument
719 I64_3(RenderScript rs) argument
726 I64_4(RenderScript rs) argument
733 YUV(RenderScript rs) argument
740 MATRIX_4X4(RenderScript rs) argument
749 MATRIX4X4(RenderScript rs) argument
753 MATRIX_3X3(RenderScript rs) argument
760 MATRIX_2X2(RenderScript rs) argument
767 Element(long id, RenderScript rs, Element[] e, String[] n, int[] as) argument
784 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) argument
803 Element(long id, RenderScript rs) argument
857 createUser(RenderScript rs, DataType dt) argument
878 createVector(RenderScript rs, DataType dt, int size) argument
921 createPixel(RenderScript rs, DataType dt, DataKind dk) argument
1019 Builder(RenderScript rs) argument
[all...]
H A DScriptIntrinsic.java28 ScriptIntrinsic(long id, RenderScript rs) { argument
29 super(id, rs);
H A DProgramRaster.java54 ProgramRaster(long id, RenderScript rs) { argument
55 super(id, rs);
83 public static ProgramRaster CULL_BACK(RenderScript rs) { argument
84 if(rs.mProgramRaster_CULL_BACK == null) {
85 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs);
87 rs.mProgramRaster_CULL_BACK = builder.create();
89 return rs.mProgramRaster_CULL_BACK;
95 public static ProgramRaster CULL_FRONT(RenderScript rs) { argument
96 if(rs.mProgramRaster_CULL_FRONT == null) {
97 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs);
107 CULL_NONE(RenderScript rs) argument
127 Builder(RenderScript rs) argument
[all...]
H A DScriptIntrinsicConvolve5x5.java27 private ScriptIntrinsicConvolve5x5(long id, RenderScript rs) { argument
28 super(id, rs);
46 * @param rs The RenderScript context
51 public static ScriptIntrinsicConvolve5x5 create(RenderScript rs, Element e) { argument
52 if (!e.isCompatible(Element.U8(rs)) &&
53 !e.isCompatible(Element.U8_2(rs)) &&
54 !e.isCompatible(Element.U8_3(rs)) &&
55 !e.isCompatible(Element.U8_4(rs)) &&
56 !e.isCompatible(Element.F32(rs)) &&
57 !e.isCompatible(Element.F32_2(rs))
[all...]
H A DScriptIntrinsicYuvToRGB.java30 ScriptIntrinsicYuvToRGB(long id, RenderScript rs) { argument
31 super(id, rs);
39 * @param rs The RenderScript context
44 public static ScriptIntrinsicYuvToRGB create(RenderScript rs, Element e) { argument
46 long id = rs.nScriptIntrinsicCreate(6, e.getID(rs));
47 ScriptIntrinsicYuvToRGB si = new ScriptIntrinsicYuvToRGB(id, rs);
H A DSampler.java52 Sampler(long id, RenderScript rs) { argument
53 super(id, rs);
95 * @param rs Context to which the sampler will belong.
99 public static Sampler CLAMP_NEAREST(RenderScript rs) { argument
100 if(rs.mSampler_CLAMP_NEAREST == null) {
101 Builder b = new Builder(rs);
106 rs.mSampler_CLAMP_NEAREST = b.create();
108 return rs.mSampler_CLAMP_NEAREST;
115 * @param rs Context to which the sampler will belong.
119 public static Sampler CLAMP_LINEAR(RenderScript rs) { argument
139 CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) argument
159 WRAP_NEAREST(RenderScript rs) argument
179 WRAP_LINEAR(RenderScript rs) argument
199 WRAP_LINEAR_MIP_LINEAR(RenderScript rs) argument
219 MIRRORED_REPEAT_NEAREST(RenderScript rs) argument
239 MIRRORED_REPEAT_LINEAR(RenderScript rs) argument
259 MIRRORED_REPEAT_LINEAR_MIP_LINEAR(RenderScript rs) argument
284 Builder(RenderScript rs) argument
[all...]
H A DScriptIntrinsicConvolve3x3.java27 private ScriptIntrinsicConvolve3x3(long id, RenderScript rs) { argument
28 super(id, rs);
45 * @param rs The RenderScript context
50 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e) { argument
52 if (!e.isCompatible(Element.U8(rs)) &&
53 !e.isCompatible(Element.U8_2(rs)) &&
54 !e.isCompatible(Element.U8_3(rs)) &&
55 !e.isCompatible(Element.U8_4(rs)) &&
56 !e.isCompatible(Element.F32(rs)) &&
57 !e.isCompatible(Element.F32_2(rs))
[all...]
H A DScriptC.java36 * @param rs
38 protected ScriptC(int id, RenderScript rs) { argument
39 super(id, rs);
45 * @param rs
48 protected ScriptC(long id, RenderScript rs) { argument
49 super(id, rs);
55 * @param rs
59 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument
60 super(0, rs);
61 long id = internalCreate(rs, resource
73 ScriptC(RenderScript rs, String resName, byte[] bitcode32, byte[] bitcode64) argument
94 internalCreate(RenderScript rs, Resources resources, int resourceID) argument
135 internalStringCreate(RenderScript rs, String resName, byte[] bitcode) argument
[all...]
H A DPath.java41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { argument
42 super(id, rs);
66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument
67 long id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality);
68 Path newPath = new Path(id, rs, p, null, null, quality);
72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument
76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument
80 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DElement.java305 * @param rs Context to which the element will belong.
309 public static Element BOOLEAN(RenderScript rs) { argument
310 if(rs.mElement_BOOLEAN == null) {
311 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
313 return rs.mElement_BOOLEAN;
319 * @param rs Context to which the element will belong.
323 public static Element U8(RenderScript rs) { argument
324 if(rs.mElement_U8 == null) {
325 rs
337 I8(RenderScript rs) argument
344 U16(RenderScript rs) argument
351 I16(RenderScript rs) argument
358 U32(RenderScript rs) argument
365 I32(RenderScript rs) argument
372 U64(RenderScript rs) argument
379 I64(RenderScript rs) argument
386 F32(RenderScript rs) argument
393 F64(RenderScript rs) argument
400 ELEMENT(RenderScript rs) argument
407 TYPE(RenderScript rs) argument
414 ALLOCATION(RenderScript rs) argument
421 SAMPLER(RenderScript rs) argument
428 SCRIPT(RenderScript rs) argument
436 A_8(RenderScript rs) argument
443 RGB_565(RenderScript rs) argument
450 RGB_888(RenderScript rs) argument
457 RGBA_5551(RenderScript rs) argument
464 RGBA_4444(RenderScript rs) argument
471 RGBA_8888(RenderScript rs) argument
478 F32_2(RenderScript rs) argument
485 F32_3(RenderScript rs) argument
492 F32_4(RenderScript rs) argument
499 F64_2(RenderScript rs) argument
506 F64_3(RenderScript rs) argument
513 F64_4(RenderScript rs) argument
520 U8_2(RenderScript rs) argument
527 U8_3(RenderScript rs) argument
534 U8_4(RenderScript rs) argument
541 I8_2(RenderScript rs) argument
548 I8_3(RenderScript rs) argument
555 I8_4(RenderScript rs) argument
562 U16_2(RenderScript rs) argument
569 U16_3(RenderScript rs) argument
576 U16_4(RenderScript rs) argument
583 I16_2(RenderScript rs) argument
590 I16_3(RenderScript rs) argument
597 I16_4(RenderScript rs) argument
604 U32_2(RenderScript rs) argument
611 U32_3(RenderScript rs) argument
618 U32_4(RenderScript rs) argument
625 I32_2(RenderScript rs) argument
632 I32_3(RenderScript rs) argument
639 I32_4(RenderScript rs) argument
646 U64_2(RenderScript rs) argument
653 U64_3(RenderScript rs) argument
660 U64_4(RenderScript rs) argument
667 I64_2(RenderScript rs) argument
674 I64_3(RenderScript rs) argument
681 I64_4(RenderScript rs) argument
688 MATRIX_4X4(RenderScript rs) argument
695 MATRIX_3X3(RenderScript rs) argument
702 MATRIX_2X2(RenderScript rs) argument
709 Element(int id, RenderScript rs, Element[] e, String[] n, int[] as) argument
726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) argument
745 Element(int id, RenderScript rs) argument
757 createUser(RenderScript rs, DataType dt) argument
782 createVector(RenderScript rs, DataType dt, int size) argument
829 createPixel(RenderScript rs, DataType dt, DataKind dk) argument
931 Builder(RenderScript rs) argument
[all...]
H A DScriptIntrinsic.java28 ScriptIntrinsic(int id, RenderScript rs) { argument
29 super(id, rs);
H A DScriptIntrinsicYuvToRGB.java30 ScriptIntrinsicYuvToRGB(int id, RenderScript rs) { argument
31 super(id, rs);
39 * @param rs The RenderScript context
44 public static ScriptIntrinsicYuvToRGB create(RenderScript rs, Element e) { argument
45 if (rs.isNative) {
46 RenderScriptThunker rst = (RenderScriptThunker) rs;
47 return ScriptIntrinsicYuvToRGBThunker.create(rs, e);
51 int id = rs.nScriptIntrinsicCreate(6, e.getID(rs));
52 ScriptIntrinsicYuvToRGB si = new ScriptIntrinsicYuvToRGB(id, rs);
[all...]
H A DSampler.java65 Sampler(int id, RenderScript rs) { argument
66 super(id, rs);
108 * @param rs Context to which the sampler will belong.
112 public static Sampler CLAMP_NEAREST(RenderScript rs) { argument
113 if(rs.mSampler_CLAMP_NEAREST == null) {
114 Builder b = new Builder(rs);
119 rs.mSampler_CLAMP_NEAREST = b.create();
121 return rs.mSampler_CLAMP_NEAREST;
128 * @param rs Context to which the sampler will belong.
132 public static Sampler CLAMP_LINEAR(RenderScript rs) { argument
152 CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) argument
172 WRAP_NEAREST(RenderScript rs) argument
192 WRAP_LINEAR(RenderScript rs) argument
212 WRAP_LINEAR_MIP_LINEAR(RenderScript rs) argument
232 MIRRORED_REPEAT_NEAREST(RenderScript rs) argument
252 MIRRORED_REPEAT_LINEAR(RenderScript rs) argument
277 Builder(RenderScript rs) argument
[all...]
H A DScriptIntrinsicBlur.java33 protected ScriptIntrinsicBlur(int id, RenderScript rs) { argument
34 super(id, rs);
43 * @param rs The RenderScript context
48 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) { argument
49 if (rs.isNative) {
50 RenderScriptThunker rst = (RenderScriptThunker) rs;
51 return ScriptIntrinsicBlurThunker.create(rs, e);
53 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
56 int id = rs
[all...]
H A DScriptIntrinsic3DLUT.java34 protected ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) { argument
35 super(id, rs);
44 * @param rs The RenderScript context
49 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { argument
50 if (rs.isNative) {
51 RenderScriptThunker rst = (RenderScriptThunker) rs;
52 return ScriptIntrinsic3DLUTThunker.create(rs, e);
54 int id = rs.nScriptIntrinsicCreate(8, e.getID(rs));
56 if (!e.isCompatible(Element.U8_4(rs))) {
[all...]
H A DScriptIntrinsicConvolve3x3.java29 ScriptIntrinsicConvolve3x3(int id, RenderScript rs) { argument
30 super(id, rs);
44 * @param rs The RenderScript context
49 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e) { argument
50 if (rs.isNative) {
51 RenderScriptThunker rst = (RenderScriptThunker) rs;
52 return ScriptIntrinsicConvolve3x3Thunker.create(rs, e);
56 if (!e.isCompatible(Element.U8_4(rs))) {
59 int id = rs.nScriptIntrinsicCreate(1, e.getID(rs));
[all...]
H A DScriptIntrinsicConvolve5x5.java29 ScriptIntrinsicConvolve5x5(int id, RenderScript rs) { argument
30 super(id, rs);
45 * @param rs The RenderScript context
50 public static ScriptIntrinsicConvolve5x5 create(RenderScript rs, Element e) { argument
51 if (rs.isNative) {
52 RenderScriptThunker rst = (RenderScriptThunker) rs;
53 return ScriptIntrinsicConvolve5x5Thunker.create(rs, e);
55 int id = rs.nScriptIntrinsicCreate(4, e.getID(rs));
56 return new ScriptIntrinsicConvolve5x5(id, rs);
[all...]
/frameworks/rs/cpp/
H A DrsCppInternal.h23 #define tryDispatch(rs, dispatch) \
24 if (rs->getError() == RS_SUCCESS) { \
28 #define createDispatch(rs, dispatch) \
29 rs->getError() == RS_SUCCESS ? dispatch : NULL
H A DScriptC.cpp22 ScriptC::ScriptC(sp<RS> rs, argument
26 : Script(NULL, rs) {
27 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
28 rs->mCacheDir.c_str(), rs->mCacheDir.length(), (const char *)codeTxt, codeLength);
/frameworks/rs/tests/latency/
H A Dlatency.rs18 #pragma rs java_package_name(com.android.rs.cpptests)
/frameworks/rs/tests/cppbasic-getpointer/
H A Dmono.rs18 #pragma rs java_package_name(com.android.rs.cppbasic)
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DMandelbrot.java17 package com.example.android.rs.computeperf;
27 Mandelbrot(RenderScript rs, Resources res) { argument
28 mRS = rs;
31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs));
34 mAllocationXY = Allocation.createTyped(rs, tb.create());

Completed in 311 milliseconds

1234567891011>>