Home
last modified time | relevance | path

Searched refs:funcs (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/rs/driver/
DrsdIntrinsics.cpp48 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_Init() argument
50 funcs->setVarObj = SetVarObj; in rsdIntrinsic_Init()
51 funcs->setVar = SetVar; in rsdIntrinsic_Init()
52 funcs->destroy = Destroy; in rsdIntrinsic_Init()
56 return rsdIntrinsic_InitConvolve3x3(dc, script, funcs); in rsdIntrinsic_Init()
58 return rsdIntrinsic_InitConvolve5x5(dc, script, funcs); in rsdIntrinsic_Init()
60 return rsdIntrinsic_InitColorMatrix(dc, script, funcs); in rsdIntrinsic_Init()
62 return rsdIntrinsic_InitLUT(dc, script, funcs); in rsdIntrinsic_Init()
64 return rsdIntrinsic_InitBlur(dc, script, funcs); in rsdIntrinsic_Init()
66 return rsdIntrinsic_InitYuvToRGB(dc, script, funcs); in rsdIntrinsic_Init()
[all …]
DrsdIntrinsicLUT.cpp65 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitLUT() argument
68 funcs->setVarObj = LUT_Bind; in rsdIntrinsic_InitLUT()
69 funcs->root = LUT_uchar4; in rsdIntrinsic_InitLUT()
DrsdIntrinsicConvolve3x3.cpp123 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitConvolve3x3() argument
126 funcs->setVarObj = Convolve3x3_Bind; in rsdIntrinsic_InitConvolve3x3()
127 funcs->setVar = Convolve3x3_SetVar; in rsdIntrinsic_InitConvolve3x3()
128 funcs->root = Convolve3x3_uchar4; in rsdIntrinsic_InitConvolve3x3()
DrsdIntrinsicYuvToRGB.cpp130 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitYuvToRGB() argument
133 funcs->setVarObj = YuvToRGB_Bind; in rsdIntrinsic_InitYuvToRGB()
134 funcs->root = YuvToRGB_uchar4; in rsdIntrinsic_InitYuvToRGB()
DrsdIntrinsicBlur.cpp258 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitBlur() argument
263 funcs->setVarObj = Blur_Bind; in rsdIntrinsic_InitBlur()
264 funcs->setVar = Blur_SetVar; in rsdIntrinsic_InitBlur()
265 funcs->root = Blur_uchar4; in rsdIntrinsic_InitBlur()
266 funcs->destroy = Destroy; in rsdIntrinsic_InitBlur()
DrsdIntrinsicConvolve5x5.cpp152 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitConvolve5x5() argument
155 funcs->setVarObj = Convolve5x5_Bind; in rsdIntrinsic_InitConvolve5x5()
156 funcs->setVar = Convolve5x5_SetVar; in rsdIntrinsic_InitConvolve5x5()
157 funcs->root = Convolve5x5_uchar4; in rsdIntrinsic_InitConvolve5x5()
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdIntrinsics.cpp48 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_Init() argument
50 funcs->bind = Bind; in rsdIntrinsic_Init()
51 funcs->setVar = SetVar; in rsdIntrinsic_Init()
52 funcs->destroy = Destroy; in rsdIntrinsic_Init()
56 return rsdIntrinsic_InitConvolve3x3(dc, script, funcs); in rsdIntrinsic_Init()
58 return rsdIntrinsic_InitConvolve5x5(dc, script, funcs); in rsdIntrinsic_Init()
60 return rsdIntrinsic_InitColorMatrix(dc, script, funcs); in rsdIntrinsic_Init()
62 return rsdIntrinsic_InitLUT(dc, script, funcs); in rsdIntrinsic_Init()
64 return rsdIntrinsic_InitBlur(dc, script, funcs); in rsdIntrinsic_Init()
66 return rsdIntrinsic_InitYuvToRGB(dc, script, funcs); in rsdIntrinsic_Init()
[all …]
DrsdIntrinsicLUT.cpp68 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitLUT() argument
71 funcs->bind = LUT_Bind; in rsdIntrinsic_InitLUT()
72 funcs->root = LUT_uchar4; in rsdIntrinsic_InitLUT()
DrsdIntrinsicConvolve3x3.cpp118 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitConvolve3x3() argument
121 funcs->bind = Convolve3x3_Bind; in rsdIntrinsic_InitConvolve3x3()
122 funcs->setVar = Convolve3x3_SetVar; in rsdIntrinsic_InitConvolve3x3()
123 funcs->root = Convolve3x3_uchar4; in rsdIntrinsic_InitConvolve3x3()
DrsdIntrinsicYuvToRGB.cpp126 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitYuvToRGB() argument
129 funcs->bind = YuvToRGB_Bind; in rsdIntrinsic_InitYuvToRGB()
130 funcs->root = YuvToRGB_uchar4; in rsdIntrinsic_InitYuvToRGB()
DrsdIntrinsicConvolve5x5.cpp148 RsdIntriniscFuncs_t *funcs) { in rsdIntrinsic_InitConvolve5x5() argument
151 funcs->bind = Convolve5x5_Bind; in rsdIntrinsic_InitConvolve5x5()
152 funcs->setVar = Convolve5x5_SetVar; in rsdIntrinsic_InitConvolve5x5()
153 funcs->root = Convolve5x5_uchar4; in rsdIntrinsic_InitConvolve5x5()
/frameworks/rs/
DrsProgramVertex.cpp30 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader.string(), mUserShader.length(), in ProgramVertex()
35 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex()
49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setup()
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup()
64 rsc->mHal.funcs.vertex.setActive(rsc, this); in setup()
78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setProjectionMatrix()
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setProjectionMatrix()
96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setModelviewMatrix()
100 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setModelviewMatrix()
114 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setTextureMatrix()
[all …]
DrsAllocation.cpp45 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation()
69 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
73 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll()
87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data()
124 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read()
138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in read()
170 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
204 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes); in elementData()
291 uint8_t *dst = (uint8_t *)rsc->mHal.funcs.allocation.lock1D(rsc, this); in unpackVec3Allocation()
[all …]
DrsScriptC.cpp51 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC()
52 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC()
104 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript()
138 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); in run()
160 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); in runForEach()
173 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); in Invoke()
258 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
268 rsc->mHal.funcs.script.invokeInit(rsc, this); in runCompiler()
DrsScriptGroup.cpp27 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup()
28 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup()
233 if (rsc->mHal.funcs.scriptgroup.init) { in create()
234 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create()
244 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput()
245 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput()
258 if (rsc->mHal.funcs.scriptgroup.setOutput) { in setOutput()
259 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a); in setOutput()
269 if (rsc->mHal.funcs.scriptgroup.execute) { in execute()
270 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute()
DrsProgramFragment.cpp33 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader.string(), mUserShader.length(), in ProgramFragment()
38 mRSC->mHal.funcs.fragment.destroy(mRSC, this); in ~ProgramFragment()
56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); in setConstantColor()
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setConstantColor()
76 rsc->mHal.funcs.fragment.setActive(rsc, this); in setup()
DrsFBOCache.cpp40 rsc->mHal.funcs.framebuffer.init(rsc, this); in init()
44 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit()
90 rsc->mHal.funcs.framebuffer.setActive(rsc, this); in setup()
DrsProgramRaster.cpp30 rsc->mHal.funcs.raster.init(rsc, this); in ProgramRaster()
43 mRSC->mHal.funcs.raster.destroy(mRSC, this); in ~ProgramRaster()
53 rsc->mHal.funcs.raster.setActive(rsc, this); in setup()
DrsScript.cpp51 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot()
60 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar()
69 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar()
80 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj()
85 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in freeChildren()
DrsMesh.cpp64 mRSC->mHal.funcs.mesh.destroy(mRSC, this); in ~Mesh()
77 mRSC->mHal.funcs.mesh.init(mRSC, this); in init()
201 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len); in renderPrimitiveRange()
207 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]); in uploadAll()
213 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.indexBuffers[ct]); in uploadAll()
235 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D( in computeBBox()
265 rsc->mHal.funcs.allocation.unlock1D(rsc, posAlloc); in computeBBox()
DrsProgramStore.cpp54 mRSC->mHal.funcs.store.destroy(mRSC, this); in ~ProgramStore()
63 rsc->mHal.funcs.store.setActive(rsc, this); in setup()
74 mRSC->mHal.funcs.store.init(mRSC, this); in init()
/frameworks/support/renderscript/v8/rs_support/
DrsScriptC.cpp35 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC()
36 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC()
51 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript()
73 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); in run()
95 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); in runForEach()
108 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); in Invoke()
156 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
162 rsc->mHal.funcs.script.invokeInit(rsc, this); in runCompiler()
DrsAllocation.cpp42 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation()
64 mRSC->mHal.funcs.allocation.destroy(mRSC, this); in ~Allocation()
68 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll()
82 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data()
119 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read()
133 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in read()
165 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
199 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes); in elementData()
272 uint8_t *dst = (uint8_t *)rsc->mHal.funcs.allocation.lock1D(rsc, this); in unpackVec3Allocation()
[all …]
DrsScriptGroup.cpp27 if (mRSC->mHal.funcs.scriptgroup.destroy) { in ~ScriptGroup()
28 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this); in ~ScriptGroup()
233 if (rsc->mHal.funcs.scriptgroup.init) { in create()
234 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create()
244 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput()
245 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput()
258 if (rsc->mHal.funcs.scriptgroup.setOutput) { in setOutput()
259 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a); in setOutput()
269 if (rsc->mHal.funcs.scriptgroup.execute) { in execute()
270 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute()
DrsScript.cpp51 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot()
60 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar()
69 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar()
80 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj()
85 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in freeChildren()

12