Searched refs:mAlloc (Results 1 – 11 of 11) sorted by relevance
37 mAlloc = a; in GrallocConsumer()132 mAlloc->mHal.drvState.lod[0].mallocPtr = reinterpret_cast<uint8_t*>(bufferPointer); in lockNextBuffer()133 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() * in lockNextBuffer()134 mAlloc->mHal.state.type->getElementSizeBytes(); in lockNextBuffer()135 mAlloc->mHal.state.nativeBuffer = mAcquiredBuffer.mGraphicBuffer->getNativeBuffer(); in lockNextBuffer()136 mAlloc->mHal.state.timestamp = b.mTimestamp; in lockNextBuffer()138 assert(mAlloc->mHal.drvState.lod[0].dimX == in lockNextBuffer()140 assert(mAlloc->mHal.drvState.lod[0].dimY == in lockNextBuffer()150 if (mAlloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YCbCr_420_888) { in lockNextBuffer()151 mAlloc->mHal.drvState.lod[1].mallocPtr = ycbcr.cb; 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
55 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()466 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()