Home
last modified time | relevance | path

Searched refs:sg (Results 1 – 16 of 16) sorted by relevance

/frameworks/rs/driver/
DrsdScriptGroup.cpp31 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 …]
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/
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/
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/
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/
DrsScriptGroup.cpp208 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 …]
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/
DScriptGroupThunker.java107 ScriptGroupThunker sg = new ScriptGroupThunker(0, mRS); in create() local
109 sg.mN = bN.create(); in create()
113 return sg; in create()
DScriptGroup.java477 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/
DScriptGroup.java451 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/
DrsCpuScriptGroup.h33 CpuScriptGroupImpl(RsdCpuReferenceImpl *ctx, const ScriptGroup *sg);
DrsCpuScriptGroup.cpp27 CpuScriptGroupImpl::CpuScriptGroupImpl(RsdCpuReferenceImpl *ctx, const ScriptGroup *sg) { in CpuScriptGroupImpl() argument
29 mSG = sg; in CpuScriptGroupImpl()
Drsd_cpu.h133 virtual CpuScriptGroup * createScriptGroup(const ScriptGroup *sg) = 0;
DrsCpuCore.h153 virtual CpuScriptGroup * createScriptGroup(const ScriptGroup *sg);
DrsCpuCore.cpp686 RsdCpuReference::CpuScriptGroup * RsdCpuReferenceImpl::createScriptGroup(const ScriptGroup *sg) { in createScriptGroup() argument
687 CpuScriptGroupImpl *sgi = new CpuScriptGroupImpl(this, sg); in createScriptGroup()
/frameworks/av/services/audioflinger/
DAudioResamplerFirGen.h680 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();