Home
last modified time | relevance | path

Searched refs:setVar (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/rs/
DrsScript.cpp59 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar() function in android::renderscript::Script
82 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar() function in android::renderscript::Script
254 s->setVar(slot, &value, sizeof(value)); in rsi_ScriptSetVarI()
265 s->setVar(slot, &value, sizeof(value)); in rsi_ScriptSetVarJ()
270 s->setVar(slot, &value, sizeof(value)); in rsi_ScriptSetVarF()
275 s->setVar(slot, &value, sizeof(value)); in rsi_ScriptSetVarD()
280 s->setVar(slot, data, len); in rsi_ScriptSetVarV()
293 s->setVar(slot, data, len, e, dims, dimLen); in rsi_ScriptSetVarVE()
DrsScript.h118 void setVar(uint32_t slot, const void *val, size_t len);
120 void setVar(uint32_t slot, const void *val, size_t len, Element *e,
/frameworks/base/rs/java/android/renderscript/
DScript.java378 public void setVar(int index, float v) { in setVar() method in Script
389 public void setVar(int index, double v) { in setVar() method in Script
400 public void setVar(int index, int v) { in setVar() method in Script
412 public void setVar(int index, long v) { in setVar() method in Script
424 public void setVar(int index, boolean v) { in setVar() method in Script
435 public void setVar(int index, BaseObj o) { in setVar() method in Script
445 public void setVar(int index, FieldPacker v) { in setVar() method in Script
453 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() method in Script
DScriptIntrinsicBlur.java70 setVar(1, ain); in setInput()
84 setVar(0, radius); in setRadius()
DScriptIntrinsicConvolve5x5.java76 setVar(1, ain); in setInput()
99 setVar(0, fp); in setCoefficients()
DScriptIntrinsicConvolve3x3.java76 setVar(1, ain); in setInput()
97 setVar(0, fp); in setCoefficients()
DScriptIntrinsicColorMatrix.java84 setVar(0, fp); in setMatrix()
126 setVar(1, fp); in setAdd()
149 setVar(1, fp); in setAdd()
DScriptIntrinsicHistogram.java130 setVar(0, fp); in setDotCoefficients()
159 setVar(1, aout); in setOutput()
DScriptIntrinsicYuvToRGB.java59 setVar(0, ain); in setInput()
DScriptIntrinsic3DLUT.java75 setVar(0, mLUT); in setLUT()
/frameworks/rs/cpp/
DScriptIntrinsics.cpp77 Script::setVar(0, lut); in setLUT()
234 Script::setVar(1, in); in setInput()
247 Script::setVar(0, &radius, sizeof(float)); in setRadius()
295 Script::setVar(1, (void*)add, sizeof(float) * 4); in setAdd()
325 Script::setVar(0, (void*)m, sizeof(float) * 16); in setColorMatrix4()
374 Script::setVar(1, in); in setInput()
386 Script::setVar(0, (void*)v, sizeof(float) * 9); in setCoefficients()
415 Script::setVar(1, in); in setInput()
428 Script::setVar(0, (void*)v, sizeof(float) * 25); in setCoefficients()
460 Script::setVar(1, out); in setOutput()
[all …]
DScript.cpp47 void Script::setVar(uint32_t index, const sp<const BaseObj>& o) const { in setVar() function in Script
51 void Script::setVar(uint32_t index, const void *v, size_t len) const { in setVar() function in Script
/frameworks/rs/support/java/src/androidx/renderscript/
DScript.java431 public void setVar(int index, float v) { in setVar() method in Script
441 public void setVar(int index, double v) { in setVar() method in Script
451 public void setVar(int index, int v) { in setVar() method in Script
461 public void setVar(int index, long v) { in setVar() method in Script
471 public void setVar(int index, boolean v) { in setVar() method in Script
481 public void setVar(int index, BaseObj o) { in setVar() method in Script
496 public void setVar(int index, FieldPacker v) { in setVar() method in Script
508 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() method in Script
DScriptIntrinsicBlur.java79 setVar(1, ain);
93 setVar(0, radius);
DScriptIntrinsicConvolve5x5.java86 setVar(1, ain);
109 setVar(0, fp);
DScriptIntrinsicConvolve3x3.java85 setVar(1, ain);
106 setVar(0, fp);
DScriptIntrinsicColorMatrix.java71 setVar(0, fp);
113 setVar(1, fp);
136 setVar(1, fp);
DScriptIntrinsicHistogram.java140 setVar(0, fp);
169 setVar(1, aout);
DScriptIntrinsicYuvToRGB.java67 setVar(0, ain);
DScriptIntrinsic3DLUT.java86 setVar(0, mLUT);
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptC_reflection3264_divergent.java.expect58 setVar(mExportVarIdx_intVar, v);
81 setVar(mExportVarIdx_intArray, fp, __I32, __dimArr);
98 setVar(mExportVarIdx_matVar, fp);
120 setVar(mExportVarIdx_matArray, fp, __@@INVALID@@, __dimArr);
134 setVar(mExportVarIdx_allocVar, v);
157 setVar(mExportVarIdx_allocArray, fp, __ALLOCATION, __dimArr);
177 setVar(mExportVarIdx_ndVar, fp, __ScriptField_NonDivergent, __dimArr);
200 setVar(mExportVarIdx_ndArray, fp, __ScriptField_NonDivergent, __dimArr);
223 setVar(mExportVarIdx_dVar, fp, __ScriptField_Divergent, __dimArr);
249 setVar(mExportVarIdx_dArray, fp, __ScriptField_Divergent, __dimArr);
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptC_reflection3264_divergent.java.expect61 setVar(mExportVarIdx_intVar, v);
84 setVar(mExportVarIdx_intArray, fp, __I32, __dimArr);
101 setVar(mExportVarIdx_matVar, fp);
123 setVar(mExportVarIdx_matArray, fp, __@@INVALID@@, __dimArr);
137 setVar(mExportVarIdx_allocVar, v);
160 setVar(mExportVarIdx_allocArray, fp, __ALLOCATION, __dimArr);
180 setVar(mExportVarIdx_ndVar, fp, __ScriptField_NonDivergent, __dimArr);
203 setVar(mExportVarIdx_ndArray, fp, __ScriptField_NonDivergent, __dimArr);
226 setVar(mExportVarIdx_dVar, fp, __ScriptField_Divergent, __dimArr);
252 setVar(mExportVarIdx_dArray, fp, __ScriptField_Divergent, __dimArr);
/frameworks/compile/slang/tests/P_reflection3264_multifile/
DScriptC_reflection3264_multifile_2.java.expect60 setVar(mExportVarIdx_a, fp, __I16, __dimArr);
82 setVar(mExportVarIdx_b, fp, __I64, __dimArr);
DScriptC_reflection3264_multifile_3.java.expect60 setVar(mExportVarIdx_a, fp, __ALLOCATION, __dimArr);
82 setVar(mExportVarIdx_b, fp, __I32, __dimArr);
DScriptC_reflection3264_multifile_1.java.expect60 setVar(mExportVarIdx_a, fp, __I32, __dimArr);
82 setVar(mExportVarIdx_b, fp, __ALLOCATION, __dimArr);

12