Home
last modified time | relevance | path

Searched refs:Script (Results 1 – 25 of 28) 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;
149 for (Script<?> script : mScripts) { in execute()
211 private final List<ScriptBuilder<? extends Script<?>>> mChainedScriptBuilders =
212 new ArrayList<ScriptBuilder<? extends Script<?>>>();
319 public class ScriptBuilder<T extends Script<?>> {
342 public <K> ScriptBuilder<T> set(Script.ScriptParameter<T, K> parameter, K value) { in set()
385 public <T extends Script<?>> Builder chainScript(Class<T> scriptClass) { in chainScript()
402 public <T extends Script<?>> ScriptBuilder<T> configureScript(Class<T> scriptClass) { in configureScript()
425 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,
DScriptYuvMeans1d.java33 public class ScriptYuvMeans1d extends Script<ScriptC_means_yuvx_444_1d_to_single>{
DScriptYuvToRgb.java31 public class ScriptYuvToRgb extends Script<ScriptIntrinsicYuvToRGB> {
DScriptYuvMeans2dTo1d.java36 public class ScriptYuvMeans2dTo1d extends Script<ScriptC_means_yuvx_444_2d_to_1d> {
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DLaunchClip.java97 private void verifyCell(int x, int y, int z, int[] a, Script.LaunchOptions sc) { in verifyCell()
138 void verifyRange(Script.LaunchOptions sc, int[] a) { in verifyRange()
179 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite1D()
190 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite1DAdapter1D()
203 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite2D()
215 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite2DAdapter1D()
228 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite2DAdapter2D()
242 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite3D()
255 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite3DAdapter1D()
270 Script.LaunchOptions sc = new Script.LaunchOptions(); in testWrite3DAdapter2D()
[all …]
DIntrinsicBlur.java33 private void initTest(int w, int h, Element e, Script.LaunchOptions lo) { in initTest()
73 private void copyOutput(Script.LaunchOptions lo) { in copyOutput()
118 Script.LaunchOptions lo = makeClipper(11, 11, w - 11, h - 11); in testU8_1C()
133 Script.LaunchOptions lo = makeClipper(11, 11, w - 11, h - 11); in testU8_4C()
146 Script.KernelID kid = s.getKernelID(); in test_ID()
151 Script.FieldID fid = s.getFieldID_Input(); in test_ID()
DSingleSourceForEachTest.java21 import android.renderscript.Script;
86 Script.LaunchOptions sc = new Script.LaunchOptions(); in testKernelLaunchWithOptions()
100 Script.LaunchOptions sc = new Script.LaunchOptions(); in testAllocationlessKernelLaunch()
DIntrinsicBase.java24 import android.renderscript.Script;
139 protected Script.LaunchOptions makeClipper(int x, int y, int x2, int y2) { in makeClipper()
140 Script.LaunchOptions lo = new Script.LaunchOptions(); in makeClipper()
DScriptTest.java25 import android.renderscript.Script;
34 Script S = new ScriptC_primitives(mRS); in testScript()
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()
189 Script.KernelID kid = s.getKernelID(); in test_ID()
194 Script.FieldID fid = s.getFieldID_Input(); in test_ID()
DIntrinsic3DLut.java112 Script.LaunchOptions lo = makeClipper(11, 11, 87, 87); in test1C()
128 Script.LaunchOptions lo = makeClipper(11, 11, 87, 87); in test2C()
141 Script.KernelID kid = s.getKernelID(); in test_ID()
DIntrinsicLut.java74 Script.LaunchOptions lo = makeClipper(11, 11, 87, 87); in test1C()
88 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()
252 Script.KernelID kid = s.getKernelID(); in test_ID()
257 Script.FieldID fid = s.getFieldID_Input(); in test_ID()
DSingleSourceAllocationTest.java22 import android.renderscript.Script;
DClearObjectTest.java23 import android.renderscript.Script;
128 Script script = new ScriptC_clear_object(mRS); in testclearObjectScript()
DIsObjectTest.java36 Script script;
DSetObjectTest.java35 Script script;
DFloat16ArithmeticTest.java32 import android.renderscript.Script;
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DRefocusFilterF32.java24 import android.renderscript.Script;
166 Script.LaunchOptions launchOptions = new Script.LaunchOptions(); in filterLayerBehindFocalDepth()
226 Script.LaunchOptions launchOptions = new Script.LaunchOptions(); in filterLayerInFrontOfFocalDepth()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DRefocusFilterd1new.java23 import android.renderscript.Script;
169 Script.LaunchOptions launchOptions = new Script.LaunchOptions(); in filterLayerBehindFocalDepth()
239 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