Home
last modified time | relevance | path

Searched refs:setVar (Results 1 – 25 of 34) 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.java383 public void setVar(int index, float v) { in setVar() method in Script
394 public void setVar(int index, double v) { in setVar() method in Script
405 public void setVar(int index, int v) { in setVar() method in Script
417 public void setVar(int index, long v) { in setVar() method in Script
429 public void setVar(int index, boolean v) { in setVar() method in Script
440 public void setVar(int index, BaseObj o) { in setVar() method in Script
450 public void setVar(int index, FieldPacker v) { in setVar() method in Script
458 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() method in Script
DScriptIntrinsicBlur.java73 setVar(1, ain); in setInput()
87 setVar(0, radius); in setRadius()
DScriptIntrinsicConvolve5x5.java80 setVar(1, ain); in setInput()
103 setVar(0, fp); in setCoefficients()
DScriptIntrinsicConvolve3x3.java80 setVar(1, ain); in setInput()
101 setVar(0, fp); in setCoefficients()
DScriptIntrinsicColorMatrix.java89 setVar(0, fp); in setMatrix()
131 setVar(1, fp); in setAdd()
154 setVar(1, fp); in setAdd()
DScriptIntrinsicHistogram.java133 setVar(0, fp); in setDotCoefficients()
162 setVar(1, aout); in setOutput()
DScriptIntrinsicYuvToRGB.java64 setVar(0, ain); in setInput()
DScriptIntrinsic3DLUT.java79 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.java436 public void setVar(int index, float v) { in setVar() method in Script
446 public void setVar(int index, double v) { in setVar() method in Script
456 public void setVar(int index, int v) { in setVar() method in Script
466 public void setVar(int index, long v) { in setVar() method in Script
476 public void setVar(int index, boolean v) { in setVar() method in Script
486 public void setVar(int index, BaseObj o) { in setVar() method in Script
501 public void setVar(int index, FieldPacker v) { in setVar() method in Script
513 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() method in Script
DScriptIntrinsicBlur.java82 setVar(1, ain);
96 setVar(0, radius);
DScriptIntrinsicConvolve5x5.java90 setVar(1, ain);
113 setVar(0, fp);
DScriptIntrinsicConvolve3x3.java89 setVar(1, ain);
110 setVar(0, fp);
DScriptIntrinsicColorMatrix.java76 setVar(0, fp);
118 setVar(1, fp);
141 setVar(1, fp);
DScriptIntrinsicHistogram.java143 setVar(0, fp);
172 setVar(1, aout);
DScriptIntrinsicYuvToRGB.java72 setVar(0, ain);
DScriptIntrinsic3DLUT.java90 setVar(0, mLUT);
/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_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_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