Home
last modified time | relevance | path

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

/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/cpu_ref/
DrsCpuScript.cpp611 mtls->redp.outStride[0] = aout->getType()->getElementSizeBytes(); in reduceMtlsSetup()
618 mtls->redp.inStride[index] = ains[index]->getType()->getElementSizeBytes(); in reduceMtlsSetup()
732 mtls->fep.inStride[index] = ains[index]->getType()->getElementSizeBytes(); in forEachMtlsSetup()
738 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/driver/
DrsdAllocation.cpp306 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); in AllocationBuildPointerTable()
331 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable()
833 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D()
952 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D()
1045 size_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData2D_alloc_script()
1062 uint32_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData3D_alloc_script()