Searched defs:sg (Results 1 - 5 of 5) sorted by relevance

/frameworks/rs/driver/
H A DrsdScriptGroup.cpp31 bool rsdScriptGroupInit(const Context *rsc, ScriptGroup *sg) { argument
34 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg);
35 return sg->mHal.drv != NULL;
38 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, argument
42 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, argument
46 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroup *sg) { argument
47 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg->mHal.drv;
51 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroup *sg) { argument
52 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg
56 rsdScriptGroupUpdateCachedObject(const Context *rsc, const ScriptGroup *sg, rs_script_group *obj) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup.cpp27 CpuScriptGroupImpl::CpuScriptGroupImpl(RsdCpuReferenceImpl *ctx, const ScriptGroup *sg) { argument
29 mSG = sg;
H A DrsCpuCore.cpp686 RsdCpuReference::CpuScriptGroup * RsdCpuReferenceImpl::createScriptGroup(const ScriptGroup *sg) { argument
687 CpuScriptGroupImpl *sgi = new CpuScriptGroupImpl(this, sg);
/frameworks/rs/
H A DrsScriptGroup.cpp208 ScriptGroup *sg = new ScriptGroup(rsc); local
210 sg->mKernels.reserve(kernelCount);
212 sg->mKernels.add(kernels[ct]);
215 sg->mLinks.reserve(linkCount);
222 sg->mLinks.add(l);
225 sg->calcOrder();
228 for (size_t ct=0; ct < sg->mNodes.size(); ct++) {
229 const Node *n = sg->mNodes[ct];
250 rsc->mHal.funcs.scriptgroup.init(rsc, sg);
252 sg
390 rsi_ScriptGroupSetInput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, RsAllocation alloc) argument
397 rsi_ScriptGroupSetOutput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, RsAllocation alloc) argument
404 rsi_ScriptGroupExecute(Context *rsc, RsScriptGroup sg) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirGen.h680 SineGen sg = sgg.valueAdvance(); // current sine generator for "j" inner loop. local
688 // sine generator: sg.valueAdvance() returns sin(ix*xstep);
689 // y = I0(beta * sqrt(1.0 - sqr(x * xfrac))) * yscale * sg.valueAdvance() / x;
690 y = I0SqrRat(sqrbeta * (1.0 - sqr(x * xfrac)), yscale * sg.valueAdvance(), x);
693 sg.advance();

Completed in 144 milliseconds