Searched refs:sg (Results 1 - 16 of 16) 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...]
H A DrsdScriptGroup.h23 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/
H A Dbwfilter.rs21 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/
H A Dbwfilter.rs21 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/
H A Dbwfilter.rs21 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/
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...]
H A Drs_hal.h303 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/
H A DScriptGroupThunker.java107 ScriptGroupThunker sg = new ScriptGroupThunker(0, mRS);
109 sg.mN = bN.create();
113 return sg;
H A DScriptGroup.java477 ScriptGroup sg = new ScriptGroup(id, mRS);
478 sg.mOutputs = new IO[outputs.size()];
480 sg.mOutputs[ct] = outputs.get(ct);
483 sg.mInputs = new IO[inputs.size()];
485 sg.mInputs[ct] = inputs.get(ct);
488 return sg;
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup.h33 CpuScriptGroupImpl(RsdCpuReferenceImpl *ctx, const ScriptGroup *sg);
H A DrsCpuCore.h153 virtual CpuScriptGroup * createScriptGroup(const ScriptGroup *sg);
H A Drsd_cpu.h133 virtual CpuScriptGroup * createScriptGroup(const ScriptGroup *sg) = 0;
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/base/rs/java/android/renderscript/
H A DScriptGroup.java451 ScriptGroup sg = new ScriptGroup(id, mRS);
452 sg.mOutputs = new IO[outputs.size()];
454 sg.mOutputs[ct] = outputs.get(ct);
457 sg.mInputs = new IO[inputs.size()];
459 sg.mInputs[ct] = inputs.get(ct);
462 return sg;
/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 174 milliseconds