Home
last modified time | relevance | path

Searched refs:rs (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp34 static void createTypedHelper (const sp<RS> &rs, sp<const Element> e) { in createTypedHelper() argument
35 Type::Builder typeBuilder(rs, e); in createTypedHelper()
48 Allocation::createTyped(rs, typeBuilder.create()); in createTypedHelper()
61 sp<RS> rs = new RS(); in Java_android_cts_rscpp_RSAllocationTest_typedTest() local
62 rs->init(path); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
65 createTypedHelper(rs, Element::A_8(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
66 createTypedHelper(rs, Element::RGBA_4444(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
67 createTypedHelper(rs, Element::RGBA_5551(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
68 createTypedHelper(rs, Element::RGB_565(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
69 createTypedHelper(rs, Element::RGB_888(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
[all …]
Drs_jni.cpp53 sp<const Element> makeElement(const sp<RS> &rs, RsDataType dt, int vecSize) { in makeElement() argument
55 return Element::createVector(rs, dt, vecSize); in makeElement()
58 return Element::U8(rs); in makeElement()
60 return Element::F32(rs); in makeElement()
72 sp<RS> rs = new RS(); in Java_android_cts_rscpp_RSInitTest_initTest() local
73 r &= rs->init(path); in Java_android_cts_rscpp_RSInitTest_initTest()
93 sp<RS> rs = new RS(); in Java_android_cts_rscpp_RSBlurTest_blurTest() local
94 rs->init(path); in Java_android_cts_rscpp_RSBlurTest_blurTest()
98 e = Element::A_8(rs); in Java_android_cts_rscpp_RSBlurTest_blurTest()
100 e = Element::RGBA_8888(rs); in Java_android_cts_rscpp_RSBlurTest_blurTest()
[all …]
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DScriptC_set_target_api_14.java32 public ScriptC_set_target_api_14(RenderScript rs) { in ScriptC_set_target_api_14() argument
33 this(rs, in ScriptC_set_target_api_14()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_14()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_14()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_14()
40 public ScriptC_set_target_api_14(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_14() argument
41 super(rs, resources, id); in ScriptC_set_target_api_14()
DScriptC_set_target_api_11.java32 public ScriptC_set_target_api_11(RenderScript rs) { in ScriptC_set_target_api_11() argument
33 this(rs, in ScriptC_set_target_api_11()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_11()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_11()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_11()
40 public ScriptC_set_target_api_11(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_11() argument
41 super(rs, resources, id); in ScriptC_set_target_api_11()
DScriptC_set_target_api_16.java32 public ScriptC_set_target_api_16(RenderScript rs) { in ScriptC_set_target_api_16() argument
33 this(rs, in ScriptC_set_target_api_16()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_16()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_16()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_16()
40 public ScriptC_set_target_api_16(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_16() argument
41 super(rs, resources, id); in ScriptC_set_target_api_16()
DScriptC_set_target_api_15.java32 public ScriptC_set_target_api_15(RenderScript rs) { in ScriptC_set_target_api_15() argument
33 this(rs, in ScriptC_set_target_api_15()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_15()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_15()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_15()
40 public ScriptC_set_target_api_15(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_15() argument
41 super(rs, resources, id); in ScriptC_set_target_api_15()
DScriptC_set_target_api_too_high.java32 public ScriptC_set_target_api_too_high(RenderScript rs) { in ScriptC_set_target_api_too_high() argument
33 this(rs, in ScriptC_set_target_api_too_high()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_too_high()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_too_high()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_too_high()
40 public ScriptC_set_target_api_too_high(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_too_high() argument
41 super(rs, resources, id); in ScriptC_set_target_api_too_high()
DScriptC_set_target_api_18.java32 public ScriptC_set_target_api_18(RenderScript rs) { in ScriptC_set_target_api_18() argument
33 this(rs, in ScriptC_set_target_api_18()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_18()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_18()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_18()
40 public ScriptC_set_target_api_18(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_18() argument
41 super(rs, resources, id); in ScriptC_set_target_api_18()
DScriptC_set_target_api_19.java32 public ScriptC_set_target_api_19(RenderScript rs) { in ScriptC_set_target_api_19() argument
33 this(rs, in ScriptC_set_target_api_19()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_19()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_19()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_19()
40 public ScriptC_set_target_api_19(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_19() argument
41 super(rs, resources, id); in ScriptC_set_target_api_19()
DScriptC_set_target_api_12.java32 public ScriptC_set_target_api_12(RenderScript rs) { in ScriptC_set_target_api_12() argument
33 this(rs, in ScriptC_set_target_api_12()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_12()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_12()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_12()
40 public ScriptC_set_target_api_12(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_12() argument
41 super(rs, resources, id); in ScriptC_set_target_api_12()
DScriptC_set_target_api_13.java32 public ScriptC_set_target_api_13(RenderScript rs) { in ScriptC_set_target_api_13() argument
33 this(rs, in ScriptC_set_target_api_13()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_13()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_13()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_13()
40 public ScriptC_set_target_api_13(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_13() argument
41 super(rs, resources, id); in ScriptC_set_target_api_13()
DScriptC_set_target_api_17.java32 public ScriptC_set_target_api_17(RenderScript rs) { in ScriptC_set_target_api_17() argument
33 this(rs, in ScriptC_set_target_api_17()
34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_17()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_17()
37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_17()
40 public ScriptC_set_target_api_17(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_17() argument
41 super(rs, resources, id); in ScriptC_set_target_api_17()
DScriptC_leak.java32 public ScriptC_leak(RenderScript rs) { in ScriptC_leak() argument
33 this(rs, in ScriptC_leak()
34 rs.getApplicationContext().getResources(), in ScriptC_leak()
35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_leak()
37 rs.getApplicationContext().getPackageName())); in ScriptC_leak()
40 public ScriptC_leak(RenderScript rs, Resources resources, int id) { in ScriptC_leak() argument
41 super(rs, resources, id); in ScriptC_leak()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DDebugContext.java184 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_Normal()
227 (RenderScript rs)-> new Type.Builder(rs, Element.I16(rs)), in testDebugContextRsAllocationCopy2D_Short_Normal()
281 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadSrcLOD()
305 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadDstLOD()
330 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadCount()
353 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadSrcOffset()
377 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadDstOffset()
402 (RenderScript rs)-> new Type.Builder(rs, Element.I16(rs)), in testDebugContextRsAllocationCopy2D_Short_BadYCount()
DRSBaseCompute.java76 protected Element getElement(RenderScript rs, Element.DataType dataType, int size) { in getElement() argument
80 element = Element.F64(rs); in getElement()
82 element = Element.F32(rs); in getElement()
84 element = Element.F16(rs); in getElement()
86 element = Element.I64(rs); in getElement()
88 element = Element.U64(rs); in getElement()
90 element = Element.I32(rs); in getElement()
92 element = Element.U32(rs); in getElement()
94 element = Element.I16(rs); in getElement()
96 element = Element.U16(rs); in getElement()
[all …]
DDoubleTest.java27 RenderScript rs = RenderScript.create(getContext()); in testDoubleGlobal() local
28 ScriptC_doubleglobal dc = new ScriptC_doubleglobal(rs); in testDoubleGlobal()
31 Allocation out = Allocation.createSized(rs, Element.F32(rs), big); in testDoubleGlobal()
Dreduce.rscript36 #pragma rs reduce(addint) \
45 #pragma rs reduce(findMinAndMax) \
98 #pragma rs reduce(findMinAndMaxHalf) \
149 #pragma rs reduce(findMinAndMaxHalfIntoArray) \
171 #pragma rs reduce(findMinAndMaxHalf2) \
233 #pragma rs reduce(findMinMat) \
266 #pragma rs reduce(findMinAndMaxMat) \
320 #pragma rs reduce(fz) \
337 #pragma rs reduce(fz2) \
359 #pragma rs reduce(fz3) \
[all …]
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DAppCallbackAudioSink.cpp25 jint rs = env->GetJavaVM(&mJVM); in AppCallbackAudioSink() local
37 int rs = mJVM->AttachCurrentThread(&env, NULL); in init() local
57 int rs = mJVM->AttachCurrentThread(&env, NULL); in stop() local
73 int rs = mJVM->AttachCurrentThread(&env, NULL); in push() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRefocusTest.java60 RenderScript rs = RenderScript.create(ctx); in refocus() local
67 RsTaskParams rsTaskParam = new RsTaskParams(rs, current_depth_options); in refocus()
69 RenderScriptTask renderScriptTask = new RenderScriptTask(rs, impl); in refocus()
84 rs.destroy(); in refocus()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestNanHalf.rscript17 // Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh.
20 #pragma rs java_package_name(android.renderscript.cts)
DTestNan.rscript17 // Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh.
20 #pragma rs java_package_name(android.renderscript.cts)
/cts/hostsidetests/jdwptunnel/sampleapps/ddmsapp/agent/
Dddms_agent.cc37 static void Dealloc(T* t, Rest... rs) { in Dealloc() argument
39 Dealloc(rs...); in Dealloc()
/cts/tests/tests/renderscriptlegacy/
DOWNERS2 include platform/frameworks/rs:/OWNERS
/cts/tests/tests/rsblas/
DOWNERS2 include platform/frameworks/rs:/OWNERS
/cts/tests/tests/rscpp/
DOWNERS2 include platform/frameworks/rs:/OWNERS

12345678910>>...14