Home
last modified time | relevance | path

Searched refs:mAlloc (Results 1 – 18 of 18) sorted by relevance

/frameworks/rs/
DrsGrallocConsumer.cpp28 mAlloc = new Allocation *[numAlloc]; in GrallocConsumer()
32 mAlloc[0] = a; in GrallocConsumer()
70 delete[] mAlloc; in ~GrallocConsumer()
78 if (consumer->mAlloc[i] != nullptr) { in onFrameAvailable()
79 intptr_t ip = (intptr_t)(consumer->mAlloc[i]); in onFrameAvailable()
161 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = data; in lockNextBuffer()
162 mAlloc[idx]->mHal.drvState.lod[0].stride = rowstride; in lockNextBuffer()
163 mAlloc[idx]->mHal.state.nativeBuffer = hardwareBuffer; in lockNextBuffer()
164 mAlloc[idx]->mHal.state.timestamp = timestamp; in lockNextBuffer()
167 const int yWidth = mAlloc[idx]->mHal.drvState.lod[0].dimX; in lockNextBuffer()
[all …]
DrsScriptGroup.cpp42 input->mAlloc.clear(); in ~ScriptGroup()
46 output->mAlloc.clear(); in ~ScriptGroup()
231 if (l->mAlloc.get()) { in create()
236 l->mAlloc = alloc; in create()
240 n->mOutputs[ct3]->mAlloc = alloc; in create()
256 mInputs[ct]->mAlloc = a; in setInput()
270 mOutputs[ct]->mAlloc = a; in setOutput()
283 if (mInputs[i]->mAlloc.get() == nullptr) { in validateInputAndOutput()
290 if (mOutputs[i]->mAlloc.get() == nullptr) { in validateInputAndOutput()
320 ain = n->mInputs[ct3]->mAlloc.get(); in execute()
[all …]
DrsFileA3D.cpp31 mAlloc = nullptr; in FileA3D()
54 if (mAlloc) { in ~FileA3D()
55 free(mAlloc); in ~FileA3D()
186 mAlloc = malloc(mDataSize); in load()
187 if (!mAlloc) { in load()
190 mData = (uint8_t *)mAlloc; in load()
191 len = fread(mAlloc, 1, mDataSize, f); in load()
DrsScriptGroup.h52 ObjectBaseRef<Allocation> mAlloc; variable
74 ObjectBaseRef<Allocation> mAlloc; variable
DrsGrallocConsumer.h57 Allocation **mAlloc; variable
DrsFileA3D.h87 void * mAlloc; variable
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp48 ObjectBaseRef<const Allocation> mAlloc; member in android::renderscript::RsdCpuScriptIntrinsicResize
73 mAlloc.set(static_cast<Allocation *>(data)); in setGlobalObj()
326 if (!cp->mAlloc.get()) { in kernelU4()
330 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
331 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4()
332 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU4()
333 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()
404 if (!cp->mAlloc.get()) { in kernelU2()
408 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
409 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU2()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp39 ObjectBaseRef<const Allocation> mAlloc; member in android::renderscript::RsdCpuScriptIntrinsicConvolve3x3
64 mAlloc.set(static_cast<Allocation *>(data)); in setGlobalObj()
184 if (!cp->mAlloc.get()) { in kernelU4()
188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()
231 if (!cp->mAlloc.get()) { in kernelU2()
235 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
236 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU2()
276 if (!cp->mAlloc.get()) { in kernelU1()
280 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
[all …]
DrsCpuIntrinsicBlur.cpp45 ObjectBaseRef<Allocation> mAlloc; member in android::renderscript::RsdCpuScriptIntrinsicBlur
102 mAlloc.set(static_cast<Allocation *>(data)); in setGlobalObj()
296 if (!cp->mAlloc.get()) { in kernelU4()
300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()
367 if (!cp->mAlloc.get()) { in kernelU1()
371 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
372 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU1()
484 mAlloc.clear(); in invokeFreeChildren()
DrsCpuScriptGroup.cpp146 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get()); in execute()
159 ain = n->mInputs[ct3]->mAlloc.get(); in execute()
166 ain = mSG->mInputs[ct3]->mAlloc.get(); in execute()
175 aout = n->mOutputs[ct3]->mAlloc.get(); in execute()
185 aout = mSG->mOutputs[ct3]->mAlloc.get(); in execute()
/frameworks/base/rs/java/android/renderscript/
DProgramVertexFixedFunction.java212 Allocation mAlloc; field in ProgramVertexFixedFunction.Constants
214 return mAlloc; in getAllocation()
227 mAlloc = Allocation.createTyped(rs, constInputType); in Constants()
246 mAlloc.destroy(); in destroy()
247 mAlloc = null; in destroy()
258 mAlloc.setFromFieldPacker(0, mIOBuffer); in addToBuffer()
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.cpp114 : mAlloc(alloc) {} in AllocationDtor()
118 const std::shared_ptr<AllocationAshmem> mAlloc; member
/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.cpp114 : mAlloc(alloc) {} in AllocationDtor()
118 const std::shared_ptr<AllocationAshmem> mAlloc; member
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp1055 mAlloc = allocate; in initialize()
1143 mAlloc = [format = mFormat, size] { in realloc()
1152 mAlloc = [format = mFormat, in realloc()
1172 mImpl.realloc(mAlloc); in realloc()
1176 mImpl.grow(newSize, mAlloc); in grow()
DCodec2Buffer.h258 std::shared_ptr<C2Allocator> mAlloc; variable
DCodec2Buffer.cpp598 std::function<sp<ABuffer>(size_t)> mAlloc; member in android::__anonfe65cb1c0111::GraphicView2MediaImageConverter
675 mAlloc(alloc) { in GraphicMetadataBuffer()
716 c2_status_t err = mAlloc->priorGraphicAllocation(handle, &alloc); in asC2Buffer()
DCCodecBuffers.h1046 std::function<sp<Codec2Buffer>()> mAlloc; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49546 Landroid/renderscript/ProgramVertexFixedFunction$Constants;->mAlloc:Landroid/renderscript/Allocatio…