Home
last modified time | relevance | path

Searched refs:mallocPtr (Results 1 – 23 of 23) sorted by relevance

/frameworks/rs/driver/
DrsdAllocation.cpp90 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in GetOffsetPtr()
175 if (!alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
189 if (alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
190 free(alloc->mHal.drvState.lod[0].mallocPtr); in UploadToTexture()
191 alloc->mHal.drvState.lod[0].mallocPtr = nullptr; in UploadToTexture()
243 alloc->mHal.drvState.lod[0].mallocPtr, GL_DYNAMIC_DRAW); in UploadToBufferObject()
274 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
279 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + in DeriveYUVLayout()
287 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
289 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + 1; in DeriveYUVLayout()
[all …]
DrsdMeshObj.cpp158 mAttribs[ct].ptr = (const uint8_t*)alloc->mHal.drvState.lod[0].mallocPtr; in renderPrimitiveRange()
179 idxAlloc->mHal.drvState.lod[0].mallocPtr); in renderPrimitiveRange()
DrsdShader.cpp538 const uint8_t *data = static_cast<const uint8_t *>(alloc->mHal.drvState.lod[0].mallocPtr); in setupUserConstants()
DrsdRuntimeStubs.cpp508 uint8_t *p = (uint8_t *)a->mHal.drvState.lod[0].mallocPtr; in IS_CLEAR_SET_OBJ()
/frameworks/rs/support/jni/
Dandroid_rscompat_usage_io_driver.cpp28 alloc->mHal.drvState.lod[0].mallocPtr = dst; in IoGetBuffer()
73 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rscAllocationDestroy()
78 free(alloc->mHal.drvState.lod[0].mallocPtr); in rscAllocationDestroy()
80 alloc->mHal.drvState.lod[0].mallocPtr = NULL; in rscAllocationDestroy()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp106 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernel()
126 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; in kernel()
130 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; in kernel()
142 v = ((uint8_t *)cp->alloc->mHal.drvState.lod[0].mallocPtr) + in kernel()
DrsCpuIntrinsicConvolve3x3.cpp188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
235 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
280 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
325 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
370 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
414 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
DrsCpuScript.cpp55 return alloc && alloc->mHal.drvState.lod[0].mallocPtr == nullptr; in allocationLODIsNull()
610 mtls->redp.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup()
617 mtls->redp.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup()
731 mtls->fep.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; in forEachMtlsSetup()
737 mtls->fep.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in forEachMtlsSetup()
930 ptr = data->mHal.drvState.lod[0].mallocPtr; in setGlobalBind()
969 if (a->mHal.drvState.lod[0].mallocPtr == ptr) { in getAllocationForPointer()
DrsCpuIntrinsicLUT.cpp60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; in kernel()
DrsCpuIntrinsicConvolve5x5.cpp351 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
411 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
460 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
509 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
558 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
607 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
DrsCpuIntrinsicResize.cpp330 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
408 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
486 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
565 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
616 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
668 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
DrsCpuScriptGroup.cpp69 mkinfo->inPtr[0] = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
94 (uint8_t *)sl->outs[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
DrsCpuIntrinsicBlur.cpp300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
371 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
DrsCpuIntrinsic3DLUT.cpp64 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; in kernel()
DrsCpuScriptGroup2.cpp57 const uint8_t* ptr = (uint8_t*)(a->mHal.drvState.lod[0].mallocPtr) + in groupRoot()
69 const uint8_t* ptr = (uint8_t *)(out->mHal.drvState.lod[0].mallocPtr) + in groupRoot()
DrsCpuIntrinsicHistogram.cpp149 unsigned int *o = (unsigned int *)mAllocOut->mHal.drvState.lod[0].mallocPtr; in postLaunch()
DrsCpuIntrinsicBLAS.cpp73 *A = ain[0]->mHal.drvState.lod[0].mallocPtr; in initABC()
77 *B = ain[1]->mHal.drvState.lod[0].mallocPtr; in initABC()
81 *C = ain[2]->mHal.drvState.lod[0].mallocPtr; in initABC()
/frameworks/rs/driver/runtime/
Drs_allocation.c68 uint8_t *p = (uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsOffset()
79 uint8_t *p = (uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsOffsetNs()
194 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
202 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
211 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
220 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
228 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
237 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
324 const uchar *pin = (const uchar *)alloc->mHal.drvState.lod[1].mallocPtr; in rsGetElementAtYuv_uchar_U()
338 const uchar *pin = (const uchar *)alloc->mHal.drvState.lod[2].mallocPtr; in rsGetElementAtYuv_uchar_V()
Drs_structs.h64 void * mallocPtr; member
Drs_sample.c272 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getBilinearSample1D()
322 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getBilinearSample2D()
351 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getNearestSample()
388 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getNearestSample()
/frameworks/rs/
DrsGrallocConsumer.cpp161 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = data; in lockNextBuffer()
220 mAlloc[idx]->mHal.drvState.lod[1].mallocPtr = uData; in lockNextBuffer()
221 mAlloc[idx]->mHal.drvState.lod[2].mallocPtr = vData; in lockNextBuffer()
DrsAllocation.h86 void * mallocPtr; member
199 uint8_t * p = (uint8_t *) mHal.drvState.lod[lod].mallocPtr;
DrsAllocation.cpp191 return mHal.drvState.lod[lod].mallocPtr; in getPointer()
363 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()