/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_allocation.cpp | 34 static void createTypedHelper (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 …]
|
D | Android.mk | 35 setelementat.rs \ 36 primitives.rs \ 37 instance.rs \ 38 clear_object.rs \ 39 foreach.rs \ 40 fe_all.rs \ 41 noroot.rs \ 42 vector.rs 45 LOCAL_C_INCLUDES += frameworks/rs/cpp 46 LOCAL_C_INCLUDES += frameworks/rs
|
D | rs_jni.cpp | 53 sp<const Element> makeElement(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/ |
D | ScriptC_set_target_api_12.java | 32 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()
|
D | ScriptC_set_target_api_16.java | 32 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()
|
D | ScriptC_set_target_api_17.java | 32 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()
|
D | ScriptC_set_target_api_18.java | 32 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()
|
D | ScriptC_set_target_api_14.java | 32 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()
|
D | ScriptC_set_target_api_too_high.java | 32 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()
|
D | ScriptC_set_target_api_19.java | 32 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()
|
D | ScriptC_set_target_api_11.java | 32 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()
|
D | ScriptC_set_target_api_13.java | 32 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()
|
D | ScriptC_set_target_api_15.java | 32 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()
|
D | ScriptC_leak.java | 32 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/hardware/src/android/hardware/camera2/cts/rs/ |
D | BitmapUtils.java | 16 package android.hardware.camera2.cts.rs; 46 public static int[] calcHistograms(RenderScript rs, Bitmap bmap) { in calcHistograms() argument 47 ScriptIntrinsicHistogram hist = ScriptIntrinsicHistogram.create(rs, Element.U8_4(rs)); in calcHistograms() 48 Allocation sums = Allocation.createSized(rs, Element.I32_4(rs), COLOR_BIT_DEPTH); in calcHistograms() 51 Allocation input = Allocation.createFromBitmap(rs, bmap); in calcHistograms()
|
D | ScriptYuvToRgb.java | 16 package android.hardware.camera2.cts.rs; 22 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo;
|
D | ScriptYuvMeans1d.java | 17 package android.hardware.camera2.cts.rs; 23 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo;
|
D | RawConverter.java | 17 package android.hardware.camera2.cts.rs; 179 public static void convertToSRGB(RenderScript rs, int inputWidth, int inputHeight, in convertToSRGB() argument 213 convertToSRGB(rs, inputWidth, inputHeight, inputStride, cfa, blackLevelPattern, whiteLevel, in convertToSRGB() 223 private static void convertToSRGB(RenderScript rs, int inputWidth, int inputHeight, in convertToSRGB() argument 232 if (argbOutput == null || rs == null || rawImageInput == null) { in convertToSRGB() 281 gainMap = createFloat4Allocation(rs, lsm, lensShadingMap.getColumnCount(), in convertToSRGB() 317 Allocation output = Allocation.createFromBitmap(rs, argbOutput); in convertToSRGB() 323 Type.Builder typeBuilder = new Type.Builder(rs, Element.U16(rs)); in convertToSRGB() 327 Allocation input = Allocation.createTyped(rs, inputType); in convertToSRGB() 331 ScriptC_raw_converter converterKernel = new ScriptC_raw_converter(rs); in convertToSRGB() [all …]
|
D | ScriptYuvMeans2dTo1d.java | 17 package android.hardware.camera2.cts.rs; 25 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | DoubleTest.java | 26 RenderScript rs = RenderScript.create(getContext()); in testDoubleGlobal() local 27 ScriptC_doubleglobal dc = new ScriptC_doubleglobal(rs); in testDoubleGlobal() 30 Allocation out = Allocation.createSized(rs, Element.F32(rs), big); in testDoubleGlobal()
|
D | RSBaseCompute.java | 76 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.I64(rs); in getElement() 86 element = Element.U64(rs); in getElement() 88 element = Element.I32(rs); in getElement() 90 element = Element.U32(rs); in getElement() 92 element = Element.I16(rs); in getElement() 94 element = Element.U16(rs); in getElement() 96 element = Element.I8(rs); in getElement() [all …]
|
D | increment.rs | 18 #pragma rs java_package_name(android.renderscript.cts)
|
D | double.rs | 18 #pragma rs java_package_name(android.renderscript.cts)
|
D | passthrough.rs | 2 #pragma rs java_package_name(android.renderscript.cts)
|
/cts/tests/tests/renderscript/libcoremathtestcpp/ |
D | Android.mk | 28 LOCAL_C_INCLUDES += frameworks/rs/cpp 29 LOCAL_C_INCLUDES += frameworks/rs
|