Home
last modified time | relevance | path

Searched refs:Script (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptGraph.java27 import android.hardware.camera2.cts.rs.Script.ParameterMap;
72 private final List<Script<?>> mScripts;
180 for (Script<?> script : mScripts) { in execute()
242 private final List<ScriptBuilder<? extends Script<?>>> mChainedScriptBuilders =
243 new ArrayList<ScriptBuilder<? extends Script<?>>>();
350 public class ScriptBuilder<T extends Script<?>> {
373 public <K> ScriptBuilder<T> set(Script.ScriptParameter<T, K> parameter, K value) { in set()
416 public <T extends Script<?>> Builder chainScript(Class<T> scriptClass) { in chainScript()
433 public <T extends Script<?>> ScriptBuilder<T> configureScript(Class<T> scriptClass) { in configureScript()
456 List<Builder.ScriptBuilder<? extends Script<?>>> chainedScriptBuilders = in ScriptGraph()
[all …]
DScript.java46 public abstract class Script<T extends android.renderscript.Script> implements UncheckedCloseable { class
53 public static class ParameterMap<ScriptT extends Script<?>> {
54 private final HashMap<Script.ScriptParameter<ScriptT, ?>, Object> mParameterMap =
55 new HashMap<Script.ScriptParameter<ScriptT, ?>, Object>();
74 public <T> T get(Script.ScriptParameter<ScriptT, T> parameter) { in get()
91 public <T> void set(Script.ScriptParameter<ScriptT, T> parameter, T value) { in set()
118 public boolean contains(Script.ScriptParameter<ScriptT, ?> parameter) { in contains()
131 public static class ScriptParameter<J extends Script<?>, K> {
259 protected Script(AllocationInfo inputInfo, AllocationInfo outputInfo, T rsScript) { in Script() method in Script
DScriptYuvCrop.java37 public class ScriptYuvCrop extends Script<ScriptC_crop_yuvf_420_to_yuvx_444> {
47 public static final Script.ScriptParameter<ScriptYuvCrop, RectF> CROP_WINDOW =
48 new Script.ScriptParameter<ScriptYuvCrop, RectF>(ScriptYuvCrop.class,
DScriptYuvToRgb.java31 public class ScriptYuvToRgb extends Script<ScriptIntrinsicYuvToRGB> {
DScriptYuvMeans1d.java33 public class ScriptYuvMeans1d extends Script<ScriptC_means_yuvx_444_1d_to_single>{
DScriptYuvMeans2dTo1d.java36 public class ScriptYuvMeans2dTo1d extends Script<ScriptC_means_yuvx_444_2d_to_1d> {
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DLaunchClip.java114 private void verifyCell(int x, int y, int z, int[] a, Script.LaunchOptions sc) { in verifyCell()
155 void verifyRange(Script.LaunchOptions sc, int[] a) { in verifyRange()
196 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite1D()
207 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite1DAdapter1D()
220 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite2D()
232 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite2DAdapter1D()
245 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite2DAdapter2D()
259 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite3D()
272 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite3DAdapter1D()
287 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite3DAdapter2D()
[all …]
DIntrinsicBlur.java48 private void initTest(int w, int h, Element e, Script.LaunchOptions lo) { in initTest()
88 private void copyOutput(Script.LaunchOptions lo) { in copyOutput()
133 Script.LaunchOptions lo = makeClipper(11, 11, w - 11, h - 11); in testU8_1C()
148 Script.LaunchOptions lo = makeClipper(11, 11, w - 11, h - 11); in testU8_4C()
161 Script.KernelID kid = s.getKernelID(); in test_ID()
166 Script.FieldID fid = s.getFieldID_Input(); in test_ID()
DSingleSourceForEachTest.java21 import android.renderscript.Script;
102 Script.LaunchOptions sc = new Script.LaunchOptions(); in testKernelLaunchWithOptions()
116 Script.LaunchOptions sc = new Script.LaunchOptions(); in testAllocationlessKernelLaunch()
DIntrinsicBase.java24 import android.renderscript.Script;
142 protected Script.LaunchOptions makeClipper(int x, int y, int x2, int y2) { in makeClipper()
143 Script.LaunchOptions lo = new Script.LaunchOptions(); in makeClipper()
DIntrinsicConvolve5x5.java25 Script.LaunchOptions sc) { in test5()
76 …private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve5()
192 Script.KernelID kid = s.getKernelID(); in test_ID()
197 Script.FieldID fid = s.getFieldID_Input(); in test_ID()
DScriptTest.java25 import android.renderscript.Script;
34 Script S = new ScriptC_primitives(mRS); in testScript()
DIntrinsic3DLut.java126 Script.LaunchOptions lo = makeClipper(11, 11, 87, 87); in test1C()
142 Script.LaunchOptions lo = makeClipper(11, 11, 87, 87); in test2C()
155 Script.KernelID kid = s.getKernelID(); in test_ID()
DIntrinsicLut.java83 Script.LaunchOptions lo = makeClipper(11, 11, 87, 87); in test1C()
97 Script.KernelID kid = s.getKernelID(); in test_ID()
DIntrinsicConvolve3x3.java23 …private void testConvolve3(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve3()
255 Script.KernelID kid = s.getKernelID(); in test_ID()
260 Script.FieldID fid = s.getFieldID_Input(); in test_ID()
DClearObjectTest.java23 import android.renderscript.Script;
141 Script script = new ScriptC_clear_object(mRS); in testclearObjectScript()
DSingleSourceAllocationTest.java22 import android.renderscript.Script;
DSetObjectTest.java35 Script script;
DIsObjectTest.java36 Script script;
DFloat16ArithmeticTest.java32 import android.renderscript.Script;
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DRefocusFilterF32.java24 import android.renderscript.Script;
175 Script.LaunchOptions launchOptions = new Script.LaunchOptions(); in filterLayerBehindFocalDepth()
235 Script.LaunchOptions launchOptions = new Script.LaunchOptions(); in filterLayerInFrontOfFocalDepth()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DRefocusFilterd1new.java23 import android.renderscript.Script;
187 Script.LaunchOptions launchOptions = new Script.LaunchOptions(); in filterLayerBehindFocalDepth()
257 Script.LaunchOptions launchOptions = new Script.LaunchOptions(); in filterLayerInFrontOfFocalDepth()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DIntrinsicBase.java24 import android.renderscript.Script;
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dcamera_response_fast.rsh5 // Render Script.
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_object.cpp164 sp<Script> script = new ScriptC_clear_object(mRS); in Java_android_cts_rscpp_RSObjectTest_testClearObjectScript()

12