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

1234567891011>>

/frameworks/base/rs/java/android/renderscript/
H A DElement.java309 * @param rs Context to which the element will belong.
313 public static Element BOOLEAN(RenderScript rs) { argument
314 if (rs.mElement_BOOLEAN == null) {
315 synchronized (rs) {
316 if (rs.mElement_BOOLEAN == null) {
317 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
321 return rs.mElement_BOOLEAN;
327 * @param rs Context to which the element will belong.
331 public static Element U8(RenderScript rs) { argument
349 I8(RenderScript rs) argument
360 U16(RenderScript rs) argument
371 I16(RenderScript rs) argument
382 U32(RenderScript rs) argument
393 I32(RenderScript rs) argument
404 U64(RenderScript rs) argument
415 I64(RenderScript rs) argument
426 F16(RenderScript rs) argument
437 F32(RenderScript rs) argument
448 F64(RenderScript rs) argument
459 ELEMENT(RenderScript rs) argument
470 TYPE(RenderScript rs) argument
481 ALLOCATION(RenderScript rs) argument
492 SAMPLER(RenderScript rs) argument
503 SCRIPT(RenderScript rs) argument
514 MESH(RenderScript rs) argument
525 PROGRAM_FRAGMENT(RenderScript rs) argument
536 PROGRAM_VERTEX(RenderScript rs) argument
547 PROGRAM_RASTER(RenderScript rs) argument
558 PROGRAM_STORE(RenderScript rs) argument
569 FONT(RenderScript rs) argument
580 A_8(RenderScript rs) argument
591 RGB_565(RenderScript rs) argument
602 RGB_888(RenderScript rs) argument
613 RGBA_5551(RenderScript rs) argument
624 RGBA_4444(RenderScript rs) argument
635 RGBA_8888(RenderScript rs) argument
646 F16_2(RenderScript rs) argument
657 F16_3(RenderScript rs) argument
668 F16_4(RenderScript rs) argument
679 F32_2(RenderScript rs) argument
690 F32_3(RenderScript rs) argument
701 F32_4(RenderScript rs) argument
712 F64_2(RenderScript rs) argument
723 F64_3(RenderScript rs) argument
734 F64_4(RenderScript rs) argument
745 U8_2(RenderScript rs) argument
756 U8_3(RenderScript rs) argument
767 U8_4(RenderScript rs) argument
778 I8_2(RenderScript rs) argument
789 I8_3(RenderScript rs) argument
800 I8_4(RenderScript rs) argument
811 U16_2(RenderScript rs) argument
822 U16_3(RenderScript rs) argument
833 U16_4(RenderScript rs) argument
844 I16_2(RenderScript rs) argument
855 I16_3(RenderScript rs) argument
866 I16_4(RenderScript rs) argument
877 U32_2(RenderScript rs) argument
888 U32_3(RenderScript rs) argument
899 U32_4(RenderScript rs) argument
910 I32_2(RenderScript rs) argument
921 I32_3(RenderScript rs) argument
932 I32_4(RenderScript rs) argument
943 U64_2(RenderScript rs) argument
954 U64_3(RenderScript rs) argument
965 U64_4(RenderScript rs) argument
976 I64_2(RenderScript rs) argument
987 I64_3(RenderScript rs) argument
998 I64_4(RenderScript rs) argument
1009 YUV(RenderScript rs) argument
1020 MATRIX_4X4(RenderScript rs) argument
1033 MATRIX4X4(RenderScript rs) argument
1037 MATRIX_3X3(RenderScript rs) argument
1048 MATRIX_2X2(RenderScript rs) argument
1059 Element(long id, RenderScript rs, Element[] e, String[] n, int[] as) argument
1076 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) argument
1095 Element(long id, RenderScript rs) argument
1149 createUser(RenderScript rs, DataType dt) argument
1170 createVector(RenderScript rs, DataType dt, int size) argument
1214 createPixel(RenderScript rs, DataType dt, DataKind dk) argument
1312 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);
96 * @param rs Context to which the sampler will belong.
100 public static Sampler CLAMP_NEAREST(RenderScript rs) { argument
101 if (rs.mSampler_CLAMP_NEAREST == null) {
102 synchronized (rs) {
103 if (rs.mSampler_CLAMP_NEAREST == null) {
104 Builder b = new Builder(rs);
109 rs.mSampler_CLAMP_NEAREST = b.create();
113 return rs
124 CLAMP_LINEAR(RenderScript rs) argument
148 CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) argument
172 WRAP_NEAREST(RenderScript rs) argument
196 WRAP_LINEAR(RenderScript rs) argument
220 WRAP_LINEAR_MIP_LINEAR(RenderScript rs) argument
244 MIRRORED_REPEAT_NEAREST(RenderScript rs) argument
268 MIRRORED_REPEAT_LINEAR(RenderScript rs) argument
292 MIRRORED_REPEAT_LINEAR_MIP_LINEAR(RenderScript rs) argument
321 Builder(RenderScript rs) argument
[all...]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.image)
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.image2)
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.imagejb)
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.sgtest)
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
H A Dreduce_auto_comb.rs23 #pragma rs java_package_name(com.android.rs.lldbreductiontest)
25 #pragma rs reduce(find_min_user_type_auto_comb) \
H A Dreduce.rs23 #pragma rs java_package_name(com.android.rs.lldbreductiontest)
25 #pragma rs reduce(find_min_user_type) initializer(find_min_user_type_init) \
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DElement.java313 * @param rs Context to which the element will belong.
317 public static Element BOOLEAN(RenderScript rs) { argument
318 if(rs.mElement_BOOLEAN == null) {
319 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
321 return rs.mElement_BOOLEAN;
327 * @param rs Context to which the element will belong.
331 public static Element U8(RenderScript rs) { argument
332 if(rs.mElement_U8 == null) {
333 rs
345 I8(RenderScript rs) argument
352 U16(RenderScript rs) argument
359 I16(RenderScript rs) argument
366 U32(RenderScript rs) argument
373 I32(RenderScript rs) argument
380 U64(RenderScript rs) argument
387 I64(RenderScript rs) argument
394 F32(RenderScript rs) argument
401 F64(RenderScript rs) argument
408 ELEMENT(RenderScript rs) argument
415 TYPE(RenderScript rs) argument
422 ALLOCATION(RenderScript rs) argument
429 SAMPLER(RenderScript rs) argument
436 SCRIPT(RenderScript rs) argument
444 A_8(RenderScript rs) argument
451 RGB_565(RenderScript rs) argument
458 RGB_888(RenderScript rs) argument
465 RGBA_5551(RenderScript rs) argument
472 RGBA_4444(RenderScript rs) argument
479 RGBA_8888(RenderScript rs) argument
486 F32_2(RenderScript rs) argument
493 F32_3(RenderScript rs) argument
500 F32_4(RenderScript rs) argument
507 F64_2(RenderScript rs) argument
514 F64_3(RenderScript rs) argument
521 F64_4(RenderScript rs) argument
528 U8_2(RenderScript rs) argument
535 U8_3(RenderScript rs) argument
542 U8_4(RenderScript rs) argument
549 I8_2(RenderScript rs) argument
556 I8_3(RenderScript rs) argument
563 I8_4(RenderScript rs) argument
570 U16_2(RenderScript rs) argument
577 U16_3(RenderScript rs) argument
584 U16_4(RenderScript rs) argument
591 I16_2(RenderScript rs) argument
598 I16_3(RenderScript rs) argument
605 I16_4(RenderScript rs) argument
612 U32_2(RenderScript rs) argument
619 U32_3(RenderScript rs) argument
626 U32_4(RenderScript rs) argument
633 I32_2(RenderScript rs) argument
640 I32_3(RenderScript rs) argument
647 I32_4(RenderScript rs) argument
654 U64_2(RenderScript rs) argument
661 U64_3(RenderScript rs) argument
668 U64_4(RenderScript rs) argument
675 I64_2(RenderScript rs) argument
682 I64_3(RenderScript rs) argument
689 I64_4(RenderScript rs) argument
696 MATRIX_4X4(RenderScript rs) argument
703 MATRIX_3X3(RenderScript rs) argument
710 MATRIX_2X2(RenderScript rs) argument
717 Element(long id, RenderScript rs, Element[] e, String[] n, int[] as) argument
734 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) argument
753 Element(long id, RenderScript rs) argument
772 createUser(RenderScript rs, DataType dt) argument
793 createVector(RenderScript rs, DataType dt, int size) argument
836 createPixel(RenderScript rs, DataType dt, DataKind dk) argument
932 Builder(RenderScript rs) argument
[all...]
H A DScriptIntrinsic.java28 ScriptIntrinsic(long id, RenderScript rs) { argument
29 super(id, rs);
/frameworks/rs/cpp/
H A DrsCppInternal.h26 #define tryDispatch(rs, dispatch) \
27 if ((rs)->getError() == RS_SUCCESS) { \
31 #define createDispatch(rs, dispatch) \
32 rs->getError() == RS_SUCCESS ? (dispatch) : nullptr
H A DScriptC.cpp22 ScriptC::ScriptC(sp<RS> rs, argument
26 : Script(nullptr, rs) {
27 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
28 rs->mCacheDir, rs->mCacheDirLen, (const char *)codeTxt, codeLength);
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A Dmodulo.rs19 #pragma rs java_package_name(com.android.rs.rsov.test)
/frameworks/rs/tests/cpp_api/latency/
H A Dlatency.rs18 #pragma rs java_package_name(com.android.rs.cpptests)
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A Ddouble.rs18 #pragma rs java_package_name(com.android.rs.test)
H A Dincrement.rs18 #pragma rs java_package_name(com.android.rs.test)
/frameworks/rs/tests/lldb/cpp/MultipleRSFiles/
H A DMultipleRSFiles.cpp25 sp<RS> rs = new RS(); local
27 rs->init("/data/rscache", RS_INIT_LOW_LATENCY | RS_INIT_WAIT_FOR_ATTACH);
29 auto e = Element::RGBA_8888(rs);
30 Type::Builder tb(rs, e);
35 auto a = Allocation::createTyped(rs, t);
36 auto b = Allocation::createTyped(rs, t);
39 sp<ScriptC_first> s1 = new ScriptC_first(rs);
40 sp<ScriptC_second> s2 = new ScriptC_second(rs);
49 rs->finish();
H A DAndroid.mk8 first.rs \
9 second.rs
11 include frameworks/rs/tests/lldb/cpp/common.mk
/frameworks/rs/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/
H A DAndroid.mk6 LOCAL_SRC_FILES := jnimultiplersfiles.cpp first.rs second.rs
10 include frameworks/rs/tests/lldb/jni/common.mk
/frameworks/rs/tests/cpp_api/cppf16/
H A Dcompute.cpp11 void testAllocationCreation(const sp<RS>& rs, const sp<const Element>& e, uint32_t nDims) { argument
12 Type::Builder tb(rs, e);
20 sp<Allocation> alloc = Allocation::createTyped(rs, t);
25 sp<RS> rs = new RS(); local
27 if (!rs->init("/system/bin")) {
34 sp<const Element> half = Element::F16(rs);
35 sp<const Element> half2 = Element::F16_2(rs);
36 sp<const Element> half3 = Element::F16_3(rs);
37 sp<const Element> half4 = Element::F16_4(rs);
40 testAllocationCreation(rs, hal
[all...]
/frameworks/rs/tests/lldb/cpp/WaitAttach/
H A DWaitAttach.cpp24 sp<RS> rs = new RS(); local
26 rs->init("/data/rscache", RS_INIT_LOW_LATENCY | RS_INIT_WAIT_FOR_ATTACH);
28 auto e = Element::RGBA_8888(rs);
29 Type::Builder tb(rs, e);
34 auto a = Allocation::createTyped(rs, t);
35 auto b = Allocation::createTyped(rs, t);
38 sp<ScriptC_simple> s = new ScriptC_simple(rs);
46 rs->finish();

Completed in 464 milliseconds

1234567891011>>