/frameworks/rs/driver/ |
D | rsdScriptGroup.cpp | 31 bool rsdScriptGroupInit(const Context *rsc, ScriptGroup *sg) { in rsdScriptGroupInit() argument 34 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg); in rsdScriptGroupInit() 35 return sg->mHal.drv != NULL; in rsdScriptGroupInit() 38 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetInput() argument 42 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetOutput() argument 46 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroup *sg) { in rsdScriptGroupExecute() argument 47 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg->mHal.drv; in rsdScriptGroupExecute() 51 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroup *sg) { in rsdScriptGroupDestroy() argument 52 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg->mHal.drv; in rsdScriptGroupDestroy() 57 const ScriptGroup *sg, in rsdScriptGroupUpdateCachedObject() argument [all …]
|
D | rsdScriptGroup.h | 23 android::renderscript::ScriptGroup *sg); 25 const android::renderscript::ScriptGroup *sg, 29 const android::renderscript::ScriptGroup *sg, 33 const android::renderscript::ScriptGroup *sg); 35 const android::renderscript::ScriptGroup *sg); 37 const android::renderscript::ScriptGroup *sg,
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | bwfilter.rs | 21 static float sg = 0.f; 27 sg = gw; 30 float imageMin = min(sg,sb); 32 float imageMax = max(sg,sb); 36 sg /= avg; 43 float g = in->g * sg;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | bwfilter.rs | 21 static float sg = 0.f; 27 sg = gw; 30 float imageMin = min(sg,sb); 32 float imageMax = max(sg,sb); 36 sg /= avg; 43 float g = in->g * sg;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | bwfilter.rs | 21 static float sg = 0.f; 27 sg = gw; 30 float imageMin = min(sg,sb); 32 float imageMax = max(sg,sb); 36 sg /= avg; 43 float g = in->g * sg;
|
/frameworks/rs/ |
D | rsScriptGroup.cpp | 208 ScriptGroup *sg = new ScriptGroup(rsc); in create() local 210 sg->mKernels.reserve(kernelCount); in create() 212 sg->mKernels.add(kernels[ct]); in create() 215 sg->mLinks.reserve(linkCount); in create() 222 sg->mLinks.add(l); in create() 225 sg->calcOrder(); in create() 228 for (size_t ct=0; ct < sg->mNodes.size(); ct++) { in create() 229 const Node *n = sg->mNodes[ct]; in create() 250 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create() 252 sg->incUserRef(); in create() [all …]
|
D | rs_hal.h | 303 bool (*init)(const Context *rsc, ScriptGroup *sg); 304 void (*setInput)(const Context *rsc, const ScriptGroup *sg, 306 void (*setOutput)(const Context *rsc, const ScriptGroup *sg, 308 void (*execute)(const Context *rsc, const ScriptGroup *sg); 309 void (*destroy)(const Context *rsc, const ScriptGroup *sg); 310 void (*updateCachedObject)(const Context *rsc, const ScriptGroup *sg, rs_script_group *obj);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptGroupThunker.java | 107 ScriptGroupThunker sg = new ScriptGroupThunker(0, mRS); in create() local 109 sg.mN = bN.create(); in create() 113 return sg; in create()
|
D | ScriptGroup.java | 477 ScriptGroup sg = new ScriptGroup(id, mRS); in create() local 478 sg.mOutputs = new IO[outputs.size()]; in create() 480 sg.mOutputs[ct] = outputs.get(ct); in create() 483 sg.mInputs = new IO[inputs.size()]; in create() 485 sg.mInputs[ct] = inputs.get(ct); in create() 488 return sg; in create()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptGroup.java | 451 ScriptGroup sg = new ScriptGroup(id, mRS); in create() local 452 sg.mOutputs = new IO[outputs.size()]; in create() 454 sg.mOutputs[ct] = outputs.get(ct); in create() 457 sg.mInputs = new IO[inputs.size()]; in create() 459 sg.mInputs[ct] = inputs.get(ct); in create() 462 return sg; in create()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScriptGroup.h | 33 CpuScriptGroupImpl(RsdCpuReferenceImpl *ctx, const ScriptGroup *sg);
|
D | rsCpuScriptGroup.cpp | 27 CpuScriptGroupImpl::CpuScriptGroupImpl(RsdCpuReferenceImpl *ctx, const ScriptGroup *sg) { in CpuScriptGroupImpl() argument 29 mSG = sg; in CpuScriptGroupImpl()
|
D | rsd_cpu.h | 133 virtual CpuScriptGroup * createScriptGroup(const ScriptGroup *sg) = 0;
|
D | rsCpuCore.h | 153 virtual CpuScriptGroup * createScriptGroup(const ScriptGroup *sg);
|
D | rsCpuCore.cpp | 686 RsdCpuReference::CpuScriptGroup * RsdCpuReferenceImpl::createScriptGroup(const ScriptGroup *sg) { in createScriptGroup() argument 687 CpuScriptGroupImpl *sgi = new CpuScriptGroupImpl(this, sg); in createScriptGroup()
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerFirGen.h | 680 SineGen sg = sgg.valueAdvance(); // current sine generator for "j" inner loop. 690 y = I0SqrRat(sqrbeta * (1.0 - sqr(x * xfrac)), yscale * sg.valueAdvance(), x); 693 sg.advance();
|