Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdAllocation.cpp94 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in GetOffsetPtr()
179 if (!alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
193 if (alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
194 free(alloc->mHal.drvState.lod[0].mallocPtr); in UploadToTexture()
195 alloc->mHal.drvState.lod[0].mallocPtr = nullptr; in UploadToTexture()
247 alloc->mHal.drvState.lod[0].mallocPtr, GL_DYNAMIC_DRAW); in UploadToBufferObject()
279 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
284 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + in DeriveYUVLayout()
292 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
294 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + 1; in DeriveYUVLayout()
[all …]
DrsdMeshObj.cpp154 mAttribs[ct].ptr = (const uint8_t*)alloc->mHal.drvState.lod[0].mallocPtr; in renderPrimitiveRange()
175 idxAlloc->mHal.drvState.lod[0].mallocPtr); in renderPrimitiveRange()
DrsdShader.cpp534 const uint8_t *data = static_cast<const uint8_t *>(alloc->mHal.drvState.lod[0].mallocPtr); in setupUserConstants()
DrsdRuntimeStubs.cpp491 uint8_t *p = (uint8_t *)a->mHal.drvState.lod[0].mallocPtr; in IS_CLEAR_SET_OBJ()
/frameworks/support/v8/renderscript/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/
DrsGrallocConsumer.cpp147 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = reinterpret_cast<uint8_t*>(bufferPointer); in lockNextBuffer()
186 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = ycbcr.y; in lockNextBuffer()
187 mAlloc[idx]->mHal.drvState.lod[1].mallocPtr = ycbcr.cb; in lockNextBuffer()
188 mAlloc[idx]->mHal.drvState.lod[2].mallocPtr = ycbcr.cr; in lockNextBuffer()
214 uint8_t *yPtr = (uint8_t *)mAlloc[idx]->mHal.drvState.lod[0].mallocPtr; in lockNextBuffer()
218 mAlloc[idx]->mHal.drvState.lod[1].mallocPtr = cbPtr; in lockNextBuffer()
219 mAlloc[idx]->mHal.drvState.lod[2].mallocPtr = crPtr; in lockNextBuffer()
DrsAllocation.h90 void * mallocPtr; member
203 uint8_t * p = (uint8_t *) mHal.drvState.lod[lod].mallocPtr;
DrsAllocation.cpp189 return mHal.drvState.lod[lod].mallocPtr; in getPointer()
362 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp112 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernel()
132 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; in kernel()
136 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; in kernel()
148 v = ((uint8_t *)cp->alloc->mHal.drvState.lod[0].mallocPtr) + in kernel()
DrsCpuScript.cpp56 return alloc && alloc->mHal.drvState.lod[0].mallocPtr == nullptr; in allocationLODIsNull()
613 mtls->redp.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup()
620 mtls->redp.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup()
722 mtls->fep.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; in forEachMtlsSetup()
728 mtls->fep.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in forEachMtlsSetup()
921 ptr = data->mHal.drvState.lod[0].mallocPtr; in setGlobalBind()
960 if (a->mHal.drvState.lod[0].mallocPtr == ptr) { in getAllocationForPointer()
DrsCpuIntrinsicConvolve3x3.cpp195 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
242 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
287 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
332 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
377 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
421 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
DrsCpuIntrinsicResize.cpp322 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
389 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
456 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
523 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
563 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
603 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
DrsCpuIntrinsicConvolve5x5.cpp357 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
417 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
466 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
515 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
564 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
613 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
DrsCpuIntrinsicLUT.cpp66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; in kernel()
DrsCpuScriptGroup.cpp67 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()
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()
DrsCpuIntrinsicBlur.cpp292 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
363 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
DrsCpuIntrinsic3DLUT.cpp71 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; in kernel()
DrsCpuIntrinsicHistogram.cpp155 unsigned int *o = (unsigned int *)mAllocOut->mHal.drvState.lod[0].mallocPtr; in postLaunch()
DrsCpuIntrinsicBLAS.cpp80 *A = ain[0]->mHal.drvState.lod[0].mallocPtr; in initABC()
84 *B = ain[1]->mHal.drvState.lod[0].mallocPtr; in initABC()
88 *C = ain[2]->mHal.drvState.lod[0].mallocPtr; in initABC()
/frameworks/rs/driver/runtime/
Drs_allocation.c113 uint8_t *p = (uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsOffset()
128 uint8_t *p = (uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsOffsetNs()
256 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr;
264 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
273 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
282 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
290 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
299 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
387 const uchar *pin = (const uchar *)alloc->mHal.drvState.lod[1].mallocPtr; in rsGetElementAtYuv_uchar_U()
401 const uchar *pin = (const uchar *)alloc->mHal.drvState.lod[2].mallocPtr; in rsGetElementAtYuv_uchar_V()
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()
426 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in sample_LOD_LinearPixel()
472 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in sample_LOD_LinearPixel()
Drs_structs.h64 void * mallocPtr; member