Home
last modified time | relevance | path

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

12345678

/frameworks/rs/
DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() function in android::renderscript::Script
34 Script::~Script() { in ~Script()
45 void Script::setSlot(uint32_t slot, Allocation *a) { in setSlot()
59 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar()
70 void Script::getVar(uint32_t slot, const void *val, size_t len) { in getVar()
82 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar()
95 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
108 void Script::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject()
116 bool Script::freeChildren() { in freeChildren()
122 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID()
[all …]
DrsScript.h38 IDBase(Context *rsc, Script *s, int slot) : in IDBase()
45 Script *mScript;
51 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
62 ScriptInvokeID(Context *rsc, Script *s, int slot);
70 ScriptFieldID(Context *rsc, Script *s, int slot);
76 class Script : public ObjectBase {
101 explicit Script(Context *);
102 virtual ~Script();
Drs_hal.h81 class Script; variable
123 RS_BASE_OBJ(Script) rs_script;
160 bool (*initIntrinsic)(const Context *rsc, Script *s,
164 void (*invokeFunction)(const Context *rsc, Script *s,
168 int (*invokeRoot)(const Context *rsc, Script *s);
170 Script *s,
177 void (*invokeReduce)(const Context *rsc, Script *s,
182 void (*invokeInit)(const Context *rsc, Script *s);
183 void (*invokeFreeChildren)(const Context *rsc, Script *s);
185 void (*setGlobalVar)(const Context *rsc, const Script *s,
[all …]
DrsScriptGroup.h34 class Script; variable
59 explicit Node(Script *);
66 Script *mScript;
100 Node * findNode(Script *s) const;
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { in blend()
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachClear()
79 public Script.KernelID getKernelIDClear() { in getKernelIDClear()
101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrc()
110 public Script.KernelID getKernelIDSrc() { in getKernelIDSrc()
135 public void forEachDst(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachDst()
144 public Script.KernelID getKernelIDDst() { in getKernelIDDst()
165 public void forEachSrcOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrcOver()
174 public Script.KernelID getKernelIDSrcOver() { in getKernelIDSrcOver()
195 public void forEachDstOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachDstOver()
[all …]
DScriptGroup.java47 Script.KernelID mKID;
50 IO(Script.KernelID s) { in IO()
56 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine()
62 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine()
68 Script.FieldID mToF;
69 Script.KernelID mToK;
70 Script.KernelID mFrom;
75 Script mScript;
76 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>();
83 Node(Script s) { in Node()
[all …]
DScriptIntrinsicBlur.java105 public void forEach(Allocation aout, Script.LaunchOptions opt) { in forEach()
118 public Script.KernelID getKernelID() { in getKernelID()
127 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
DScriptIntrinsicResize.java74 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
103 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { in forEach_bicubic()
112 public Script.KernelID getKernelID_bicubic() { in getKernelID_bicubic()
DScriptIntrinsicConvolve5x5.java121 public void forEach(Allocation aout, Script.LaunchOptions opt) { in forEach()
131 public Script.KernelID getKernelID() { in getKernelID()
140 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
/frameworks/rs/driver/
DrsdBcc.h27 android::renderscript::Script *s,
32 android::renderscript::Script *script,
38 android::renderscript::Script *s,
47 android::renderscript::Script *s,
55 android::renderscript::Script *s,
65 android::renderscript::Script *script);
67 android::renderscript::Script *script);
69 android::renderscript::Script *script);
72 const android::renderscript::Script *,
75 const android::renderscript::Script *,
[all …]
DrsdBcc.cpp33 using android::renderscript::Script;
56 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, in rsdInitIntrinsic()
69 Script *s, in rsdScriptInvokeForEach()
89 Script *s, in rsdScriptInvokeForEachMulti()
103 int rsdScriptInvokeRoot(const Context *dc, Script *s) { in rsdScriptInvokeRoot()
108 void rsdScriptInvokeInit(const Context *dc, Script *s) { in rsdScriptInvokeInit()
113 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { in rsdScriptInvokeFreeChildren()
118 void rsdScriptInvokeFunction(const Context *dc, Script *s, in rsdScriptInvokeFunction()
126 void rsdScriptInvokeReduce(const Context *dc, Script *s, in rsdScriptInvokeReduce()
135 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, in rsdScriptSetGlobalVar()
[all …]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlend.java79 public Script.KernelID getKernelIDClear() {
99 public Script.KernelID getKernelIDSrc() {
120 public Script.KernelID getKernelIDDst() {
139 public Script.KernelID getKernelIDSrcOver() {
158 public Script.KernelID getKernelIDDstOver() {
177 public Script.KernelID getKernelIDSrcIn() {
196 public Script.KernelID getKernelIDDstIn() {
215 public Script.KernelID getKernelIDSrcOut() {
234 public Script.KernelID getKernelIDDstOut() {
254 public Script.KernelID getKernelIDSrcAtop() {
[all …]
DScriptGroup.java54 Script.KernelID mKID;
57 IO(Script.KernelID s) { in IO()
63 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine()
69 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine()
75 Script.FieldID mToF;
76 Script.KernelID mToK;
77 Script.KernelID mFrom;
83 Script mScript;
84 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>();
93 Node(Script s) { in Node()
[all …]
/frameworks/rs/rsov/driver/
DrsovScript.h36 class Script; variable
57 static bool isScriptCpuBacked(const Script *s);
58 static void initScriptOnCpu(Script *s, RsdCpuReference::CpuScript *cs);
59 static void initScriptOnRSoV(Script *s, RSoVScript *rsovScript);
61 void populateScript(Script *) override;
152 android::renderscript::Script *s,
157 android::renderscript::Script *script,
162 const android::renderscript::Context *rsc, android::renderscript::Script *s,
168 const android::renderscript::Context *rsc, android::renderscript::Script *s,
173 const android::renderscript::Context *rsc, android::renderscript::Script *s,
[all …]
DrsovScript.cpp118 bool RSoVScript::isScriptCpuBacked(const Script *s) { in isScriptCpuBacked()
122 void RSoVScript::initScriptOnCpu(Script *s, RsdCpuReference::CpuScript *cs) { in initScriptOnCpu()
128 void RSoVScript::initScriptOnRSoV(Script *s, RSoVScript *rsovScript) { in initScriptOnRSoV()
149 void RSoVScript::populateScript(Script *) { in populateScript() argument
593 using android::renderscript::Script;
732 bool rsovInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, in rsovInitIntrinsic()
744 void rsovScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, in rsovScriptInvokeForEach()
758 void rsovScriptInvokeForEachMulti(const Context *rsc, Script *s, uint32_t slot, in rsovScriptInvokeForEachMulti()
766 int rsovScriptInvokeRoot(const Context *dc, Script *s) { in rsovScriptInvokeRoot()
771 void rsovScriptInvokeInit(const Context *dc, Script *s) { in rsovScriptInvokeInit()
[all …]
/frameworks/rs/cpp/
DScript.cpp22 using android::RSC::Script;
24 void Script::invoke(uint32_t slot, const void *v, size_t len) const { in invoke()
28 void Script::forEach(uint32_t slot, const sp<const Allocation>& ain, const sp<const Allocation>& ao… in forEach()
38 Script::Script(void *id, sp<RS> rs) : BaseObj(id, rs) { in Script() function in Script
42 void Script::bindAllocation(const sp<Allocation>& va, uint32_t slot) const { in bindAllocation()
47 void Script::setVar(uint32_t index, const sp<const BaseObj>& o) const { in setVar()
51 void Script::setVar(uint32_t index, const void *v, size_t len) const { in setVar()
55 void Script::FieldBase::init(const sp<RS>& rs, uint32_t dimx, uint32_t usages) { in init()
DScriptIntrinsics.cpp36 : Script(nullptr, rs) { in ScriptIntrinsic()
64 Script::forEach(0, ain, aout, nullptr, 0); in forEach()
77 Script::setVar(0, lut); in setLUT()
97 Script::forEach(0, in, out, nullptr, 0); in forEachClear()
105 Script::forEach(1, in, out, nullptr, 0); in forEachSrc()
113 Script::forEach(2, in, out, nullptr, 0); in forEachDst()
121 Script::forEach(3, in, out, nullptr, 0); in forEachSrcOver()
129 Script::forEach(4, in, out, nullptr, 0); in forEachDstOver()
137 Script::forEach(5, in, out, nullptr, 0); in forEachSrcIn()
145 Script::forEach(6, in, out, nullptr, 0); in forEachDstIn()
[all …]
/frameworks/compile/libbcc/include/bcc/
DCompiler.h36 class Script; variable
82 enum ErrorCode runPasses(Script &pScript, llvm::raw_pwrite_stream &pResult);
84 bool addInternalizeSymbolsPass(Script &pScript, llvm::legacy::PassManager &pPM);
86 void addDebugInfoPass(Script &pScript, llvm::legacy::PassManager &pPM);
87 void addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM);
101 enum ErrorCode compile(Script &pScript, llvm::raw_pwrite_stream &pResult,
115 enum ErrorCode screenGlobalFunctions(Script &pScript);
117 void translateGEPs(Script &pScript);
DScript.h31 class Script; variable
35 typedef llvm::Module *(*RSLinkRuntimeCallback)(bcc::Script *, llvm::Module *,
38 class Script {
60 explicit Script(Source *pSource);
62 ~Script() {} in ~Script()
/frameworks/compile/libbcc/lib/
DScript.cpp31 Script::Script(Source *pSource) in Script() function in Script
37 bool Script::LinkRuntime(const char *core_lib) { in LinkRuntime()
88 bool Script::mergeSource(Source &pSource) { return mSource->merge(pSource); } in mergeSource()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp27 void populateScript(Script *) override;
33 RsdCpuScriptIntrinsicLUT(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e);
77 const Script *s, const Element *e) in RsdCpuScriptIntrinsicLUT()
86 void RsdCpuScriptIntrinsicLUT::populateScript(Script *s) { in populateScript()
95 const Script *s, const Element *e) { in rsdIntrinsic_LUT()
Drsd_cpu.h32 class Script; variable
53 virtual void populateScript(Script *) = 0;
96 typedef CpuScript * (* script_lookup_t)(Context *, const Script *s);
117 static const Script * getTlsScript();
131 virtual CpuScript * createIntrinsic(const Script *s, RsScriptIntrinsicID iid, Element *e) = 0;
DrsCpuScript.h45 void populateScript(Script *) override;
84 RsdCpuScriptImpl(RsdCpuReferenceImpl *ctx, const Script *s);
86 const Script * getScript() {return mScript;} in getScript()
114 const Script *mScript;
149 const Script *script,
/frameworks/compile/mclinker/lib/MC/
DSearchDirs.cpp73 Input::Script == pType); in find()
77 case Input::Script: in find()
96 case Input::Script: { in find()
138 Input::Script == pType); in find()
142 case Input::Script: in find()
161 case Input::Script: { in find()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DFilters.java23 import android.renderscript.Script;
39 public Script.KernelID getKernelID(); in getKernelID()
76 public Script.KernelID getKernelID() { return s_mat.getKernelID_colormatrix(); } in getKernelID()
90 public Script.KernelID getKernelID() { return s.getKernelID_contrast(); } in getKernelID()
104 public Script.KernelID getKernelID() { return s.getKernelID_exposure(); } in getKernelID()
125 public Script.KernelID getKernelID() { return s.getKernelID_fisheye(); } in getKernelID()
150 public Script.KernelID getKernelID() { return s.getKernelID_greyscale(); } in getKernelID()
209 public Script.KernelID getKernelID() { return s.getKernelID_levels_v4(); } in getKernelID()
226 public Script.KernelID getKernelID() { return s.getKernelID_shadowsKernel(); } in getKernelID()
241 public Script.KernelID getKernelID() { return s.getKernelID_vibranceKernel(); } in getKernelID()
[all …]

12345678