Searched refs:mAlloc (Results 1 – 11 of 11) sorted by relevance
36 mAlloc = a; in GrallocConsumer()126 mAlloc->mHal.drvState.lod[0].mallocPtr = reinterpret_cast<uint8_t*>(bufferPointer); in lockNextBuffer()127 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() * in lockNextBuffer()128 mAlloc->mHal.state.type->getElementSizeBytes(); in lockNextBuffer()129 mAlloc->mHal.state.nativeBuffer = mAcquiredBuffer.mGraphicBuffer->getNativeBuffer(); in lockNextBuffer()130 mAlloc->mHal.state.timestamp = b.mTimestamp; in lockNextBuffer()132 assert(mAlloc->mHal.drvState.lod[0].dimX == in lockNextBuffer()134 assert(mAlloc->mHal.drvState.lod[0].dimY == in lockNextBuffer()144 if (mAlloc->mHal.state.yuv) { in lockNextBuffer()145 mAlloc->mHal.drvState.lod[1].mallocPtr = ycbcr.cb; in lockNextBuffer()[all …]
232 if (l->mAlloc.get()) { in create()239 l->mAlloc = alloc; in create()243 n->mOutputs[ct3]->mAlloc = alloc; in create()259 mInputs[ct]->mAlloc = a; in setInput()273 mOutputs[ct]->mAlloc = a; in setOutput()286 if (mInputs[i]->mAlloc.get() == NULL) { in validateInputAndOutput()293 if (mOutputs[i]->mAlloc.get() == NULL) { in validateInputAndOutput()325 ain = n->mInputs[ct3]->mAlloc.get(); in execute()331 ain = mInputs[ct3]->mAlloc.get(); in execute()338 aout = n->mOutputs[ct3]->mAlloc.get(); in execute()[all …]
35 mAlloc = NULL; 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()
43 ObjectBaseRef<Allocation> mAlloc; variable65 ObjectBaseRef<Allocation> mAlloc; variable
55 Allocation *mAlloc; variable
86 void * mAlloc; variable
46 ObjectBaseRef<const Allocation> mAlloc; member in android::renderscript::RsdCpuScriptIntrinsicResize66 mAlloc.set(static_cast<Allocation *>(data)); in setGlobalObj()183 if (!cp->mAlloc.get()) { in kernelU4()187 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()188 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4()189 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU4()190 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()223 if (!cp->mAlloc.get()) { in kernelU2()227 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()228 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()358 if (!cp->mAlloc.get()) { in kernelU1()362 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()363 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU1()465 mAlloc.clear(); in invokeFreeChildren()
133 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get()); in execute()146 ain = n->mInputs[ct3]->mAlloc.get(); in execute()153 ain = mSG->mInputs[ct3]->mAlloc.get(); in execute()162 aout = n->mOutputs[ct3]->mAlloc.get(); in execute()172 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()