Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdAllocation.cpp89 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in GetOffsetPtr()
174 if (!alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
188 if (alloc->mHal.drvState.lod[0].mallocPtr) { in UploadToTexture()
189 free(alloc->mHal.drvState.lod[0].mallocPtr); in UploadToTexture()
190 alloc->mHal.drvState.lod[0].mallocPtr = nullptr; in UploadToTexture()
242 alloc->mHal.drvState.lod[0].mallocPtr, GL_DYNAMIC_DRAW); in UploadToBufferObject()
273 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
278 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + in DeriveYUVLayout()
286 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
288 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/rsov/driver/
DrsovAllocation.cpp55 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
60 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + in DeriveYUVLayout()
68 state->lod[2].mallocPtr = ((uint8_t *)state->lod[0].mallocPtr) + in DeriveYUVLayout()
70 state->lod[1].mallocPtr = ((uint8_t *)state->lod[2].mallocPtr) + 1; in DeriveYUVLayout()
88 alloc->mHal.drvState.lod[0].mallocPtr = 0; in AllocationBuildPointerTable()
106 offsets[ct] = (size_t)alloc->mHal.drvState.lod[ct].mallocPtr; in AllocationBuildPointerTable()
128 alloc->mHal.drvState.lod[0].mallocPtr = ptr; in AllocationBuildPointerTable()
130 alloc->mHal.drvState.lod[lod].mallocPtr = ptr + offsets[lod]; in AllocationBuildPointerTable()
150 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in GetOffsetPtr()
347 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rsovAllocationData2D()
[all …]
DrsovRuntimeStubs.cpp480 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()
DrsCpuScript.cpp55 return alloc && alloc->mHal.drvState.lod[0].mallocPtr == nullptr; in allocationLODIsNull()
609 mtls->redp.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup()
616 mtls->redp.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup()
730 mtls->fep.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr; in forEachMtlsSetup()
736 mtls->fep.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in forEachMtlsSetup()
929 ptr = data->mHal.drvState.lod[0].mallocPtr; in setGlobalBind()
968 if (a->mHal.drvState.lod[0].mallocPtr == ptr) { in getAllocationForPointer()
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()
DrsCpuIntrinsicLUT.cpp60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; in kernel()
DrsCpuIntrinsicResize.cpp315 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
382 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
449 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
516 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
556 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
596 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
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()
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.cpp158 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = data; in lockNextBuffer()
217 mAlloc[idx]->mHal.drvState.lod[1].mallocPtr = uData; in lockNextBuffer()
218 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()