Searched refs:mAlloc (Results 1 – 11 of 11) sorted by relevance
36 mAlloc = new Allocation *[numAlloc]; in GrallocConsumer()40 mAlloc[0] = a; in GrallocConsumer()65 delete[] mAlloc; in ~GrallocConsumer()147 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = reinterpret_cast<uint8_t*>(bufferPointer); in lockNextBuffer()148 mAlloc[idx]->mHal.drvState.lod[0].stride = mSlots[slot].mGraphicBuffer->getStride() * in lockNextBuffer()149 mAlloc[idx]->mHal.state.type->getElementSizeBytes(); in lockNextBuffer()150 mAlloc[idx]->mHal.state.nativeBuffer = mAcquiredBuffer[idx].mGraphicBuffer->getNativeBuffer(); in lockNextBuffer()151 mAlloc[idx]->mHal.state.timestamp = b.mTimestamp; in lockNextBuffer()153 rsAssert(mAlloc[idx]->mHal.drvState.lod[0].dimX == in lockNextBuffer()155 rsAssert(mAlloc[idx]->mHal.drvState.lod[0].dimY == in lockNextBuffer()[all …]
42 input->mAlloc.clear(); in ~ScriptGroup()46 output->mAlloc.clear(); in ~ScriptGroup()249 if (l->mAlloc.get()) { in create()256 l->mAlloc = alloc; in create()260 n->mOutputs[ct3]->mAlloc = alloc; in create()276 mInputs[ct]->mAlloc = a; in setInput()290 mOutputs[ct]->mAlloc = a; in setOutput()303 if (mInputs[i]->mAlloc.get() == nullptr) { in validateInputAndOutput()310 if (mOutputs[i]->mAlloc.get() == nullptr) { in validateInputAndOutput()340 ain = n->mInputs[ct3]->mAlloc.get(); in execute()[all …]
35 mAlloc = nullptr; in FileA3D()59 if (mAlloc) { in ~FileA3D()60 free(mAlloc); in ~FileA3D()200 mAlloc = malloc(mDataSize); in load()201 if (!mAlloc) { in load()204 mData = (uint8_t *)mAlloc; in load()205 len = fread(mAlloc, 1, mDataSize, f); in load()
52 ObjectBaseRef<Allocation> mAlloc; variable74 ObjectBaseRef<Allocation> mAlloc; variable
61 Allocation **mAlloc; variable
86 void * mAlloc; variable
46 ObjectBaseRef<const Allocation> mAlloc; member in android::renderscript::RsdCpuScriptIntrinsicResize75 mAlloc.set(static_cast<Allocation *>(data)); in setGlobalObj()318 if (!cp->mAlloc.get()) { in kernelU4()322 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()323 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4()324 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU4()325 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()385 if (!cp->mAlloc.get()) { in kernelU2()389 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()390 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU2()[all …]
42 ObjectBaseRef<const Allocation> mAlloc; member in android::renderscript::RsdCpuScriptIntrinsicConvolve3x371 mAlloc.set(static_cast<Allocation *>(data)); in setGlobalObj()191 if (!cp->mAlloc.get()) { in kernelU4()195 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()196 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()238 if (!cp->mAlloc.get()) { in kernelU2()242 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()243 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU2()283 if (!cp->mAlloc.get()) { in kernelU1()287 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()[all …]
45 ObjectBaseRef<Allocation> mAlloc; member in android::renderscript::RsdCpuScriptIntrinsicBlur105 mAlloc.set(static_cast<Allocation *>(data)); in setGlobalObj()288 if (!cp->mAlloc.get()) { in kernelU4()292 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()293 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()359 if (!cp->mAlloc.get()) { in kernelU1()363 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()364 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU1()471 mAlloc.clear(); in invokeFreeChildren()
148 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get()); in execute()161 ain = n->mInputs[ct3]->mAlloc.get(); in execute()168 ain = mSG->mInputs[ct3]->mAlloc.get(); in execute()177 aout = n->mOutputs[ct3]->mAlloc.get(); in execute()187 aout = mSG->mOutputs[ct3]->mAlloc.get(); in execute()
206 Allocation mAlloc; field in ProgramVertexFixedFunction.Constants208 return mAlloc; in getAllocation()220 mAlloc = Allocation.createTyped(rs, constInputType); in Constants()239 mAlloc.destroy(); in destroy()240 mAlloc = null; in destroy()251 mAlloc.setFromFieldPacker(0, mIOBuffer); in addToBuffer()