Home
last modified time | relevance | path

Searched refs:getElementSizeBytes (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/rsov/driver/
DrsovAllocation.cpp91 alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); in AllocationBuildPointerTable()
117 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable()
323 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsovAllocationData1D()
421 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsovAllocationRead1D()
506 size_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsovAllocationData2D_alloc_script()
521 uint32_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsovAllocationData3D_alloc_script()
/frameworks/rs/cpu_ref/
DrsCpuScript.cpp600 mtls->redp.outStride[0] = aout->getType()->getElementSizeBytes(); in reduceMtlsSetup()
607 mtls->redp.inStride[index] = ains[index]->getType()->getElementSizeBytes(); in reduceMtlsSetup()
721 mtls->fep.inStride[index] = ains[index]->getType()->getElementSizeBytes(); in forEachMtlsSetup()
727 mtls->fep.outStride[0] = aout->getType()->getElementSizeBytes(); in forEachMtlsSetup()
DrsCpuCore.cpp878 if ((mtls->aout[0] != nullptr) && mtls->aout[0]->getType()->getElementSizeBytes()) { in launchForEach()
879 s2 = targetByteChunk / mtls->aout[0]->getType()->getElementSizeBytes(); in launchForEach()
881 s2 = targetByteChunk / mtls->ains[0]->getType()->getElementSizeBytes(); in launchForEach()
/frameworks/rs/
DrsAllocation.cpp149 mHal.state.elementSizeBytes = type->getElementSizeBytes(); in updateCache()
196 const size_t eSize = mHal.state.type->getElementSizeBytes(); in data()
227 const size_t eSize = mHal.state.type->getElementSizeBytes(); in read()
501 uint32_t count = dataSize / type->getElementSizeBytes(); in createFromStream()
801 uint32_t strideBytes = faceSize * 6 * t->getElementSizeBytes(); in rsi_AllocationCubeCreateFromBitmap()
802 uint32_t copySize = faceSize * t->getElementSizeBytes(); in rsi_AllocationCubeCreateFromBitmap()
DrsType.h69 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes() function
DrsAllocation.h200 p += x * getType()->getElementSizeBytes();
/frameworks/rs/driver/
DrsdAllocation.cpp303 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); in AllocationBuildPointerTable()
328 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable()
821 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D()
940 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D()
1033 size_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData2D_alloc_script()
1050 uint32_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData3D_alloc_script()