Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsAllocation.cpp56 mHal.state.elementSizeBytes = type->getElementSizeBytes(); in updateCache()
75 const uint32_t eSize = mHal.state.type->getElementSizeBytes(); in data()
245 uint32_t count = dataSize / type->getElementSizeBytes(); in createFromStream()
291 decRefs(getPtr(), mHal.state.type->getSizeBytes() / mHal.state.type->getElementSizeBytes(), 0); in freeChildrenUnlocked()
416 size_t s = t->getDimX() * t->getDimY() * t->getElementSizeBytes(); in rsi_AllocationCopyToBitmap()
504 memcpy(texAlloc->getPtr(), data, t->getDimX() * t->getDimY() * t->getElementSizeBytes()); in rsi_AllocationCreateFromBitmap()
529 uint32_t strideBytes = faceSize * 6 * t->getElementSizeBytes(); in rsi_AllocationCubeCreateFromBitmap()
530 uint32_t copySize = faceSize * t->getElementSizeBytes(); in rsi_AllocationCubeCreateFromBitmap()
DrsAdapter.cpp51 count *= mAllocation.get()->getType()->getElementSizeBytes(); in subData()
163 uint32_t eSize = mAllocation.get()->getType()->getElementSizeBytes(); in subData()
DrsType.h34 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes() function
/frameworks/base/libs/rs/driver/
DrsdBcc.cpp369 mtls.eStrideIn = ain->getType()->getElementSizeBytes(); in rsdScriptInvokeForEach()
376 mtls.eStrideOut = aout->getType()->getElementSizeBytes(); in rsdScriptInvokeForEach()
DrsdAllocation.cpp378 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D()
457 uint32_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData2D_alloc_script()