Home
last modified time | relevance | path

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

123456

/frameworks/rs/
DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() function in Script
32 Script::~Script() { in ~Script()
43 void Script::setSlot(uint32_t slot, Allocation *a) { in setSlot()
54 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar()
63 void Script::getVar(uint32_t slot, const void *val, size_t len) { in getVar()
72 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar()
82 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
92 bool Script::freeChildren() { in freeChildren()
98 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID()
119 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { in ScriptFieldID()
[all …]
DrsScript.h36 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
42 Script *mScript;
50 ScriptFieldID(Context *rsc, Script *s, int slot);
56 Script *mScript;
60 class Script : public ObjectBase {
84 Script(Context *);
85 virtual ~Script();
Drs_hal.h32 class Script; variable
100 bool (*initIntrinsic)(const Context *rsc, Script *s,
104 void (*invokeFunction)(const Context *rsc, Script *s,
108 int (*invokeRoot)(const Context *rsc, Script *s);
110 Script *s,
117 void (*invokeInit)(const Context *rsc, Script *s);
118 void (*invokeFreeChildren)(const Context *rsc, Script *s);
120 void (*setGlobalVar)(const Context *rsc, const Script *s,
124 void (*getGlobalVar)(const Context *rsc, const Script *s,
128 void (*setGlobalVarWithElemDims)(const Context *rsc, const Script *s,
[all …]
/frameworks/rs/cpp/
DScriptIntrinsics.cpp27 : Script(NULL, rs) { in ScriptIntrinsic()
37 Script::forEach(0, in, out, NULL, 0); in blendClear()
41 Script::forEach(1, in, out, NULL, 0); in blendSrc()
45 Script::forEach(2, in, out, NULL, 0); in blendDst()
49 Script::forEach(3, in, out, NULL, 0); in blendSrcOver()
53 Script::forEach(4, in, out, NULL, 0); in blendDstOver()
57 Script::forEach(5, in, out, NULL, 0); in blendSrcIn()
61 Script::forEach(6, in, out, NULL, 0); in blendDstIn()
65 Script::forEach(7, in, out, NULL, 0); in blendSrcOut()
69 Script::forEach(8, in, out, NULL, 0); in blendDstOut()
[all …]
DScript.cpp25 void Script::invoke(uint32_t slot, const void *v, size_t len) const { in invoke()
29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, in forEach()
40 Script::Script(void *id, sp<RS> rs) : BaseObj(id, rs) { in Script() function in Script
44 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { in bindAllocation()
49 void Script::setVar(uint32_t index, sp<const BaseObj> o) const { in setVar()
53 void Script::setVar(uint32_t index, const void *v, size_t len) const { in setVar()
57 void Script::FieldBase::init(sp<RS> rs, uint32_t dimx, uint32_t usages) { in init()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlendThunker.java46 public Script.KernelID getKernelIDClear() { in getKernelIDClear()
47 Script.KernelID k = createKernelID(0, 3, null, null); in getKernelIDClear()
59 public Script.KernelID getKernelIDSrc() { in getKernelIDSrc()
60 Script.KernelID k = createKernelID(1, 3, null, null); in getKernelIDSrc()
72 public Script.KernelID getKernelIDDst() { in getKernelIDDst()
73 Script.KernelID k = createKernelID(2, 3, null, null); in getKernelIDDst()
85 public Script.KernelID getKernelIDSrcOver() { in getKernelIDSrcOver()
86 Script.KernelID k = createKernelID(3, 3, null, null); in getKernelIDSrcOver()
98 public Script.KernelID getKernelIDDstOver() { in getKernelIDDstOver()
99 Script.KernelID k = createKernelID(4, 3, null, null); in getKernelIDDstOver()
[all …]
DScriptIntrinsicBlend.java74 public Script.KernelID getKernelIDClear() { in getKernelIDClear()
94 public Script.KernelID getKernelIDSrc() { in getKernelIDSrc()
114 public Script.KernelID getKernelIDDst() { in getKernelIDDst()
133 public Script.KernelID getKernelIDSrcOver() { in getKernelIDSrcOver()
152 public Script.KernelID getKernelIDDstOver() { in getKernelIDDstOver()
171 public Script.KernelID getKernelIDSrcIn() { in getKernelIDSrcIn()
190 public Script.KernelID getKernelIDDstIn() { in getKernelIDDstIn()
209 public Script.KernelID getKernelIDSrcOut() { in getKernelIDSrcOut()
228 public Script.KernelID getKernelIDDstOut() { in getKernelIDDstOut()
248 public Script.KernelID getKernelIDSrcAtop() { in getKernelIDSrcAtop()
[all …]
DScriptGroup.java48 Script.KernelID mKID;
51 IO(Script.KernelID s) { in IO()
57 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine()
63 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine()
69 Script.FieldID mToF;
70 Script.KernelID mToK;
71 Script.KernelID mFrom;
76 Script mScript;
77 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>();
84 Node(Script s) { in Node()
[all …]
DScriptGroupThunker.java33 public void setInput(Script.KernelID s, Allocation a) { in setInput()
38 public void setOutput(Script.KernelID s, Allocation a) { in setOutput()
59 public Builder addKernel(Script.KernelID k) { in addKernel()
64 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) { in addConnection()
70 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) { in addConnection()
DScriptIntrinsicYuvToRGBThunker.java52 public Script.KernelID getKernelID() { in getKernelID()
53 Script.KernelID k = createKernelID(0, 2, null, null); in getKernelID()
58 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
59 Script.FieldID f = createFieldID(0, null); in getFieldID_Input()
DScriptIntrinsicConvolve5x5Thunker.java57 public Script.KernelID getKernelID() { in getKernelID()
58 Script.KernelID k = createKernelID(0, 2, null, null); in getKernelID()
63 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
64 Script.FieldID f = createFieldID(1, null); in getFieldID_Input()
DScriptIntrinsicConvolve3x3Thunker.java57 public Script.KernelID getKernelID() { in getKernelID()
58 Script.KernelID k = createKernelID(0, 2, null, null); in getKernelID()
63 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
64 Script.FieldID f = createFieldID(1, null); in getFieldID_Input()
DScriptIntrinsicBlurThunker.java60 public Script.KernelID getKernelID() { in getKernelID()
61 Script.KernelID k = createKernelID(0, 2, null, null); in getKernelID()
66 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
67 Script.FieldID f = createFieldID(1, null); in getFieldID_Input()
DScript.java24 public class Script extends BaseObj { class
27 android.renderscript.Script getNObj() { in getNObj()
41 android.renderscript.Script.KernelID mN;
42 Script mScript;
45 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { in KernelID()
103 android.renderscript.Script.FieldID mN;
104 Script mScript;
106 FieldID(int id, RenderScript rs, Script s, int slot) { in FieldID()
281 Script(int id, RenderScript rs) { in Script() method in Script
/frameworks/compile/libbcc/include/bcc/
DCompiler.h33 class Script; variable
82 enum ErrorCode runLTO(Script &pScript);
83 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult);
92 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult);
95 enum ErrorCode compile(Script &pScript, OutputFile &pResult);
110 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) in beforeAddLTOPasses()
114 virtual bool afterAddLTOPasses(Script &pScript, llvm::PassManager &pPM) in afterAddLTOPasses()
118 virtual bool beforeExecuteLTOPasses(Script &pScript, in beforeExecuteLTOPasses()
123 virtual bool afterExecuteLTOPasses(Script &pScript) in afterExecuteLTOPasses()
127 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM) in beforeAddCodeGenPasses()
[all …]
DScript.h24 class Script {
36 Script(Source &pSource) : mSource(&pSource) { } in Script() function
38 virtual ~Script() { } in ~Script()
/frameworks/rs/driver/
DrsdBcc.h27 android::renderscript::Script *s,
32 android::renderscript::Script *script,
38 android::renderscript::Script *s,
47 android::renderscript::Script *script);
49 android::renderscript::Script *script);
51 android::renderscript::Script *script);
54 const android::renderscript::Script *,
57 const android::renderscript::Script *,
60 const android::renderscript::Script *,
67 const android::renderscript::Script *,
[all …]
DrsdBcc.cpp56 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, Element *e) { in rsdInitIntrinsic()
68 Script *s, in rsdScriptInvokeForEach()
81 int rsdScriptInvokeRoot(const Context *dc, Script *s) { in rsdScriptInvokeRoot()
86 void rsdScriptInvokeInit(const Context *dc, Script *s) { in rsdScriptInvokeInit()
91 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { in rsdScriptInvokeFreeChildren()
96 void rsdScriptInvokeFunction(const Context *dc, Script *s, in rsdScriptInvokeFunction()
104 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, in rsdScriptSetGlobalVar()
110 void rsdScriptGetGlobalVar(const Context *dc, const Script *s, in rsdScriptGetGlobalVar()
117 void rsdScriptSetGlobalVarWithElemDims(const Context *dc, const Script *s, in rsdScriptSetGlobalVarWithElemDims()
125 void rsdScriptSetGlobalBind(const Context *dc, const Script *s, uint32_t slot, Allocation *data) { in rsdScriptSetGlobalBind()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DScriptIntrinsicBlend.java70 public Script.KernelID getKernelIDClear() { in getKernelIDClear()
90 public Script.KernelID getKernelIDSrc() { in getKernelIDSrc()
110 public Script.KernelID getKernelIDDst() { in getKernelIDDst()
129 public Script.KernelID getKernelIDSrcOver() { in getKernelIDSrcOver()
148 public Script.KernelID getKernelIDDstOver() { in getKernelIDDstOver()
167 public Script.KernelID getKernelIDSrcIn() { in getKernelIDSrcIn()
186 public Script.KernelID getKernelIDDstIn() { in getKernelIDDstIn()
205 public Script.KernelID getKernelIDSrcOut() { in getKernelIDSrcOut()
224 public Script.KernelID getKernelIDDstOut() { in getKernelIDDstOut()
244 public Script.KernelID getKernelIDSrcAtop() { in getKernelIDSrcAtop()
[all …]
DScriptGroup.java48 Script.KernelID mKID;
51 IO(Script.KernelID s) { in IO()
57 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine()
63 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine()
69 Script.FieldID mToF;
70 Script.KernelID mToK;
71 Script.KernelID mFrom;
76 Script mScript;
77 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>();
84 Node(Script s) { in Node()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp30 virtual void populateScript(Script *);
36 RsdCpuScriptIntrinsicLUT(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e);
82 const Script *s, const Element *e) in RsdCpuScriptIntrinsicLUT()
91 void RsdCpuScriptIntrinsicLUT::populateScript(Script *s) { in populateScript()
101 const Script *s, const Element *e) { in rsdIntrinsic_LUT()
DrsCpuScript.h51 virtual void populateScript(Script *);
73 RsdCpuScriptImpl(RsdCpuReferenceImpl *ctx, const Script *s);
75 const Script * getScript() {return mScript;} in getScript()
94 const Script *mScript;
134 const Script *script,
Drsd_cpu.h43 class Script; variable
65 virtual void populateScript(Script *) = 0;
91 typedef CpuScript * (* script_lookup_t)(Context *, const Script *s);
102 static const Script * getTlsScript();
118 virtual CpuScript * createIntrinsic(const Script *s, RsScriptIntrinsicID iid, Element *e) = 0;
/frameworks/compile/libbcc/lib/AndroidBitcode/
DABCCompilerDriver.cpp138 Script *ABCCompilerDriver::prepareScript(int pInputFd) { in prepareScript()
145 Script *script = new (std::nothrow) Script(*source); in prepareScript()
156 bool ABCCompilerDriver::compile(Script &pScript, llvm::raw_ostream &pOutput) { in compile()
173 bool ABCCompilerDriver::link(const Script &pScript, in link()
260 Script *script = prepareScript(pInputFd); in build()
/frameworks/compile/libbcc/include/bcc/AndroidBitcode/
DABCCompilerDriver.h49 Script *prepareScript(int pInputFd);
50 bool compile(Script &pScript, llvm::raw_ostream &pOutput);
51 bool link(const Script &pScript, const std::string &input_relocatable,

123456