/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 28 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 …]
|
D | rsScriptGroup.cpp | 42 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 …]
|
D | rsFileA3D.cpp | 31 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()
|
D | rsScriptGroup.h | 52 ObjectBaseRef<Allocation> mAlloc; variable 74 ObjectBaseRef<Allocation> mAlloc; variable
|
D | rsGrallocConsumer.h | 57 Allocation **mAlloc; variable
|
D | rsFileA3D.h | 87 void * mAlloc; variable
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 48 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 …]
|
D | rsCpuIntrinsicConvolve3x3.cpp | 39 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 …]
|
D | rsCpuIntrinsicBlur.cpp | 45 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()
|
D | rsCpuScriptGroup.cpp | 146 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/ |
D | ProgramVertexFixedFunction.java | 212 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/ |
D | allocator.cpp | 114 : mAlloc(alloc) {} in AllocationDtor() 118 const std::shared_ptr<AllocationAshmem> mAlloc; member
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | allocator.cpp | 114 : mAlloc(alloc) {} in AllocationDtor() 118 const std::shared_ptr<AllocationAshmem> mAlloc; member
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 1055 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()
|
D | Codec2Buffer.h | 258 std::shared_ptr<C2Allocator> mAlloc; variable
|
D | Codec2Buffer.cpp | 598 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()
|
D | CCodecBuffers.h | 1046 std::function<sp<Codec2Buffer>()> mAlloc; variable
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 49546 Landroid/renderscript/ProgramVertexFixedFunction$Constants;->mAlloc:Landroid/renderscript/Allocatio…
|