Home
last modified time | relevance | path

Searched refs:getSizeBytes (Results 1 – 11 of 11) sorted by relevance

/frameworks/rs/cpp/
DAllocation.cpp207 … count, data, count * mType->getElement()->getSizeBytes())); in copy1DRangeFrom()
222 … count, data, count * mType->getElement()->getSizeBytes())); in copy1DRangeTo()
258 … w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
259 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom()
276 w * h * mType->getElement()->getSizeBytes(), in copy2DRangeTo()
277 w * mType->getElement()->getSizeBytes())); in copy2DRangeTo()
285 … w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedFrom()
297 … w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedTo()
320 w * h * d * mType->getElement()->getSizeBytes(), in copy3DRangeFrom()
321 w * mType->getElement()->getSizeBytes())); in copy3DRangeFrom()
DrsCppStructs.h657 size_t getSizeBytes() const { in getSizeBytes() function
1284 size_t getSizeBytes() const { in getSizeBytes() function
1285 return mElementCount * mElement->getSizeBytes(); in getSizeBytes()
/frameworks/rs/
DrsType.h64 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
65 size_t getPackedSizeBytes() const {return mCellCount * mElement->getSizeBytes();} in getPackedSizeBytes()
DrsElement.cpp97 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes()); in dumpLOGV()
182 mHal.state.elementSizeBytes = getSizeBytes(); in compute()
225 mHal.state.elementSizeBytes = getSizeBytes(); in compute()
364 p2 += mFields[i].e->getSizeBytes(); in incRefs()
386 p2 += mFields[i].e->getSizeBytes(); in decRefs()
DrsElement.h71 size_t getSizeBytes() const { in getSizeBytes() function
DrsType.cpp290 uint32_t stride = e->getSizeBytes(); in incRefs()
307 uint32_t stride = e->getSizeBytes(); in decRefs()
DrsAllocation.cpp207 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
237 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
283 uint32_t paddedBytes = elem->getSizeBytes(); in writePackedData()
337 uint32_t paddedBytes = getType()->getElement()->getSizeBytes(); in packVec3Allocation()
DrsMesh.cpp229 stride = bufferElem->getSizeBytes() / sizeof(float); in computeBBox()
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp747 const uint32_t eSize = e->getSizeBytes(); in ElementAt1D()
784 const uint32_t eSize = e->getSizeBytes(); in ElementAt2D()
828 const uint32_t eSize = e->getSizeBytes(); in ElementAt3D()
848 memcpy(tmp, ptr, e->getSizeBytes()); in SC_SetElementAt1D()
856 memcpy(tmp, ptr, e->getSizeBytes()); in SC_SetElementAt2D()
864 memcpy(tmp, ptr, e->getSizeBytes()); in SC_SetElementAt3D()
DrsdAllocation.cpp402 … if (((alloc->getType()->getDimX() * alloc->getType()->getElement()->getSizeBytes()) % 16) != 0) { in rsdAllocationInit()
/frameworks/rs/cpu_ref/
DrsCpuScript.cpp1198 size_t stride = elem->getSizeBytes(); in setGlobalVarWithElemDims()