Home
last modified time | relevance | path

Searched refs:ScriptGroup (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DFilters.java27 import android.renderscript.ScriptGroup;
38 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b); in prepInit()
40 public ScriptGroup.Closure asyncLaunch(ScriptGroup.Builder2 builder, in asyncLaunch()
46 public ScriptGroup.Closure asyncLaunch(ScriptGroup.Builder2 builder, in asyncLaunch()
74 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { /* TODO */ return null; } in prepInit()
88 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { return null; } in prepInit()
102 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { return null; } in prepInit()
120 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { in prepInit()
127 public ScriptGroup.Closure asyncLaunch(ScriptGroup.Builder2 builder, in asyncLaunch()
130 new ScriptGroup.Binding(s.getFieldID_in_alloc(), in)); in asyncLaunch()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_script_group2_gatherscatter.java21 import android.renderscript.ScriptGroup;
70 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
72 ScriptGroup.Input unbound = builder.addInput(); in run()
74 ScriptGroup.Closure c = null; in run()
75 ScriptGroup.Future f = null; in run()
78 ScriptGroup.Binding binding; in run()
80 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), unbound); in run()
82 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), f); in run()
86 new ScriptGroup.Binding(s.getFieldID_reduction_stride(), stride), in run()
91 ScriptGroup group = builder.create("Summation", c.getReturn()); in run()
DUT_script_group2_float.java21 import android.renderscript.ScriptGroup;
48 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
50 ScriptGroup.Input unbound = builder.addInput(); in run()
56 ScriptGroup.Closure c0 = in run()
60 new ScriptGroup.Binding(s_float.getFieldID_floatVal(), in run()
62 new ScriptGroup.Binding(s_float.getFieldID_val(), in run()
65 ScriptGroup.Closure c1 = in run()
69 new ScriptGroup.Binding(s_float.getFieldID_valLong(), in run()
72 ScriptGroup group = builder.create("TestFloatAnd64bit", c1.getReturn()); in run()
DUT_script_group2_nochain.java21 import android.renderscript.ScriptGroup;
49 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
51 ScriptGroup.Input unbound = builder.addInput(); in run()
55 ScriptGroup.Closure c0 = in run()
60 ScriptGroup.Closure c1 = in run()
64 new ScriptGroup.Binding(s_inc2.getFieldID_a(), unbound)); in run()
66 ScriptGroup.Closure c2 = in run()
71 ScriptGroup group = builder.create("AddDouble2", c2.getReturn()); in run()
DUT_script_group2_pointwise.java21 import android.renderscript.ScriptGroup;
48 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
50 ScriptGroup.Input unbound = builder.addInput(); in run()
54 ScriptGroup.Closure c0 = in run()
59 ScriptGroup.Closure c1 = in run()
64 ScriptGroup group = builder.create("AddDouble", c1.getReturn()); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_script_group2_gatherscatter.java23 import androidx.renderscript.ScriptGroup;
72 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
74 ScriptGroup.Input unbound = builder.addInput(); in run()
76 ScriptGroup.Closure c = null; in run()
77 ScriptGroup.Future f = null; in run()
80 ScriptGroup.Binding binding; in run()
82 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), unbound); in run()
84 binding = new ScriptGroup.Binding(s.getFieldID_a_in(), f); in run()
88 new ScriptGroup.Binding(s.getFieldID_reduction_stride(), stride), in run()
93 ScriptGroup group = builder.create("Summation", c.getReturn()); in run()
DUT_script_group2_float.java23 import androidx.renderscript.ScriptGroup;
50 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
52 ScriptGroup.Input unbound = builder.addInput(); in run()
58 ScriptGroup.Closure c0 = in run()
62 new ScriptGroup.Binding(s_float.getFieldID_floatVal(), in run()
64 new ScriptGroup.Binding(s_float.getFieldID_val(), in run()
67 ScriptGroup.Closure c1 = in run()
71 new ScriptGroup.Binding(s_float.getFieldID_valLong(), in run()
74 ScriptGroup group = builder.create("TestFloatAnd64bit", c1.getReturn()); in run()
DUT_script_group2_nochain.java23 import androidx.renderscript.ScriptGroup;
51 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
53 ScriptGroup.Input unbound = builder.addInput(); in run()
57 ScriptGroup.Closure c0 = in run()
62 ScriptGroup.Closure c1 = in run()
66 new ScriptGroup.Binding(s_inc2.getFieldID_a(), unbound)); in run()
68 ScriptGroup.Closure c2 = in run()
73 ScriptGroup group = builder.create("AddDouble2", c2.getReturn()); in run()
DUT_script_group2_pointwise.java23 import androidx.renderscript.ScriptGroup;
50 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
52 ScriptGroup.Input unbound = builder.addInput(); in run()
56 ScriptGroup.Closure c0 = in run()
61 ScriptGroup.Closure c1 = in run()
66 ScriptGroup group = builder.create("AddDouble", c1.getReturn()); in run()
/frameworks/rs/
DrsScriptGroup.cpp29 ScriptGroup::ScriptGroup(Context *rsc) : ScriptGroupBase(rsc) { in ScriptGroup() function in android::renderscript::ScriptGroup
32 ScriptGroup::~ScriptGroup() { in ~ScriptGroup()
50 ScriptGroup::IO::IO(const ScriptKernelID *kid) { in IO()
54 ScriptGroup::Node::Node(Script *s) { in Node()
60 ScriptGroup::Node * ScriptGroup::findNode(Script *s) const { in findNode()
74 bool ScriptGroup::calcOrderRecurse(Node *n, int depth) { in calcOrderRecurse()
99 bool operator() (const ScriptGroup::Node* lhs, in operator ()()
100 const ScriptGroup::Node* rhs) { in operator ()()
105 bool ScriptGroup::calcOrder() { in calcOrder()
192 ScriptGroup * ScriptGroup::create(Context *rsc, in create()
[all …]
DrsScriptGroup.h39 class ScriptGroup : public ScriptGroupBase {
82 static ScriptGroup * create(Context *rsc,
93 virtual ~ScriptGroup();
106 explicit ScriptGroup(Context *);
Drs_hal.h86 class ScriptGroup; variable
124 RS_BASE_OBJ(ScriptGroup) rs_script_group;
366 void (*setInput)(const Context *rsc, const ScriptGroup *sg,
368 void (*setOutput)(const Context *rsc, const ScriptGroup *sg,
372 void (*updateCachedObject)(const Context *rsc, const ScriptGroup *sg, rs_script_group *obj);
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
DMainActivity.java47 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in onCreate()
49 ScriptGroup.Input unbound = builder.addInput(); in onCreate()
51 ScriptGroup.Closure c0 = builder.addKernel( in onCreate()
54 ScriptGroup.Closure c1 = builder.addKernel(script.getKernelID_goo(), in onCreate()
57 ScriptGroup group = builder.create("scriptgroup_test", c1.getReturn()); in onCreate()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DGroupTest.java28 import android.renderscript.ScriptGroup;
36 private ScriptGroup mGroup;
72 ScriptGroup.Builder2 b = new ScriptGroup.Builder2(mRS); in createTest()
73 ScriptGroup.Input in = b.addInput(); in createTest()
74 ScriptGroup.Closure c; in createTest()
78 new ScriptGroup.Binding(mConvolve.getFieldID_Input(), in)); in createTest()
/frameworks/rs/driver/
DrsdScriptGroup.cpp30 using android::renderscript::ScriptGroup;
42 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetInput()
46 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetOutput()
63 const ScriptGroup *sg, in rsdScriptGroupUpdateCachedObject()
DrsdScriptGroup.h25 const android::renderscript::ScriptGroup *sg,
29 const android::renderscript::ScriptGroup *sg,
37 const android::renderscript::ScriptGroup *sg,
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DGroupTest.java28 import android.renderscript.ScriptGroup;
36 private ScriptGroup mGroup;
72 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in createTest()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DGroupTest.java29 private ScriptGroup mGroup;
65 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in createTest()
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java49 private ScriptGroup mGroup;
95 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in reset()
/frameworks/base/rs/java/android/renderscript/
DScriptGroup.java41 public final class ScriptGroup extends BaseObj { class
404 ScriptGroup(long id, RenderScript rs) { in ScriptGroup() method in ScriptGroup
409 ScriptGroup(RenderScript rs, String name, List<Closure> closures, in ScriptGroup() method in ScriptGroup
768 public ScriptGroup create() { in create()
838 ScriptGroup sg = new ScriptGroup(id, mRS); in create()
1029 public ScriptGroup create(String name, Future... outputs) { in create()
1034 ScriptGroup ret = new ScriptGroup(mRS, name, mClosures, mInputs, outputs); in create()
/frameworks/rs/tests/lldb/java/ScriptGroup/
DAndroid.mk8 LOCAL_PACKAGE_NAME := ScriptGroup
/frameworks/compile/mclinker/tools/mcld/
DOptions.td378 def ScriptGroup : OptionGroup<"script">,
382 Group<ScriptGroup>,
386 Group<ScriptGroup>,
390 Group<ScriptGroup>,
394 Group<ScriptGroup>,
398 Group<ScriptGroup>,
402 Group<ScriptGroup>,
406 Group<ScriptGroup>,
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java44 public final class ScriptGroup extends BaseObj { class
399 ScriptGroup(long id, RenderScript rs) { in ScriptGroup() method in ScriptGroup
403 ScriptGroup(RenderScript rs, String name, List<Closure> closures, in ScriptGroup() method in ScriptGroup
880 public ScriptGroup create() { in create()
954 ScriptGroup sg = new ScriptGroup(id, mRS); in create()
1145 public ScriptGroup create(String name, Future... outputs) { in create()
1150 ScriptGroup ret = new ScriptGroup(mRS, name, mClosures, mInputs, outputs); in create()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.h55 const ScriptGroup *mSG;
DrsCpuScriptGroup.cpp29 mSG = (ScriptGroup*)sg; in CpuScriptGroupImpl()
133 ScriptGroup::Node *n = mSG->mNodes[ct]; in execute()

12